Update for mbox format.
Various small fixes, as well as the following.
(Out of Rmail): Node deleted.
(Rmail): Update menu.
(Rmail Files): Comment out set-rmail-inbox-list.
Document rmail-inbox-list instead.
(Rmail Output): Substantial changes since C-o is now
rmail-output-as-seen and o is rmail-output.
(Rmail Attributes): Delete `stored', add `retried'.
(Rmail Display): Editing headers works in all cases.
Glenn Morris [Tue, 17 Feb 2009 02:36:51 +0000 (02:36 +0000)]
(rmail-fields-not-to-output): Doc fix.
(rmail-delete-unwanted-fields): Ignore case. Use line-beg-pos.
(rmail-output, rmail-output-as-seen): Change the "from-gnus" argument to
"not-rmail", and make it work. Simplify.
Roland Winkler [Sat, 14 Feb 2009 16:58:04 +0000 (16:58 +0000)]
(bibtex-global-key-alist, bibtex-initialize): Exclude current buffer
if it does not use bibtex-mode.
(bibtex-parse-strings, bibtex-strings, bibtex-initialize)
(bibtex-sort-buffer, bibtex-search-entry)
(bibtex-prepare-new-entry, bibtex-clean-entry): Use functionp to
test whether bibtex-strings and bibtex-reference-keys have their
initial values.
Eli Zaretskii [Sat, 14 Feb 2009 14:12:15 +0000 (14:12 +0000)]
(User-Chosen Coding Systems): Document that select-safe-coding-system
suggests raw-text if there are raw bytes in the region.
(Explicit Encoding): Warn not to use `undecided' when encoding.
Eli Zaretskii [Sat, 14 Feb 2009 10:50:29 +0000 (10:50 +0000)]
(MAX_SCREEN_BUF): New macro.
(IT_write_glyphs): Make screen_buf[] always be MAX_SCREEN_BUF-long.
Encode the entire run of glyphs sharing the same face, instead of
doing that one glyph at a time (fixes a bug with displaying
double-size characters).
Eli Zaretskii [Sat, 14 Feb 2009 09:05:59 +0000 (09:05 +0000)]
(quail-input-string-to-events, quail-store-decode-map-key, quail-char-equal-p):
Use `with-no-warnings' around forms that refer to translation-table-for-input.
Glenn Morris [Sat, 14 Feb 2009 05:09:13 +0000 (05:09 +0000)]
(rmail-output-to-rmail-file): Remove autoload added in previous change.
(gnus-summary-save-in-mail): Use gnus-output-to-rmail rather than
rmail-output-to-rmail-file.
Handle editing of header fields.
(rmail-old-headers): New variable.
(rmail-edit-current-message): Set it, recording current headers.
(rmail-cease-edit): Compute new headers and diff against old ones.
Update the mbox buffer with the changes that were made.
(rmail-edit-headers-alist): New function.
(rmail-edit-diff-headers, rmail-edit-update-headers): New functions.
Glenn Morris [Sat, 14 Feb 2009 03:35:37 +0000 (03:35 +0000)]
(rmail-default-rmail-file): Remove declaration of deleted
variable (only used in gnus-util, which declares it anyway).
(rmail-output-to-rmail-file): Move autoload to gnus-art, the only place
that uses it.
(rmail-insert-rmail-file-header): Remove autoload of deleted function,
only used in gnus-util, which autoloads it itself.
(rmail-update-summary): Fix autoload.
Adrian Robert [Fri, 13 Feb 2009 13:30:35 +0000 (13:30 +0000)]
* nsfns.m (ns-read-file-name): BLOCK_INPUT while showing dialog. \n \n* nsmenu.m (pop_down_menu): Check popup_activated_flag. \n(ns_popup_dialog, EmacsDialogPanel-runDialogAt:): Let \npop_down_menu do the cleanup work as it is always called. (Bug#2154) \n \n* nsfont.m (nsfont_make_fontset_for_font): For now, don't try to \nset fontset font for 'mathematical-' sub-scripts. (Bug #2218)\n
Kenichi Handa [Fri, 13 Feb 2009 12:37:53 +0000 (12:37 +0000)]
(tit-process-header): Use
buffer-substring-no-properties instead of buffer-substring.
(tit-process-body): Likewise.
(tsang-quick-converter): Handle superfluous CR at eol.
(py-converter): Use buffer-substring-no-properties instead of
buffer-substring. Handle superfluous CR at eol.
(ziranma-converter): Likewise
(ctlau-converter): Likewise.
(miscdic-convert): Read a file without eol conversion.
Glenn Morris [Fri, 13 Feb 2009 03:51:16 +0000 (03:51 +0000)]
(rmail-summary-vector, rmail-mode-map): Add doc string.
(rmail-set-header-1): If VALUE is nil, remove the header altogether.
(rmail-set-header): Doc fix.
Juri Linkov [Thu, 12 Feb 2009 21:49:29 +0000 (21:49 +0000)]
(image-toggle-display): Let-bind `buffer-file-truename' to nil around the
call to `add-text-properties' to prevent directory time modification by
lock_file. Replace `set-buffer-modified-p' with
`restore-buffer-modified-p'. (Bug#2295)
Jason Rumney [Thu, 12 Feb 2009 14:39:17 +0000 (14:39 +0000)]
(x_display_pixel_height, x_display_pixel_width):
Release DC when finished. Use NULL window to refer to desktop.
(w32_term_init): Use NULL window to refer to desktop. (Bug#460)
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.