Bill Wohler [Wed, 14 Dec 2005 18:47:38 +0000 (18:47 +0000)]
* mh-customize.el (mh-speed-flists-interval): Rename to
mh-speed-update-interval.
(mh-speed-run-flists-flag): Delete. Setting mh-speed-flists-interval
to 0 accomplishes the same thing.
* mh-speed.el (mh-folder-speedbar-buttons, mh-speed-flists): Use
mh-speed-update-interval instead of mh-speed-run-flists-flag.
(mh-speed-toggle, mh-speed-view, mh-speed-refresh): Sync docstrings
with manual.
Stefan Monnier [Wed, 14 Dec 2005 17:15:20 +0000 (17:15 +0000)]
(bibtex-expand-strings)
(bibtex-autokey-expand-string, bibtex-name-part)
(bibtex-entry-type-whitespace, bibtex-entry-type-str)
(bibtex-any-entry-maybe-empty-head, bibtex-string-type)
(bibtex-preamble-prefix, bibtex-string-empty-key): New variables.
(bibtex-entry-type, bibtex-entry-head): Match only valid entries.
(bibtex-entry-postfix, bibtex-known-entry-type-re)
(bibtex-valid-entry-re, bibtex-any-valid-entry-re)
(bibtex-valid-entry-whitespace-re, bibtex-empty-field-re)
(bibtex-field-name-for-parsing, bibtex-remove-delimiters-string)
(bibtex-beginning-of-last-entry): Remove.
(bibtex-parse-field-name): Use bibtex-field-name. Issue error
message if comma is missing but buffer is read-only.
(bibtex-parse-field-text): Handle whitespaces at the end of field
text. Return 3-element list with beginning and end of field text
and end of field.
(bibtex-end-of-text-in-field, bibtex-end-of-field): Change accordingly.
(bibtex-parse-field): Remove arg name. Use bibtex-field-name.
(bibtex-search-forward-field, bibtex-search-backward-field):
Search always delimited by limits of entry. Use more efficient
search algorithms.
(bibtex-name-in-field): Use bibtex-start-of-name-in-field and
bibtex-end-of-name-in-field.
(bibtex-text-in-field-bounds): Handle BibTeX strings when
extracting the content of a field.
(bibtex-text-in-field): Use search limits.
(bibtex-parse-string-prefix): Handle empty string keys based on
bibtex-string-empty-key.
(bibtex-parse-string): Fix docstring.
(bibtex-text-in-string): Use bibtex-text-in-field-bounds.
(bibtex-preamble-prefix, bibtex-strings): New functions.
(bibtex-skip-to-valid-entry): Include preceding whitespace in
BibTeX entries (consistent with other BibTeX functions).
(bibtex-map-entries): Use bibtex-skip-to-valid-entry.
(bibtex-search-entry): Fix docstring. Simplify.
(bibtex-flash-head, bibtex-complete-string-cleanup)
(bibtex-count-entries, bibtex-sort-buffer): Simplify.
(bibtex-beginning-of-first-entry): Use bibtex-skip-to-valid-entry.
(bibtex-parse-entry): New optional arg content.
(bibtex-format-entry, bibtex-autofill-entry, bibtex-url): Use it.
Use bibtex-text-in-field-bounds.
(bibtex-print-help-message): Handle BibTeX strings and preambles.
(bibtex-end-of-entry): Use bibtex-preamble-prefix and
bibtex-parse-string-postfix.
(bibtex-find-text-internal): New function.
(bibtex-remove-delimiters): Use it.
(bibtex-find-text): Use it. New optional arg help.
(bibtex-complete): Handle BibTeX string and preamble entries.
(bibtex-Preamble): Fix order of closing delimiters.
Juri Linkov [Wed, 14 Dec 2005 07:46:11 +0000 (07:46 +0000)]
(wdired-old-point): New internal variable.
(wdired-change-to-wdired-mode): Set it buffer-locally.
(wdired-abort-changes): Restore point after aborting changes.
Juri Linkov [Wed, 14 Dec 2005 07:44:20 +0000 (07:44 +0000)]
(describe-text-properties): Replace buffer name "*Help-2*" with "*Help*<2>".
(describe-char): Add functions print-help-return-message,
toggle-read-only. Use help-setup-xref with nil to not store
describe-char in help-xref-stack. Use help-make-xrefs to
make [back] button.
Bill Wohler [Tue, 13 Dec 2005 00:48:04 +0000 (00:48 +0000)]
(vc-svn-registered): Fix problem of visiting non-writable
Subversion-controlled files by saving window configuration before
calling vc-do-command. vc-do-command calls pop-to-buffer on error
which is unexpected during registration.
Stefan Monnier [Mon, 12 Dec 2005 16:50:39 +0000 (16:50 +0000)]
(describe-char): Rework last fix to solve the problem
is the same way it's solved for everything else in that function
(i.e. by extracting the info before setting up the *Help* buffer).
Kim F. Storm [Mon, 12 Dec 2005 14:23:06 +0000 (14:23 +0000)]
(version-regexp-alist): Allow space as separator before
non-numeric part, e.g. "1.0 alpha".
(version-to-list): Interpret .X.Y version as 0.X.Y version.
Carsten Dominik [Mon, 12 Dec 2005 11:47:25 +0000 (11:47 +0000)]
(org-agenda, org-timeline, org-todo): Implement Logging
and the keep-modes setting.
(org-get-category): Make sure a string is returned.
(org-log-done): New function.
(org-log-done, org-closed-string): New options.
Jan Djärv [Mon, 12 Dec 2005 08:08:56 +0000 (08:08 +0000)]
* gtkutil.c (SSDATA): New macro to remove compiler warnings.
(xg_get_image_for_pixmap, xg_create_frame_widgets)
(xg_get_file_with_chooser): Use SSDATA instead of SDATA.
Jan Djärv [Mon, 12 Dec 2005 08:08:23 +0000 (08:08 +0000)]
* gtkutil.c (SSDATA): New macro to remove compiler warnings.
(xg_get_image_for_pixmap, xg_create_frame_widgets)
(xg_get_file_with_chooser): Use SSDATA instead of SDATA.
* xmenu.c (menubar_selection_callback): Do nothing if the callback
is for an unselected radio menu item.
(inhibit-splash-screen): Make this the real name.
(inhibit-startup-message): Make this the alias.
(command-line): Find only simple.el, and use its directory
to fill in other preloaded files' names.
(command-line): Deactivate the mark if deactivate-mark is set.
Luc Teirlinck [Sun, 11 Dec 2005 18:16:20 +0000 (18:16 +0000)]
(customize-apropos): Avoid listing an option more than once under
different aliases. No longer list user options that are not defined
with defcustom (unless a prefix arg is given). Doc fix.
(customize-apropos-options): Doc fix.
Juri Linkov [Sun, 11 Dec 2005 11:09:33 +0000 (11:09 +0000)]
(frame-background-mode): Replace `choice-item' keywords
with `const' to not make [default] button. Change default value tag
from `default' to `automatic'. Doc fix.
(trailing-whitespace) <defface>: Change group `whitespace' to
`whitespace-faces'.
Juri Linkov [Sun, 11 Dec 2005 09:56:45 +0000 (09:56 +0000)]
(Completion Commands): Add mention of read-file-name
for filename completion keymaps.
(Reading File Names): Add mention of filename completion keymaps
for read-file-name and xref to `Completion Commands'.
Juri Linkov [Sun, 11 Dec 2005 09:50:53 +0000 (09:50 +0000)]
(display_completion_list_1): Call `minibuffer_completion_contents'
instead of using `nil' as second arg of `Fdisplay_completion_list'.
(keys_of_minibuf): Unbind SPC in Vminibuffer_local_filename_completion_map
(see also related change on 2005-12-06).
Nick Roberts [Sat, 10 Dec 2005 21:32:22 +0000 (21:32 +0000)]
(gud-tooltip-modes, gud-tooltip-display):
Add the gud groupname.
(gud-tooltip-mode): Add the tooltip groupname. Move in front
of other defcustoms with that groupname.
(gud-tooltip-echo-area): Add the gud groupname. Remove tag to
avoid conflict with tooltip-use-echo-area.
Romain Francoise [Sat, 10 Dec 2005 21:21:30 +0000 (21:21 +0000)]
Set VER to `22.1'.
(Basic editing): Explain how to use localized versions of the
Tutorial. Mention that `C-h r' displays the manual. Delete
obsolete WWW link to an Emacs 18 tutorial.
(Getting a printed manual): Point to the new locations of the
manuals on the GNU Web site.
(Emacs Lisp documentation): Explain that the Emacs Lisp manual is
available via Info (it was previously distributed separately).
(Installing Texinfo documentation): The latest version of Texinfo
is 4.8, not 4.0.
(Informational files for Emacs): COPYING is the GNU General Public
License, not the Emacs General Public License.
(Informational files for Emacs): Delete obsolete link to the
GNUinfo pages as they have been removed from the GNU Web site.
(New in Emacs 22): New node.
(Setting up a customization file): Say that most packages support
Customize nowadays.
(Colors on a TTY): Delete reference to instructions on how to
enable syntax highlighting, it is now enabled by default.
(Turning on abbrevs by default): Emacs now reads the abbrevs file
at startup automatically.
(Controlling case sensitivity): Mention `M-c' in isearch.
(Using an already running Emacs process): Emacs now creates the
socket in `/tmp/emacsUID'. Fix typos. Change default location of
gnuserv. As emacsclient can now run Lisp code as well, delete a
sentence praising gnuserv for that. Simplify description of how
the client/server operation works.
(Compiler error messages): Delete obsolete text (compile.el has
been rewritten).
(Indenting switch statements): Fix typo.
(Matching parentheses): Simplify setup instructions, mention the
menu bar item in the Options menu.
(Repeating a command as many times as possible): Mention `C-x e'.
(Going to a line by number): Mention new keymap and bindings
`M-g M-g', `M-g M-p' and `M-g M-n'.
(Turning on syntax highlighting): Now on by default. Simplify.
(Replacing highlighted text): Use `1', not `t'.
(Problems with very large files): The maximum size is now 256MB on
32-bit machines.
(^M in the shell buffer): Mention `comint-process-echoes'.
(Emacs for Apple computers): Emacs 22 has native support for Mac
OS X.
(Translating names to IP addresses): Delete node.
(Binding keys to commands): Fix typo.
(SPC no longer completes file names): New node.
(MIME with Emacs mail packages): Delete section about the Emacs
MIME FAQ (it's not reachable anymore).
Eli Zaretskii [Sat, 10 Dec 2005 12:35:04 +0000 (12:35 +0000)]
(align-regexp, align-highlight-rule): Use region-beginning and region-end
instead of point and mark, so that repetition (with `repeat-complex-command')
recomputes the region bounds.
Eli Zaretskii [Sat, 10 Dec 2005 11:40:04 +0000 (11:40 +0000)]
(lisp-complete-symbol): Regenerate the completion list, even after a partial
completion has been inserted in the current buffer. If there are more than 1
completion, redisplay the *Completions* buffer; if the completion is unique,
delete the *Completions* window.