Stefan Monnier [Wed, 2 Nov 2005 17:33:28 +0000 (17:33 +0000)]
(perl-font-lock-special-syntactic-constructs):
Rename from perl-font-lock-syntactic-face-function.
Change the calling convention so it can be used as a font-lock MATCHER.
Do the parse-partial-sexp loop outselves.
(perl-font-lock-syntactic-keywords): Use it.
(perl-mode): Don't set font-lock-syntactic-face-function any more.
Nick Roberts [Wed, 2 Nov 2005 10:44:00 +0000 (10:44 +0000)]
(gdb-mouse-until): Make it work in the disassembly buffer too.
(gdb-exited): Remove overlay arrows when execution has finished.
(gdb-info-frames-custom, gdb-info-threads-custom)
(gdb-info-registers-custom): Don't add inappropriate text
properties if inferior is not active.
Kim F. Storm [Tue, 1 Nov 2005 22:32:24 +0000 (22:32 +0000)]
(update_window_fringes): Undo 2005-10-27 change.
Instead, rotate the bottom angle bitmap 180 degrees to indicate
that the bottom row does not end in a newline.
Juri Linkov [Tue, 1 Nov 2005 09:56:07 +0000 (09:56 +0000)]
(Info-fontify-node): Downcase node header keywords Node,
Prev, Next, Up before comparison.
(Info-history): Insert absolute directory name, and put invisible
property on it.
Juri Linkov [Tue, 1 Nov 2005 09:45:38 +0000 (09:45 +0000)]
(Info-file-supports-index-cookies): New variable.
(Info-find-node-2): Check makeinfo version for index cookie support.
(Info-index-nodes): Search for nodes with index cookies only when
Info-file-supports-index-cookies is t. Otherwise, search nodes
with "Index" in the node name.
(Info-index-node): Search index cookie in the current node only when
Info-file-supports-index-cookies is t. Otherwise, check the word
"Index" in the node name.
(Info-find-emacs-command-nodes): Remove code that searches nodes
with "Index" node name in the top menu.
Stefan Monnier [Tue, 1 Nov 2005 08:01:40 +0000 (08:01 +0000)]
(window_loop): For LRU and LARGEST, let the `mini' argument
determine whether to consider dedicated windows as well.
(Fget_lru_window, Fget_largest_window): Add `dedicated' argument.
(Fdisplay_buffer): Do consider dedicated windows in those cases where
we will split the window rather than reuse it.
Don't try to use windows on other displays.
Stefan Monnier [Tue, 1 Nov 2005 07:18:10 +0000 (07:18 +0000)]
(eval-expression-print-format): Use lisp-readable syntax
for octal and hexa output, and merge the char into the paren.
(kill-new): Use push.
(copy-to-buffer): Use with-current-buffer.
(completion-setup-function): Move code in loop to remove redundancy.
(minibuffer-local-must-match-map): Don't add bindings that duplicate
those inherited from minibuffer-local-completion-map.
John Wiegley [Tue, 1 Nov 2005 07:10:49 +0000 (07:10 +0000)]
(iswitchb-define-mode-map): Re-enabled the toggle-ignore keybinding
(C-a). The author said it had been disabled much earlier due to a
possible incompatibility, but after many months of usage I have
encountered no problems (and it is a rather useful option, especially
for switching to " *temp*").
John Wiegley [Tue, 1 Nov 2005 07:10:36 +0000 (07:10 +0000)]
(eudc-mab-query-internal): Added backend support for OS/X's
AddressBook, by calling out to the open source program "contacts"
(installable through Fink).
John Wiegley [Tue, 1 Nov 2005 07:07:05 +0000 (07:07 +0000)]
(eshell-do-ls): Added no-op support for --dired flag, to prevent
Eshell from using the system ls when `eshell-ls-insert-directory' is
in used.
(eshell-ls-insert-directory): Disable font-lock in directory buffer so
that Eshell's own fontification is seen. This broke recently due to
changes in font-lock, so this goes back to version 21 behavior.
John Wiegley [Tue, 1 Nov 2005 07:03:03 +0000 (07:03 +0000)]
(eshell-extended-glob): Expand the "." path before passing it down to
`eshell-glob-entries'. This is done because special file-handlers
will on trigger on ".", even if `default-directory' is special.
Stefan Monnier [Tue, 1 Nov 2005 06:09:32 +0000 (06:09 +0000)]
(savehist-mode) <defcustom>: Use custom-set-minor-mode if available.
(savehist-mode) <defun>: Run the minor mode hook, set the custom state
and emit a message if applicable.
Stefan Monnier [Tue, 1 Nov 2005 05:49:46 +0000 (05:49 +0000)]
Sync up to version 19.
(savehist-mode): New minor mode.
(savehist-file): Use ~/.emacs.d or ~/.xemacs if available.
(savehist-length): Remove (use history-length instead).
(savehist-file-modes): Rename from savehist-modes.
(savehist-save-hook, savehist-loaded): New vars.
(savehist-load): Use savehist-mode. Try to smooth up transition from
old format to new format.
(savehist-install): Allow savehist-autosave-interval to be nil.
(savehist-save): Run the new hook. Be more careful to only trim the
history variables.
(savehist-trim-history): New fun. Replaces savehist-process-for-saving.
(savehist-printable): Print into a buffer rather than char-by-char.
- Merge from emacs--cvs-trunk--0
- Update from CVS
2005-10-27 Reiner Steib <Reiner.Steib@gmx.de>
* lisp/gnus/flow-fill.el (fill-flowed-encode-tests): Restore trailing
whitespace removed in revision 7.8. Use concatenated string to
protect trailing whitespace.
2005-10-27 Jouni K Seppanen <jks@iki.fi> (tiny change)
* lisp/gnus/nnimap.el (nnimap-search-uids-not-since-is-evil): Add variable.
(nnimap-request-expire-articles): Use it to avoid sending 'UID
SEARCH UID ... NOT SINCE' queries, for inefficient servers like
Courier IMAP ("some version from 2004"). Mostly based on similar
code in the same function.
2005-10-26 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/gnus/message.el (message-display-completion-list): New function.
(message-expand-group): Use it; make sure the Completions buffer
is modifiable.
Bill Wohler [Mon, 31 Oct 2005 01:37:30 +0000 (01:37 +0000)]
(mh-compose-space-does-completion-flag, mh-signature-separator-flag)
(mh-interpret-number-as-range-flag, mh-adaptive-cmd-note-flag): Use
"Non-nil means" instead of "On means" to remain checkdoc clean and
consistent with Emacs. I raised this issue with the Emacs developers
and Stallman agrees that "On means" should be allowed in custom
docstrings but that this change requires thought and should wait until
after the Emacs 22 release.
Kim F. Storm [Sun, 30 Oct 2005 20:08:09 +0000 (20:08 +0000)]
(display_line): Restore it->current_x and call
extend_face_to_end_of_line when last glyph doesn't fit on line.
(set_glyph_string_background_width): Remove specific tests here
to see if face background should extend to end of line. Simplify.
Michael Albinus [Sun, 30 Oct 2005 19:58:40 +0000 (19:58 +0000)]
* net/tramp.el (tramp-chunksize): Escape parentheses in docstring
starting at beginning of line. Fontification is messed up when
`open-paren-in-column-0-is-defun-start' set to t. Reported
by John Paul Wallington <jpw@pobox.com>.
Luc Teirlinck [Sun, 30 Oct 2005 16:42:48 +0000 (16:42 +0000)]
(comint-send-input): Call `comint-update-fence' when
`comint-process-echoes' and `comint-prompt-read-only' are both
non-nil, to avoid leftover read-only newline.
(ispell-dictionary-alist-5): Add . as boundarychar for Polish.
(ispell-dictionary-alist-4): Add . as boundarychar for Italian.
(ispell-dictionary-alist-3): Add . and @ as boundarychars for French.
(timer-activate, timer-activate-when-idle): New arg REUSE-CELL.
(cancel-timer-internal): New function.
(timer-event-handler): Use cancel-timer-internal,
and pass the cell it returns to timer-activate...
(handle_fontified_prop): Do nothing if memory full.
(format_mode_line_unwind_data): New arg SAVE_PROPTRANS
controls whether to save and restore mode_line_proptrans_alist.
Callers changed.
(unwind_format_mode_line): Work with that feature.
(redisplay_internal): Don't call prepare_menu_bars if memory full.
(move_elt_to_front): New function.
(display_mode_element): Use move_elt_to_front.
Don't bother munging text props on a null string.
Delete obsolete elts from mode_line_proptrans_alist.
(decode_mode_spec): Test Vmemory_full, not spare_memory.
(syms_of_alloc) <memory-full>: Doc fix.
(Fmemory_full_p): Function deleted.
(syms_of_alloc): Don't defsubr it.
(memory_full_cons_threshold): New variable.
(spare_memory): Now a vector of 7 elts.
(buffer_memory_full): Don't set Vmemory_full here.
(xfree): Don't try to refill here.
(emacs_blocked_free): Record BYTES_USED in local var.
(memory_full): Now free all the slots in spare_memory.
(refill_memory_reserve): Allocate each slot in spare_memory.
(init_alloc_once): Call refill_memory_reserve.
(internal_lisp_condition_case): New function.
(Fcondition_case): Use internal_lisp_condition_case.
(Feval): Test Vmemory_full and memory_full_cons_threshold.
(Ffuncall): Likewise.