1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 07:41:28 -08:00
Commit graph

22550 commits

Author SHA1 Message Date
Juanma Barranquero
819586b27d (Fsetq): Doc fix. 2007-07-18 11:52:52 +00:00
Juanma Barranquero
533eb34b77 (For, Fand): Doc fixes.
Reported by Johan Bockgård.
2007-07-18 11:48:47 +00:00
Juanma Barranquero
9ce1a9c4c5 (Ffind_operation_coding_system): Doc fix.
Reported by Johan Bockgård.
2007-07-18 11:47:54 +00:00
Jan Djärv
656de71a2f Declare x_ewmh_activate_frame 2007-07-18 10:47:04 +00:00
Jan Djärv
b7e33a4397 (x_ewmh_activate_frame): New function.
(XTframe_raise_lower): Move code to x_ewmh_activate_frame.
2007-07-18 10:46:38 +00:00
Jan Djärv
457a6b0a07 (Fx_focus_frame): Call x_ewmh_activate_frame 2007-07-18 10:46:25 +00:00
Martin Rudalics
71ec17e682 (Fdisplay_buffer): If largest or LRU window is the
only window, split it even if it is not eligible for splitting.
This restores the original behavior broken by the 2007-07-15
change.
2007-07-17 07:27:27 +00:00
Glenn Morris
857cc3fc2c (abbrev_check_chars): New function.
(Fdefine_global_abbrev, Fdefine_mode_abbrev): Call abbrev_check_chars
to check abbrev characters are word constituents.  Doc fix.
2007-07-17 07:04:48 +00:00
Glenn Morris
e981804271 *** empty log message *** 2007-07-17 07:04:22 +00:00
Stefan Monnier
e6fca84363 (Fstart_process, Fmake_network_process, read_process_output):
Fix up last changes.
2007-07-17 05:57:35 +00:00
Eli Zaretskii
b5d2b4abaa (clean): Don't delete *~. 2007-07-16 22:40:17 +00:00
Andreas Schwab
413a79ad66 (Fdisplay_buffer): Use NILP.
(Fset_window_scroll_bars): Likewise.
2007-07-16 13:22:13 +00:00
Martin Rudalics
f1de8c7741 (window_min_size_2): New function.
(window_min_size_1, size_window, Fdisplay_buffer)
(Fsplit_window, adjust_window_trailing_edge): Use it to avoid
windows without mode- or header-lines when window-min-height is
too small.
(size_window): Reset nodelete_p after testing it, following an
earlier note by Kim F. Storm.
(display_buffer): Do not set split_height_threshold to twice the
value of window_min_height to avoid changing the value of a
customizable variable.  Rather explicitly check whether the
height of the window that shall be splitted is at least as large
as split_height_threshold.
2007-07-15 08:23:02 +00:00
Miles Bader
6f8a87c027 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 55-58)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 235-236)

   - Update from CVS

2007-07-13  Dan Nicolaescu  <dann@ics.uci.edu>

   * lisp/replace.el (match): Use yellow1 instead of yellow.

   * lisp/progmodes/gdb-ui.el (breakpoint-enabled): Use red1 instead of
   red.

   * lisp/pcvs-info.el (cvs-unknown): Likewise.

