Kenichi Handa [Thu, 12 Feb 2009 06:06:29 +0000 (06:06 +0000)]
(MAX_AUTO_COMPOSITION_LOOKBACK): New macro.
(composition_gstring_width): Fix handling of LGLYPH_YOFF.
(autocmp_chars): Use fast_looking_at. Don't compose more
characters than MAX_COMPOSITION_COMPONENST.
(find_automatic_composition): While looking forward and backward,
check static composition. Fix where to stop looking forward.
(composition_adjust_point): Fix checking of static composition.
(Fcomposition_get_gstring): Pay attention to
MAX_COMPOSITION_COMPONENST.
Kenichi Handa [Thu, 12 Feb 2009 05:54:20 +0000 (05:54 +0000)]
(fill_gstring_glyph_string): Adjusted for the change of
<struct glyph>.u.cmp.to. Check if the glyph belongs to the same
composition.
(append_composite_glyph): Adjusted for the change of
<strcut glyph>.u.cmp.to.
Glenn Morris [Wed, 11 Feb 2009 04:02:16 +0000 (04:02 +0000)]
(calendar-window-list): Ignore invisible windows.
(calendar-set-mode-line): Fall back to a default width if we seem to be
called from daemon. (Bug#2199)
Kenichi Handa [Tue, 10 Feb 2009 06:03:44 +0000 (06:03 +0000)]
(describe-char-display): On terminal, if terminal
coding system is nil, assume us-ascii.
(describe-char): Don't show the composition informaiton if it is
trivial.
Glenn Morris [Tue, 10 Feb 2009 03:33:48 +0000 (03:33 +0000)]
Just require rmail.
(rmail-old-pruned): Add doc string.
(rmail-edit-current-message): Use rmail-msg-is-pruned.
(rmail-cease-edit): Don't mangle the leading From line.
Don't mark as edited if there were no changes. (Bug#2256)
Correctly restore header state.
Glenn Morris [Tue, 10 Feb 2009 03:33:27 +0000 (03:33 +0000)]
(rmail-automatic-folder-directives): Doc fix.
(rmail-current-message, rmail-total-messages)
(rmail-message-vector, rmail-deleted-vector): Add doc strings.
(rmail-duplicate-message): Doc fix.
(rmail-get-header-1, rmail-set-header-1, rmail-set-attribute-1):
New functions.
(rmail-get-header, rmail-set-header, rmail-set-attribute):
Use rmail-apply-in-message.
(rmail-message-attr-p): Use rmail-get-header, hence no longer requires
unswapped-ness.
(rmail-get-attr-names): Check for missing or corrupt attribute headers.
(rmail-auto-file): Set the filed attribute, rather than explicitly not
doing so. (Bug#2231)
Glenn Morris [Sun, 8 Feb 2009 01:52:01 +0000 (01:52 +0000)]
(diary-entry-marker, calendar-today-marker, calendar-holiday-marker)
(calendar-mark-visible-date): It doesn't make sense to check
font-lock-mode (see comments; reverts 2008-04-02 change). (Bug#2199)
Glenn Morris [Sat, 7 Feb 2009 22:41:04 +0000 (22:41 +0000)]
(rmail-msg-restore-non-pruned-header): Remove unneeded autoload of
function that no longer exists.
(rmail-toggle-header): Declare.
(message-forward-rmail-make-body): Handle mbox Rmail.
Roland Winkler [Sat, 7 Feb 2009 17:07:56 +0000 (17:07 +0000)]
(proced-after-send-signal-hook): Use defcustom.
(proced-header-line): Handle header lines that are shorter than
window-hscroll.
(proced-send-signal): Rebind split-width-threshold analogous to
dired-pop-to-buffer.
Eli Zaretskii [Sat, 7 Feb 2009 16:46:27 +0000 (16:46 +0000)]
(rmail-redecode-body): Don't encode/decode the message; instead, just rewrite
the X-Coding-System header with the new encoding, and let rmail-show-message
do the rest. Remove unused argument RAW. Fix doc string to be consistent
with the new implementation.
(rmail-show-message): Honor X-Coding-System header, if present, in preference
to Content-Type header.
Eli Zaretskii [Sat, 7 Feb 2009 15:16:57 +0000 (15:16 +0000)]
(rmail-cease-edit): Look for the message's encoding, and its
"content-transfer-encoding" and "content-type" headers only in the
headers' portion. (Bug#2017)
Eli Zaretskii [Sat, 7 Feb 2009 12:55:49 +0000 (12:55 +0000)]
(rmail-cease-edit): narrow-to-region before extracting mail message headers.
Use encode-coding-region instead of insert-buffer-substring for re-encoding
edited message. Add qp/b64 encoding only after text was encoded.