Eli Zaretskii [Sat, 31 Jan 2009 14:34:05 +0000 (14:34 +0000)]
(unrmail): Set coding-system of the old Rmail file to `raw-text-unix'.
Bind coding-system-for-write when writing out the converted message, and
make sure it uses Unix EOLs.
Eli Zaretskii [Sat, 31 Jan 2009 13:32:48 +0000 (13:32 +0000)]
(rmail-automatic-folder-directives, rmail): Doc fixes.
(rmail-swap-buffers): New function.
(rmail-change-major-mode-hook, rmail-swap-buffers-maybe, rmail-show-message):
Use rmail-swap-buffers.
(rmail-decode-region): If DESTINATION is a buffer, set the encoding of that
buffer, rather than the current buffer.
(rmail-show-message): Make error message about uuencoded mail more explicit.
(rmail-show-message-maybe): Simplify code. Doc fix.
(rmail-show-message): Doc fix.
Eli Zaretskii [Sat, 31 Jan 2009 09:32:45 +0000 (09:32 +0000)]
(rmail-convert-babyl-to-mbox): Set Rmail's buffer encoding to `raw-text-unix'.
(rmail-perm-variables): Set encoding of rmail-view-buffer to `undecided-unix'.
* org.el (org-enforce-todo-checkbox-dependencies): New option.
(org-block-todo-from-checkboxes): New function.
(org-todo): Make tripple prefix arg circumvent blocking.
Glenn Morris [Sat, 31 Jan 2009 02:51:18 +0000 (02:51 +0000)]
(rmail-msg-is-pruned): New (restored) function.
(rmail-toggle-header): Doc fix. Use rmail-msg-is-pruned.
(rmail-reply): Set up to yank from the decoded message rather than the
raw one. (Bug#2104).
Dan Nicolaescu [Fri, 30 Jan 2009 23:45:27 +0000 (23:45 +0000)]
* dispnew.c (window_change_signal): Don't try to get the size of a
suspended tty frame.
* term.c (Fresume_tty): Resize if the size has changed while the
tty was suspended.
Eli Zaretskii [Fri, 30 Jan 2009 14:37:32 +0000 (14:37 +0000)]
(rmail-convert-babyl-to-mbox): Bind coding-system-for-read to `raw-text', and
use insert-file-contents instead of insert-file-contents-literally.
Fixes bug #2019.
* org-timer.el (org-timer): Provide the timer feature.
* org.el (org-require-autoloaded-modules): Add a few more files to
the list of autoloaded modules.
* org-agenda.el (org-agenda-todo): Pass ARG to `org-todo'.
* org-exp.el (org-export-remove-or-extract-drawers): Only remove
drawers that are unprotected.
(org-export-html-format-image): Make sure inlined LaTeX fragment
images remain inlined.
* org.el (org-toggle-ordered-property): New function.
(org-mode-map): Add a key for `org-toggle-ordered-property'.
(org-org-menu): Add menu entries for TODO dependencies.
* org.el (org-default-properties): Add ORDERED to the default
properties, to get completion support for it.
* org-list.el (org-update-checkbox-count): Update more than one cookie.
* org.el (org-update-parent-todo-statistics): Update more than one
cookie.
Nick Roberts [Fri, 30 Jan 2009 08:16:26 +0000 (08:16 +0000)]
(vc-svn-dir-status): Correct logic for remote
connection.
(vc-svn-diff): Use old version number even when it is the working
revision. This is needed, e.g, in the vc-print-log buffer.
Chong Yidong [Thu, 29 Jan 2009 14:09:36 +0000 (14:09 +0000)]
(rmail-toggle-header): Determine current header
style using the buffer-local value of rmail-header-style in the
view buffer.
(rmail-show-message): Set a buffer-local value of
rmail-header-style in the view buffer.
Chong Yidong [Thu, 29 Jan 2009 14:09:23 +0000 (14:09 +0000)]
* mail/rmail.el (rmail-toggle-header): Determine current header
style using the buffer-local value of rmail-header-style in the
view buffer.
(rmail-show-message): Set a buffer-local value of
rmail-header-style in the view buffer.
Adrian Robert [Thu, 29 Jan 2009 10:38:16 +0000 (10:38 +0000)]
* nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define
under GNUstep.
(ns_query_color): New declaration.
* nsterm.m (ns_confirm_quit): New variable.
(ns_set_default_prefs, syms_of_nsterm, ns_term_init): Initialize it.
(EmacsApp-applicationShouldTerminate:): Use it.
(EmacsPrefsController): Let user set it.
(ns_query_color): New function.
(ns_defined_color): Use it.
(ns_initialize): Drop.
(ns_term_init): Add two lines from ns_initialize(), and set
input_interrupt_mode to nil.
* image.c (svg_load_image): Don't right-shift background RGB when
obtained from FRAME_BACKGROUND_PIXEL. Under HAVE_NS use ns_query_color.
Adrian Robert [Thu, 29 Jan 2009 10:36:22 +0000 (10:36 +0000)]
* nsterm.m (ns_confirm_quit): New variable.
(ns_set_default_prefs, syms_of_nsterm, ns_term_init): Initialize it.
(EmacsApp-applicationShouldTerminate:): Use it.
(EmacsPrefsController): Let user set it.
(ns_query_color): New function.
(ns_defined_color): Use it.
(ns_initialize): Drop.
(ns_term_init): Add two lines from ns_initialize(), and set
input_interrupt_mode to nil.
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.