Stefan Monnier [Mon, 5 Dec 2005 17:08:00 +0000 (17:08 +0000)]
Remove unnecessary leading-star in docstrings.
(mail-yank-ignored-headers): Use regexp-opt.
(mail-mode-map): Move initialization into declaration.
(mail-sent-via): Remove unused shadowed var `to-line'.
(mail-mailer-swallows-blank-line): Use with-temp-buffer.
(mail-bury, sendmail-send-it, mail-do-fcc): Use with-current-buffer.
(mail-do-fcc): Use dolist and push.
(mail-mode-fill-paragraph): Pass the arg to fill-region-as-paragraph.
Kenichi Handa [Mon, 5 Dec 2005 07:39:01 +0000 (07:39 +0000)]
(set-language-info-internal): New
function.
(set-language-info): Call set-language-info-internal to update
language-info-alist. If LANG-ENV is the current one, call
set-language-environment to make INFO effective now.
(set-language-info-alist): Likewise.
(locale-language-names): With locale "en", use English
lang. env. but set the default codings to iso-8859-1.
Bill Wohler [Mon, 5 Dec 2005 01:31:04 +0000 (01:31 +0000)]
(mh-fetch-x-image-url): Change default from 'ask to
nil. Remove t option. Sync docstring with manual (closes SF #831278).
(mh-invisible-header-fields-internal): Remove X-Image-URL so that
users can see it, look it up in the manual's index, and discover
mh-fetch-x-image-url (closes SF #831278).
Bill Wohler [Mon, 5 Dec 2005 00:52:57 +0000 (00:52 +0000)]
* mh-customize.el (mh-new-messages-folders): Rename from
mh-index-new-messages-folders.
(mh-ticked-messages-folders): Rename from
mh-index-ticked-messages-folders.
Bill Wohler [Sun, 4 Dec 2005 22:34:49 +0000 (22:34 +0000)]
* mh-comp.el (mh-forward): Went over all uses of the word "RANGE" in
the docstrings and made usage consistent. Generally speaking,
"messages in range" and "range of messages" is redundant and just
"range" can be used in most circumstances. Also ensured that
mh-interactive-range was mentioned in all interactive functions that
use a range which describes the range argument for both users and
programmers.
Nick Roberts [Sun, 4 Dec 2005 09:12:07 +0000 (09:12 +0000)]
(gdb-use-inferior-io-buffer, gdb-speedbar-auto-raise):
Echo new state in minibuffer.
(gdb-var-create-handler, gdb-assembler-custom): Use search-forward
for plain strings.
(gdb-frames-mode): Remove redundant call to font-lock-mode.
(gdb-all-registers): Rename from toggle-gdb-all-registers. Create
registers buffer if necessary. Echo new state in minibuffer.
(gdb-registers-mode-map, gdb-registers-mode): Use gdb-all-registers.
Juri Linkov [Sun, 4 Dec 2005 02:42:29 +0000 (02:42 +0000)]
(completion-setup-function): Put completions-common-part
face on full completion string too (i.e. completion string without
completions-first-difference face).
Juri Linkov [Sun, 4 Dec 2005 02:39:24 +0000 (02:39 +0000)]
(customize-group, customize-group-other-window):
Filter out autoloaded options from the group completion list by
using heuristics that autoloaded groups don't have `custom-autoload'
property on their symbols (they have only `custom-loads').
Juri Linkov [Sun, 4 Dec 2005 02:36:13 +0000 (02:36 +0000)]
Put `doc-string-elt' property on
easy-mmode-define-global-mode and define-global-minor-mode.
(lisp-imenu-generic-expression): Add define-global-minor-mode.
Eli Zaretskii [Sat, 3 Dec 2005 11:52:23 +0000 (11:52 +0000)]
(print-help-return-message): If pop-up-frames is non-nil, set up
help-return-method to delete the help window and, possibly, its frame as well. Doc fix.
(help-return-method): Doc fix.
Jan Djärv [Fri, 2 Dec 2005 14:57:23 +0000 (14:57 +0000)]
* xterm.h: Add prototype for xg_set_icon_from_xpm_data.
* xfns.c (x_real_positions): int ign => unsigned int.
(xg_set_icon_from_xpm_data): Remove unused variable err.
(x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast
to remove compiler warning.
(compute_tip_xy): Put tip above pointer if it doesn't fit below.
Jan Djärv [Fri, 2 Dec 2005 14:55:14 +0000 (14:55 +0000)]
* xfns.c (x_real_positions): int ign => unsigned int.
(xg_set_icon_from_xpm_data): Remove unused variable err.
(x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast
to remove compiler warning.
(compute_tip_xy): Put tip above pointer if it doesn't fit below.
Eli Zaretskii [Fri, 2 Dec 2005 14:09:53 +0000 (14:09 +0000)]
(eval-when-compile): Remove unnecessary load of 'cl. Add fset of
allout-real-isearch-abort during compile to alleviate unnecessary
byte-compilation warnings.
(allout-mode-p): Move definition of this macro above all uses, or
byte compilation in barren emacs (eg, during emacs build) will
lack the definition.
(allout-mode): Move this variable above any uses, or byte
compilation will fail.
(allout-resolve-xref): Remove use of personal file-reference
function.
(allout-toggle-current-subtree-encryption): Do the current (ie,
visible containing) topic, rather than nearest around point.
Doc fix.
(allout-toggle-subtree-encryption): New function, workhorse that
works on nearest topic containing point.
(allout-encrypt-string): Signal requirement for newer version of pgg.
(allout-resumptions): Doc fix.
Eli Zaretskii [Fri, 2 Dec 2005 13:55:54 +0000 (13:55 +0000)]
(Fcompleting_read): If Vminibuffer_completing_file_name is
non-nil, use the new keymaps Vminibuffer_local_filename_completion_map
and Vminibuffer_local_must_match_filename_map keymaps.
(keys_of_minibuf): Bind SPC in the new file-name completion keymaps.
Eli Zaretskii [Fri, 2 Dec 2005 13:47:11 +0000 (13:47 +0000)]
(Vminibuffer_local_filename_completion_map)
(Vminibuffer_local_must_match_filename_map): New variables.
(syms_of_keymap): DEFVAR_LISP them, initialize them, and set their parent to
be Vminibuffer_local_completion_map and Vminibuffer_local_must_match_map,
respectively.
Eli Zaretskii [Fri, 2 Dec 2005 13:43:04 +0000 (13:43 +0000)]
(Vminibuffer_local_filename_completion_map): Declare a new keymap for
minibuffer completion in case of filenames.
(Vminibuffer_local_must_match_filename_map): Declare a new keymap for
minibuffer completion in case require-match is set.
Eli Zaretskii [Fri, 2 Dec 2005 13:17:38 +0000 (13:17 +0000)]
(flyspell-external-point-words): Consider a misspelling as found in the string
search if: (a) misspelling and found string lengths match, or (b) misspelling
is found as element in a boundary-chars separated longer string, or
(c) ispell-program-name is really ispell and misspelling is found as part of
a TeX string. After successful match move beginning of search region to end
of match. Warn about not found misspellings once the process is done.
(flyspell-large-region) Do not set ispell-parser to tex if in TeX mode.
Bill Wohler [Fri, 2 Dec 2005 05:54:33 +0000 (05:54 +0000)]
* mh-comp.el (mh-letter-mode): Use mh-highlight-citation-style instead
of mh-highlight-citation-p.
(mh-letter-toggle-header-field-display): "Ellipsed" isn't a word, I
think, so use "truncated".
* mh-customize.el (mh-folder, mh-folder-faces): Group's manual section
is Folders, not Organizing. Parent of mh-folder-faces is mh-folder,
not mh-show.
(mh-speed): Rename to mh-speedbar for consistency with mh-toolbar.
(mh-thread): New group that corresponds with manual's Threading
chapter.
(mh-letter-faces): Group's manual section is Editing Drafts, not
Sending Mail.
(mh-sortm-args): New customization variable that used to be a defvar.
(mh-index-new-messages-folders, mh-index-ticked-messages-folders):
Move from mh-index group to mh-folders group.
(mh-alias-local-users-prefix, mh-large-folder)
(mh-recursive-folders-flag, mh-before-quit-hook)
(mh-folder-mode-hook, mh-kill-folder-suppress-prompt-hook)
(mh-quit-hook, mh-refile-msg-hook): Move from mh-show group to
mh-folder group.
(mh-highlight-citation-style): Rename from mh-highlight-citation-p.
Sync docstrings with manual.
(mh-mhl-format-file): Rename from mhl-formfile. Sync docstrings with
manual.
(mh-show-threads-flag): Move from mh-show group to mh-thread group.
(mh-find-path-hook): Move from mh-show group to mh-e group.
(mh-folder-updated-hook): Add to mh-folder group.
(mh-forward-hook): Move from mh-folder to mh-sending-mail group.
(mh-unseen-updated-hook): Move from mh-show to mh-sequences group.
(mh-bury-show-buffer-flag, mh-clean-message-header-flag)
(mh-decode-mime-flag, mh-display-buttons-for-alternatives-flag)
(mh-display-buttons-for-inline-parts-flag)
(mh-do-not-confirm-flag, mh-fetch-x-image-url)
(mh-graphical-smileys-flag, mh-graphical-emphasis-flag)
(mh-invisible-header-fields-default, mh-invisible-header-fields)
(mh-lpr-command-format, mh-max-inline-image-height)
(mh-max-inline-image-width)
(mh-mime-save-parts-default-directory, mh-print-background-flag)
(mh-show-maximum-size, mh-show-use-goto-addr-flag)
(mh-show-use-xface-flag, mh-store-default-directory)
(mh-summary-height, mh-delete-msg-hook
(mh-show-hook, mh-show-mode-hook): Sync docstrings with manual.
* mh-e.el (mh-scan-format-mh, mh-scan-good-msg-regexp)
(mh-scan-deleted-msg-regexp, mh-scan-refiled-msg-regexp)
(mh-scan-cur-msg-number-regexp, mh-scan-subject-regexp): Use
non-fontification instead of non-fontifying.
(mh-header-display): Use mh-mhl-format-file instead of mhl-formfile.
Sync docstrings with manual.
(mh-next-undeleted-msg, mh-previous-undeleted-msg): Rename arg to
count. Sync docstrings with manual.
(mh-refile-or-write-again): Use output from mh-write-msg-to-file so
that message doesn't change when using this command. Sync docstrings
with manual.
(mh-page-msg, mh-previous-page): Rename arg to lines. Sync docstrings
with manual.
(mh-write-msg-to-file): Rename msg to message. Rename no-headers to
no-header. Sync docstrings with manual.
(mh-ps-print-map): Delete keybindings for deleted commands
mh-ps-print-toggle-mime and mh-ps-print-msg-show.
(mh-help-messages): Updated printing help.
(mh-delete-msg, mh-delete-msg-no-motion, mh-first-msg)
(mh-last-msg, mh-previous-unread-msg, mh-next-button)
(mh-prev-button, mh-folder-toggle-mime-part)
(mh-folder-inline-mime-part, mh-folder-save-mime-part)
(mh-next-unread-msg, mh-toggle-mime-buttons): Sync docstrings with
manual.
* mh-funcs.el (mh-sortm-args): Now a customization option and in
mh-customize.el.
(mh-pipe-msg): Rename include-headers to include-header. Sync
docstrings with manual.
(mh-burst-digest, mh-page-digest, mh-page-digest-backwards)
(mh-store-msg): Sync docstrings with manual.
* mh-mime.el (mh-mime-save-parts): Rename arg to prompt. Sync
docstrings with manual.
(mh-toggle-mh-decode-mime-flag): Use English in message, not Lisp.
Sync docstrings with manual.
(mh-mm-display-part, mh-mm-inline-message): Use
mh-highlight-citation-style instead of mh-highlight-citation-p.
(mh-press-button): Sync docstrings with manual.
(mh-display-with-external-viewer): Fix default output in minibuffer.
Sync docstrings with manual.
* mh-print.el: (mh-ps-print-mime, mh-ps-print-toggle-mime): Deleted.
(mh-ps-print-color-option): Incorporate docstring from
ps-print-color-p.
(mh-ps-spool-buffer): Remove unused code. Fix indent. Slimline
docstring.
(mh-ps-spool-msg): Slimline docstring. Rename from mh-ps-spool-a-msg.
Rewrote to use existing show buffer when available.
(mh-ps-print-range): Extract method from common code in
mh-ps-print-msg and mh-ps-print-msg-file.
(mh-ps-print-preprint): Clean docstring. Use filename "mh-%s".
(mh-ps-print-msg-show): Delete. Can use either mh-ps-print-msg-show or
mh-ps-print-msg-show to same effect with new code in mh-ps-spool-msg.
(mh-print-msg): Use mh-mhl-format-file instead of mhl-formfile. Sync
docstrings with manual.
(mh-ps-print-msg, mh-ps-print-msg-file)
(mh-ps-print-toggle-faces, mh-ps-print-toggle-color): Sync docstrings
with manual.
* mh-utils.el (mh-show-ps-print-msg-show)
(mh-show-ps-print-toggle-mime): Delete.
(mh-show-ps-print-map): Updated accordingly.
(mh-show-mode): Use mh-highlight-citation-style instead of
mh-highlight-citation-p.
(mh-show-xface, mh-display-msg): Use mh-mhl-format-file instead of
mhl-formfile.
(mh-show): Use mh-mhl-format-file instead of mhl-formfile. Sync
docstrings with manual.
(mh-show-font-lock-fontify-region, mh-modify, mh-goto-msg): Sync
docstrings with manual.
(url-history-track): Call url-history-setup-save-timer in :set function.
:type allows three alternatives.
(url-history-setup-save-timer): Test url-history-track.
Nick Roberts [Thu, 1 Dec 2005 02:17:15 +0000 (02:17 +0000)]
(gdb-ann3): Bind mouse-2 to gdb-mouse-until in the margin also.
(gdb-breakpoints-mode-map): Use D instead of d for gdb-delete-breakpoint.
(gdb-get-frame-number): Require a number to match on.
(gdb-threads-mode-map): Add follow-link binding.
Nick Roberts [Thu, 1 Dec 2005 02:05:17 +0000 (02:05 +0000)]
(GDB User Interface Layout): Describe how to kill associated buffers.
(Breakpoints Buffer): Use D instead of d for gdb-var-delete.
(Watch Expressions): Be more precise.
(Other GDB User Interface Buffers): Describe how to change a
register value.
Stefan Monnier [Wed, 30 Nov 2005 15:52:50 +0000 (15:52 +0000)]
(help-argument-name): Don't autoload.
It's useless and triggers a bug in cus-dep.el causing ldefs-boot
to be re-loaded when customizing the `help' group.
Stefan Monnier [Wed, 30 Nov 2005 15:52:37 +0000 (15:52 +0000)]
(gnus-delay-group): Don't autoload.
It's useless and could trigger a bug in cus-dep.el causing ldefs-boot
to be re-loaded when customizing the `gnus-delay' group.
Kim F. Storm [Tue, 29 Nov 2005 23:58:20 +0000 (23:58 +0000)]
(cua--rectangle-overlays): Make permanent-local.
(cua--rectangle-post-command): Cleanup overlays and deactivate mark
after revert-buffer (or anything else which kills all local variables).
Kim F. Storm [Tue, 29 Nov 2005 23:52:59 +0000 (23:52 +0000)]
(apropos-parse-pattern): Doc fix.
Set apropos-regexp directly, rather than expecting callers to do so.
(apropos-command, apropos, apropos-value, apropos-documentation):
Simplify calls to apropos-parse-pattern.