2007-07-10  Richard M. Stallman  <rms@gnu.org>

   * lisp/emacs-lisp/lisp-mode.el (eval-defun):
   Explain special handling of `defface'.

2007-07-13  Katsumi Yamaoka  <yamaoka@jpl.org>

   * lisp/gnus/gnus-srvr.el (gnus-server-agent-face, gnus-server-opened-face)
   (gnus-server-closed-face, gnus-server-denied-face)
   (gnus-server-offline-face): Remove variable.
   (gnus-server-font-lock-keywords): Use faces that are not aliases.

   * lisp/gnus/mm-util.el (mm-decode-coding-string, mm-encode-coding-string)
   (mm-decode-coding-region, mm-encode-coding-region): Don't modify string
   if the coding-system argument is nil for XEmacs.

   * lisp/gnus/nnrss.el (nnrss-compatible-encoding-alist): Inherit the value of
   mm-charset-override-alist.

   * lisp/gnus/rfc2047.el: Don't require base64; require rfc2045 for the function
   rfc2045-encode-string.
   (rfc2047-encode-parameter): Use rfc2045-encode-string to quote or not
   to quote the parameter value.

2007-07-10  Richard M. Stallman  <rms@gnu.org>

   * lispref/display.texi (Defining Faces): Explain C-M-x feature for defface.

2007-07-11  Jason Rumney  <jasonr@gnu.org>

   * nt/gmake.defs (OLE32): New library to link.

   * nt/nmake.defs (OLE32): Likewise.

2007-07-11  Jason Rumney  <jasonr@gnu.org>

   * src/makefile.w32-in (LIBS): Include OLE32.

   * src/w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM.
   (w32_msg_pump) <WM_DESTROY>: Uninitialize COM.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-812
2007-07-15 01:50:59 +00:00
Jason Rumney
5e1ab61368 Don't undefine AF_INET6. 2007-07-14 23:04:56 +00:00
Richard M. Stallman
f01cbfdda1 (maybe_call_debugger): New function.
(find_handler_clause): Use maybe_call_debugger.
Call it when the handler says `debug'.
Eliminate DEBUGGER_VALUE_PTR.
(Fsignal): Eliminate debugger_value.
(Qdebug): New variable.
(syms_of_eval): Initialize it.
2007-07-14 18:43:58 +00:00
Juanma Barranquero
1bab435a3e *** empty log message *** 2007-07-14 11:04:31 +00:00
Juanma Barranquero
7254a30ca9 (Fsave_window_excursion): Doc fix. 2007-07-14 10:57:49 +00:00
Juanma Barranquero
f0005db530 (Fwith_output_to_temp_buffer): Doc fix. 2007-07-14 10:56:33 +00:00
Juanma Barranquero
d514369d90 (Ftrack_mouse): Doc fix. 2007-07-14 10:55:50 +00:00
Juanma Barranquero
5b4a1f50d3 (Fprogn): Doc fix. 2007-07-14 10:54:09 +00:00
Stefan Monnier
be436d23c7 (init_eval_once): Bump max_lisp_eval_depth to 400. 2007-07-13 01:06:36 +00:00
Jason Rumney
88a337ec3d Remove dashes from front of first line. 2007-07-12 10:43:46 +00:00
Stefan Monnier
60f0fb11dd (struct Lisp_Process): Turn slots infd, outfd, kill_without_query, pty_flag,
tick, update_tick, decoding_carryover, inherit_coding_system_flag,
filter_multibyte, adaptive_read_buffering, read_output_delay, and
read_output_skip from Lisp_Objects to ints.  Remove unused
encoding_carryover.
2007-07-12 06:36:57 +00:00
Richard M. Stallman
d8b180437f Include unistd.h only if HAVE_UNISTD_H. 2007-07-12 01:41:38 +00:00
Stefan Monnier
5bb7dfee82 * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer.
* fns.c (weak_hash_tables): Rename from Vweak_hash_tables and turned
from a Lisp_Object into a bare pointer.
(make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns):
Adjust the code correspondingly.
2007-07-11 15:26:31 +00:00
Stefan Monnier
8991fa8fd3 (emacs_blocked_free): Remove unused var `bytes_used_now'. 2007-07-11 15:23:37 +00:00
Stefan Monnier
1ec5dc773a Include unistd.h for ttyname, used in handle_one_term_event.
(term_show_mouse_face): Remove unused var `j'.
(handle_one_term_event): Remove unused vars `i' and `j'.
Don't cast return value of ttyname since it's not necessary.
2007-07-11 15:22:11 +00:00
Jason Rumney
d5781bb682 (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM.
(w32_msg_pump) <WM_DESTROY>: Uninitialize COM.
2007-07-11 14:43:07 +00:00
Jason Rumney
c1c5c06dc3 (LIBS): Include OLE32. 2007-07-11 14:41:44 +00:00
Stefan Monnier
5045e68e70 (mark_maybe_pointer): Enforce mult-of-8 alignment when using
USE_LSB_TAG.  Suggested by Dmitry Antipov <dmantipov@yandex.ru>.
2007-07-10 18:00:44 +00:00
Stefan Monnier
8071c00f47 (map_char_table): Use an array of int for `indices' rather than
an array of Lisp_Objects (which are only ever integers anyway).
2007-07-10 15:40:06 +00:00
Stefan Monnier
d47ecf8be4 (Ftranspose_regions): Use EMACS_INT for positions. 2007-07-10 15:23:36 +00:00
Stefan Monnier
fab84e3cfb (struct accessible_keymaps_data, struct where_is_internal_data): New structs.
(accessible_keymaps_1, where_is_internal_1): Use them to change
interface to adhere to the one used by map_keymap.
(Faccessible_keymaps, where_is_internal): Use map_keymap.
(accessible_keymaps_char_table, where_is_internal_2): Remove.
2007-07-10 15:20:15 +00:00
Stefan Monnier
a1be1ce88b (map_keymap_function_t): More informative prototype. 2007-07-10 15:13:33 +00:00
Richard M. Stallman
ef8878109c (Vinhibit_changing_match_data, search_regs_1): New vars.
(looking_at_1): Don't change search_regs and last_thing_searched
if `inhibit-changing-match-data' is non-nil.
(string_match_1, search_buffer, set_search_regs): Likewise.
(syms_of_search): Add Lisp level definition for
`inhibit-changing-match-data' and set it to nil.
(boyer_moore): If `inhibit-changing-match-data' is non-nil,
compute start and end of the match, instead of using values in search_regs.
2007-07-10 03:49:44 +00:00
Stefan Monnier
4d02fc2564 (Fcompleting_read): New value confirm-only' for require-match'. 2007-07-01 01:57:21 +00:00
Stefan Monnier
fe45b81f90 (Fdo_auto_save): Revert last patch installed unwillingly as
part of the 2007-06-27 change to syms_of_fileio.
2007-06-28 20:21:13 +00:00
YAMAMOTO Mitsuharu
de3f71d670 [USE_MAC_TSM] (mac_handle_text_input_event):
Check WINDOWP before using XWINDOW.
2007-06-28 10:10:29 +00:00
YAMAMOTO Mitsuharu
a56dd283e4 [USE_MAC_TSM] (mac_handle_text_input_event):
Check WINDOWP before using XWINDOW.  Consolidate return statements.
2007-06-28 10:09:00 +00:00
Richard M. Stallman
0cf9f5b5e9 (syms_of_fileio) <after-insert-file-functions>: Doc fix. 2007-06-27 23:30:08 +00:00
Juanma Barranquero
251db0f475 (syms_of_buffer) <selective-display>: Fix typo in docstring. 2007-06-27 11:40:26 +00:00
Juanma Barranquero
a66f285afd (syms_of_buffer) <selective-display>: Fix typo in docstring. 2007-06-27 11:36:59 +00:00
YAMAMOTO Mitsuharu
56f3136b14 [HAVE_GTK_AND_PTHREAD] Check this after including config.h.
(_aligned_blocks_mutex) [USE_PTHREAD]: New variable.
(LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros.
(_free_internal, memalign): Use them.
(_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]:
Initialize to PTHREAD_MUTEX_INITIALIZER.
(malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex.
(morecore_nolock): Rename from morecore.  All uses changed.
Use only nolock versions of internal allocation functions.
(_malloc_internal_nolock, _realloc_internal_nolock)
(_free_internal_nolock): New functions created from
_malloc_internal, _realloc_internal, and _free_internal.
(_malloc_internal, _realloc_internal, _free_internal): Use them.
Copy hook value to automatic variable before its use.
(memalign): Copy hook value to automatic variable before its use.
2007-06-26 03:29:25 +00:00
YAMAMOTO Mitsuharu
8d0d84d25d [HAVE_GTK_AND_PTHREAD] Check this after including config.h.
(_aligned_blocks_mutex) [USE_PTHREAD]: New variable.
(LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros.
(_free_internal, memalign): Use them.
(_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]:
Initialize to PTHREAD_MUTEX_INITIALIZER.
(malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex.
(morecore_nolock): Rename from morecore.  All uses changed.
Use only nolock versions of internal allocation functions.
(_malloc_internal_nolock, _realloc_internal_nolock)
(_free_internal_nolock): New functions created from
_malloc_internal, _realloc_internal, and _free_internal.
(_malloc_internal, _realloc_internal, _free_internal): Use them.
Copy hook value to automatic variable before its use.
(memalign): Copy hook value to automatic variable before its use.
2007-06-26 03:28:17 +00:00
Kenichi Handa
5a0bbd9ae9 (Ffind_operation_coding_system): Docstring improved.
(syms_of_coding): Docstring of `file-coding-system-alist' improved.
2007-06-26 00:26:46 +00:00
David Kastrup
9a51747bac * keymaps.texi (Active Keymaps): Document new POSITION argument of
`current-active-maps'.

* keymap.c (Fcurrent_active_maps): Add `position' argument.
(Fwhere_is_internal): Adjust call to `current-active-maps' to
cater for additional parameter.

* keymap.h: Adjust number of parameters to `current-active-maps'.

* doc.c (Fsubstitute_command_keys): Adjust call of
`current-active-maps'.
2007-06-25 20:53:48 +00:00
David Kastrup
e43054262b (Fcall_interactively): Make the parsing of interactive
specs somewhat more readable.
2007-06-25 19:48:37 +00:00
Juanma Barranquero
1e0d2d6027 *** empty log message *** 2007-06-24 22:53:02 +00:00
YAMAMOTO Mitsuharu
511a18d9e2 (x_draw_fringe_bitmap) [MAC_OSX]: Fix last change. 2007-06-23 01:53:51 +00:00