Martin Rudalics [Sun, 15 Jul 2007 08:23:02 +0000 (08:23 +0000)]
(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.
Miles Bader [Sun, 15 Jul 2007 01:50:59 +0000 (01:50 +0000)]
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.
Miles Bader [Sun, 15 Jul 2007 04:45:41 +0000 (04:45 +0000)]
Merge from gnus--rel--5.10
Patches applied:
* gnus--rel--5.10 (patch 235-236)
- Update from CVS
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.
Karl Fogel [Sun, 15 Jul 2007 01:34:15 +0000 (01:34 +0000)]
Revert recent bookmark keybinding changes, thus returning to using
three slots under C-x r. See this message and its thread for details:
http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00705.html.
* etc/NEWS: Revert 2007-07-13T23:20:21Z!kfogel@red-bean.com, which
documented bookmark keybinding changes that were later reverted.
* man/ChangeLog: Remove ChangeLog entry for accidentally uncommitted
changes to regs.texi that would have documented the keybinding
change reverted above.
(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.
Karl Fogel [Sat, 14 Jul 2007 18:06:09 +0000 (18:06 +0000)]
* regs.texi (Bookmarks): Adjust for recent keybinding changes in
bookmark.el, namely 2007-07-13T18:16:17Z!kfogel@red-bean.com and
2007-07-13T18:20:55Z!kfogel@red-bean.com.
Karl Fogel [Fri, 13 Jul 2007 18:16:17 +0000 (18:16 +0000)]
* bookmark.el: Don't define bookmark keys under the "C-xr" map;
instead, make "C-xp" a prefix for bookmark-map. Patch by Drew
Adams <drew.adams{_AT_}oracle.com>, mildly tweaked by me. See
http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00633.html.
Stefan Monnier [Thu, 12 Jul 2007 04:36:48 +0000 (04:36 +0000)]
(python-which-func-length-limit): New var.
(python-which-func): New function.
(python-current-defun): Add optional `length-limit' and try to fit
computed function name to that length.
(python-mode): Hook `python-which-func' up.
Stefan Monnier [Thu, 12 Jul 2007 03:10:45 +0000 (03:10 +0000)]
(vc-functions): Clear up the cache when reloading the file.
(vc-cvs-annotate-first-line-re): New const.
(vc-cvs-annotate-process-filter): New fun.
(vc-cvs-annotate-command): Use them and run the command asynchronously.
Stefan Monnier [Thu, 12 Jul 2007 01:51:52 +0000 (01:51 +0000)]
(eldoc-last-data): Revise documentation.
(eldoc-print-current-symbol-info): Adjust for changed helper
function signatures.
(eldoc-get-fnsym-args-string): Add `args' argument. Use new
`eldoc-highlight-function-argument'.
(eldoc-highlight-function-argument): New function.
(eldoc-get-var-docstring): Format documentation with
`font-lock-variable-name-face'.
(eldoc-docstring-format-sym-doc): Add `face' argument and apply it
where suited.
(eldoc-fnsym-in-current-sexp): Return a list with argument index.
(eldoc-beginning-of-sexp): Return number of skipped sexps.
Michael Albinus [Wed, 11 Jul 2007 19:38:21 +0000 (19:38 +0000)]
* progmodes/compile.el (compilation-start): `start-process' must
still be redefined when calling `start-process-shell-command'.
* progmodes/gud.el (gud-file-name): When `default-directory' is a
remote file name, prepend its remote part to the filename.
(gud-common-init): When `default-directory' is a remote file name,
make the filename relative to it.
Based on a patch by Nick Roberts <nickrob@snap.net.nz>.
Stefan Monnier [Wed, 11 Jul 2007 15:26:31 +0000 (15:26 +0000)]
* 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.
Stefan Monnier [Wed, 11 Jul 2007 15:22:11 +0000 (15:22 +0000)]
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.
Stefan Monnier [Tue, 10 Jul 2007 17:47:32 +0000 (17:47 +0000)]
Don't change the global map from the follow-mode-map defvar, but from the
toplevel. Use easy-menu to unify the Emacs and XEmacs code.
(turn-on-follow-mode, turn-off-follow-mode): Remove interactive spec
since `follow-mode' should be used instead for that.
Stefan Monnier [Tue, 10 Jul 2007 16:01:25 +0000 (16:01 +0000)]
(compilation-auto-jump-to-first-error,compilation-auto-jump-to-next): New vars.
(compilation-auto-jump): New function.
(compilation-error-properties): Use them to jump to first error.
(compilation-start): Set the var if requested.
Stefan Monnier [Tue, 10 Jul 2007 15:20:15 +0000 (15:20 +0000)]
(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.