Glenn Morris [Thu, 29 Jan 2009 03:41:12 +0000 (03:41 +0000)]
(rmail-summary-update-line): New function.
(rmail-summary-goto-msg): Return a value according to whether message
was found.
(rmail-summary-update-highlight): Give the overlay an 'rmail-summary
property. Use line-end-position.
Tassilo Horn [Wed, 28 Jan 2009 20:33:44 +0000 (20:33 +0000)]
(doc-view-mode): Don't use string-match and file
extension to choose fallback mode on empty/non-existing files but
let-bind auto-mode-alist and call normal-mode.
Eli Zaretskii [Wed, 28 Jan 2009 19:02:17 +0000 (19:02 +0000)]
(ls-lisp-classify): Propertize file name before concatenating the type
indicating character.
(ls-lisp-format): Don't propertize file-name if ls-lisp-classify already did.
Chong Yidong [Wed, 28 Jan 2009 03:56:18 +0000 (03:56 +0000)]
(todo-insert-item-here): Prevent insertion
of a new entry inside of an existing entry. Minor code cleanup.
(todo-add-category): Change the interactive spec. Signal an error
if the Todo file is non-empty but contains no category. Reject
category names that could induce bugs and confusion. Call
todo-mode if the Todo file is new and unsaved. Simplify handling
of local variables cookie. Properly display the newly added
category in Todo mode.
(todo-show): Call todo-initial-setup only if there is neither a
Todo file nor a corresponding unsaved buffer.
(todo-category-alist): Delete function.
(todo-completing-read): New function.
(todo-insert-item, todo-jump-to-category): Use it.
(todo-insert-item): Make the use of the prefix argument conform to
the doc string.
Chong Yidong [Wed, 28 Jan 2009 03:56:08 +0000 (03:56 +0000)]
* calendar/todo-mode.el (todo-insert-item-here): Prevent insertion
of a new entry inside of an existing entry. Minor code cleanup.
(todo-add-category): Change the interactive spec. Signal an error
if the Todo file is non-empty but contains no category. Reject
category names that could induce bugs and confusion. Call
todo-mode if the Todo file is new and unsaved. Simplify handling
of local variables cookie. Properly display the newly added
category in Todo mode.
(todo-show): Call todo-initial-setup only if there is neither a
Todo file nor a corresponding unsaved buffer.
(todo-category-alist): Delete function.
(todo-completing-read): New function.
(todo-insert-item, todo-jump-to-category): Use it.
(todo-insert-item): Make the use of the prefix argument conform to
the doc string.
Glenn Morris [Wed, 28 Jan 2009 02:50:41 +0000 (02:50 +0000)]
(rmail-expunge-and-save): Always show a message,
even when called from the summary. (Bug#2075)
(rmail-no-mail-p): New func, extracted from rmail-show-message-maybe.
(rmail-show-message-maybe): Use rmail-no-mail-p.
(rmail-show-message): If empty folder, do nothing. (Bug#2076)
Glenn Morris [Wed, 28 Jan 2009 02:49:40 +0000 (02:49 +0000)]
(rmail-message-recipients-p-1): Don't bother
starting from the beginning, since mail-fetch-field does not care.
(rmail-create-summary-line): Fix unseen handling. (Bug#2089)
(rmail-get-summary-status): New name for old rmail-get-summary-labels.
(rmail-get-summary-labels): New function. Returns labels rather than
status (edited, etc).
(rmail-create-summary): Insert an extra space after the status
flags, for consistency with old rmail, and with current
rmail-summary-font-lock-keywords.
Tassilo Horn [Tue, 27 Jan 2009 15:52:17 +0000 (15:52 +0000)]
(doc-view-mode): Enhance docstring and fallback to
fundamental-mode or ps-mode if the file is empty or doesn't exist
at all.
(doc-view-initiate-display): Better info message if doc-view-mode
cannot be used. (Missing utility or no png support/no X frame.)
* org.el (org-todo): Return correct state type even if the blocker
throws an error.
(org-modifier-cursor-error): Renamed from
`org-shiftcursor-error'.
(org-shiftmetaleft, org-shiftmetaright, org-shiftmetaup)
(org-shiftmetadown): Call `org-modifier-cursor-error'.
* org-agenda.el (org-agenda-todo): Call `org-todo' interactively,
to get real errors from the blocker hook.
* org.el (org-shiftselect-error, org-call-for-shift-select): New
functions.
(org-set-visibility-according-to-property): Turn off the setting
of `org-show-entry-below', to avoid overruling a FOLDED visibility
property.
* org.el (org-support-shift-select): New option.
(org-shiftup, org-shiftdown, org-shiftright, org-shiftleft)
(org-shiftcontrolright, org-shiftcontrolleft): Support for shift
selection outside contexts.
* org-list.el (org-at-item-bullet-p): New function.
Bill Wohler [Tue, 27 Jan 2009 06:36:54 +0000 (06:36 +0000)]
(mh-mm-merge-handles)
(mh-mm-set-handle-multipart-parameter, mh-mm-inline-text-vcard)
(mh-mml-minibuffer-read-disposition, mh-mm-save-part): Update with
code from Gnus 5.11 (closes SF #2235022).
Glenn Morris [Tue, 27 Jan 2009 03:43:26 +0000 (03:43 +0000)]
Remove leading `*' from defcustom docs.
Replace `first' and `rest' with `car' and `cdr' throughout.
(rsf-auto-delete-spam-bbdb-entries): Remove unused variable.
(rsf-scanning-messages-now): Doc fix.
(rsf-check-field): Rename from `check-field' and update callers.
(rmail-spam-filter): Fix bbdb/mail_auto_create_p oddness.
Use rmail-output rather than deleted rmail-output-to-rmail-file.
Glenn Morris [Tue, 27 Jan 2009 03:43:04 +0000 (03:43 +0000)]
Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms and hooks.
(rmail-enable-mime, rmail-insert-mime-resent-message-function)
(rmail-search-mime-message-function, rmail-search-mime-header-function)
(rmail-decode-mime-charset): Doc fix.
(rmail-search-message, rmail-resend): Check functions set before use.
Glenn Morris [Tue, 27 Jan 2009 03:42:31 +0000 (03:42 +0000)]
Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms.
(rmail-output-to-babyl-buffer): Rename from
rmail-output-to-r-mail-buffer and update caller.
(rmail-output): Doc fix.
Glenn Morris [Tue, 27 Jan 2009 03:42:08 +0000 (03:42 +0000)]
Remove leading `*' from defcustom docs.
Remove needless autoloads of many defcustoms.
(rmail-message-regexp-p-1): Check rmail-search-mime-header-function is set.
Jay Belanger [Tue, 27 Jan 2009 01:55:20 +0000 (01:55 +0000)]
(Embedded Mode, Algebraic-Style Calculations): Make Calc the subject
of sentences.
(Rearranging Formulas using Selections): Discuss new options for `j *'.
Jason Rumney [Mon, 26 Jan 2009 14:32:34 +0000 (14:32 +0000)]
(w32font_list_internal): Return quickly if registry is
unknown. Simplify final return.
(add_font_entity_to_list): Break complex logic down into more
manageable chunks. Move unknown registry check to
w32font_list_internal.
Carsten Dominik [Mon, 26 Jan 2009 08:40:19 +0000 (08:40 +0000)]
* org-export-latex.el (org-export-as-latex): Call
`org-export-latex-first-lines' with OPT-PLIST as a parameter.
(org-export-latex-first-lines): New parameter OPT-PLIST.