Now on revision 106741. ------------------------------------------------------------ revno: 106741 [merge] committer: Kenichi Handa branch nick: trunk timestamp: Wed 2011-12-28 16:57:47 +0900 message: coding.c: (Fdefine_coding_system_internal): Make an utf-8 base coding-system ASCII compatible only when it does not produce BOM on encoding (Bug#10383). diff: === modified file 'src/ChangeLog' --- src/ChangeLog 2011-12-26 18:00:38 +0000 +++ src/ChangeLog 2011-12-28 07:55:49 +0000 @@ -1,3 +1,9 @@ +2011-12-28 Kenichi Handa + + * coding.c (Fdefine_coding_system_internal): Make an utf-8 base + coding-system ASCII compatible only when it does not produce BOM + on encoding (Bug#10383). + 2011-12-26 Jan Djärv * xmenu.c (x_menu_wait_for_event): Use xg_select for Gtk3 so menus === modified file 'src/coding.c' --- src/coding.c 2011-12-11 12:08:51 +0000 +++ src/coding.c 2011-12-28 07:55:49 +0000 @@ -9999,8 +9999,6 @@ { Lisp_Object bom; - CODING_ATTR_ASCII_COMPAT (attrs) = Qt; - if (nargs < coding_arg_utf8_max) goto short_args; @@ -10014,6 +10012,8 @@ CHECK_CODING_SYSTEM (val); } ASET (attrs, coding_attr_utf_bom, bom); + if (NILP (bom)) + CODING_ATTR_ASCII_COMPAT (attrs) = Qt; category = (CONSP (bom) ? coding_category_utf_8_auto : NILP (bom) ? coding_category_utf_8_nosig ------------------------------------------------------------ revno: 106740 committer: Paul Eggert branch nick: trunk timestamp: Tue 2011-12-27 22:59:21 -0800 message: doc: Use clearer notations for permissions. * doc/lispref/files.texi (File Attributes, Changing Files): Use a more-natural notation for octal numbers. * doc/misc/gnus.texi (Mail Source Customization, Mail Back End Variables): Use octal notation for file permissions, which are normally thought of in octal. (Mail Back End Variables): Use more-plausible modes in example. diff: === modified file 'doc/lispref/ChangeLog' --- doc/lispref/ChangeLog 2011-12-23 13:14:12 +0000 +++ doc/lispref/ChangeLog 2011-12-28 06:59:21 +0000 @@ -1,3 +1,8 @@ +2011-12-28 Paul Eggert + + * files.texi (File Attributes, Changing Files): + Use a more-natural notation for octal numbers. + 2011-12-23 Juanma Barranquero * variables.texi (Variables with Restricted Values): === modified file 'doc/lispref/files.texi' --- doc/lispref/files.texi 2011-11-13 07:48:23 +0000 +++ doc/lispref/files.texi 2011-12-28 06:59:21 +0000 @@ -1115,16 +1115,11 @@ @end group @group -(set-file-modes "~/junk/diffs" 438) +(set-file-modes "~/junk/diffs" #o666) @result{} nil @end group @group -(format "%o" 438) - @result{} "666" ; @r{Convert to octal.} -@end group - -@group % ls -l diffs -rw-rw-rw- 1 lewis 0 3063 Oct 30 16:00 diffs @end group @@ -1570,10 +1565,10 @@ The argument @var{mode} must be an integer. On most systems, only the low 9 bits of @var{mode} are meaningful. You can use the Lisp construct -for octal character codes to enter @var{mode}; for example, +for octal numbers to enter @var{mode}; for example, @example -(set-default-file-modes ?\644) +(set-default-file-modes #o644) @end example Saving a modified version of an existing file does not count as creating === modified file 'doc/misc/ChangeLog' --- doc/misc/ChangeLog 2011-12-20 16:00:47 +0000 +++ doc/misc/ChangeLog 2011-12-28 06:59:21 +0000 @@ -1,3 +1,10 @@ +2011-12-28 Paul Eggert + + * gnus.texi (Mail Source Customization, Mail Back End Variables): + Use octal notation for file permissions, which are normally + thought of in octal. + (Mail Back End Variables): Use more-plausible modes in example. + 2011-12-20 Alan Mackenzie * cc-mode.texi: Update version string 5.31 -> 5.32. === modified file 'doc/misc/gnus.texi' --- doc/misc/gnus.texi 2011-12-14 21:05:20 +0000 +++ doc/misc/gnus.texi 2011-12-28 06:59:21 +0000 @@ -15033,7 +15033,7 @@ @item mail-source-default-file-modes @vindex mail-source-default-file-modes -All new mail files will get this file mode. The default is 384. +All new mail files will get this file mode. The default is @code{#o600}. @item mail-source-movemail-program @vindex mail-source-movemail-program @@ -15123,10 +15123,10 @@ @lisp (add-hook 'nnmail-pre-get-new-mail-hook - (lambda () (set-default-file-modes 511))) + (lambda () (set-default-file-modes #o700))) (add-hook 'nnmail-post-get-new-mail-hook - (lambda () (set-default-file-modes 551))) + (lambda () (set-default-file-modes #o775))) @end lisp @item nnmail-use-long-file-names ------------------------------------------------------------ revno: 106739 fixes bug(s): http://debbugs.gnu.org/10087 committer: Chong Yidong branch nick: trunk timestamp: Wed 2011-12-28 13:23:47 +0800 message: Fix GDB mode line for gdb-create-source-file-list nil. * lisp/progmodes/gdb-mi.el (gdb-get-source-file-list) (gdb-get-source-file): Move mode line update to gdb-get-source-file. diff: === modified file 'lisp/ChangeLog' --- lisp/ChangeLog 2011-12-25 10:46:49 +0000 +++ lisp/ChangeLog 2011-12-28 05:23:47 +0000 @@ -1,3 +1,9 @@ +2011-12-28 Chong Yidong + + * progmodes/gdb-mi.el (gdb-get-source-file-list) + (gdb-get-source-file): Move mode line update to + gdb-get-source-file (Bug#10087). + 2011-12-25 Chong Yidong * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use === modified file 'lisp/progmodes/gdb-mi.el' --- lisp/progmodes/gdb-mi.el 2011-12-25 10:46:49 +0000 +++ lisp/progmodes/gdb-mi.el 2011-12-28 05:23:47 +0000 @@ -3787,9 +3787,7 @@ (dolist (buffer (buffer-list)) (with-current-buffer buffer (when (member buffer-file-name gdb-source-file-list) - (gdb-init-buffer)))) - (gdb-force-mode-line-update - (propertize "ready" 'face font-lock-variable-name-face))) + (gdb-init-buffer))))) (defun gdb-get-main-selected-frame () "Trigger for `gdb-frame-handler' which uses main current @@ -4128,7 +4126,9 @@ (gdb-get-buffer-create 'gdb-breakpoints-buffer) (if (and gdb-show-main gdb-main-file) (let ((pop-up-windows t)) - (display-buffer (gud-find-file gdb-main-file)))))) + (display-buffer (gud-find-file gdb-main-file))))) + (gdb-force-mode-line-update + (propertize "ready" 'face font-lock-variable-name-face))) ;;from put-image (defun gdb-put-string (putstring pos &optional dprop &rest sprops) ------------------------------------------------------------ revno: 106738 committer: Katsumi Yamaoka branch nick: trunk timestamp: Wed 2011-12-28 02:40:35 +0000 message: mm-view.el (mm-display-inline-fontify): Add comment. diff: === modified file 'lisp/gnus/ChangeLog' --- lisp/gnus/ChangeLog 2011-12-19 06:21:24 +0000 +++ lisp/gnus/ChangeLog 2011-12-28 02:40:35 +0000 @@ -1,6 +1,11 @@ +2011-12-28 Katsumi Yamaoka + + * mm-view.el (mm-display-inline-fontify): Add comment. + 2011-12-15 Juri Linkov - * mm-decode.el (mm-inline-media-tests): Add missing `mm-handle-media-subtype'. + * mm-decode.el (mm-inline-media-tests): Add missing + `mm-handle-media-subtype'. 2011-12-09 Tassilo Horn === modified file 'lisp/gnus/mm-view.el' --- lisp/gnus/mm-view.el 2011-11-21 22:08:36 +0000 +++ lisp/gnus/mm-view.el 2011-12-28 02:40:35 +0000 @@ -602,6 +602,7 @@ ;; I find font-lock a bit too verbose. (let ((font-lock-verbose nil)) ;; Disable support modes, e.g., jit-lock, lazy-lock, etc. + ;; Note: XEmacs people use `font-lock-mode-hook' to run those modes. (set (make-local-variable 'font-lock-mode-hook) nil) (set (make-local-variable 'font-lock-support-mode) nil) (setq buffer-file-name (mm-handle-filename handle)) ------------------------------------------------------------ revno: 106737 committer: Bill Wohler branch nick: trunk timestamp: Tue 2011-12-27 14:10:34 -0800 message: Update release notes to reflect a fixed, reported bug. diff: === modified file 'etc/MH-E-NEWS' --- etc/MH-E-NEWS 2011-12-27 04:56:26 +0000 +++ etc/MH-E-NEWS 2011-12-27 22:10:34 +0000 @@ -44,6 +44,11 @@ When restoring MH folders from ".emacs.desktop", Emacs now opens them in the expected `mh-folder' mode instead of `dired-mode' (closes SF #1510145) +*** *MH-E Log* buffer can point to removed directory +This was caused by using `set-buffer' instead of +`with-current-buffer.' This has been fixed thanks to Stefan Monnier +(closes SF #1903293). + * Changes in MH-E 8.2 === modified file 'lisp/mh-e/ChangeLog' --- lisp/mh-e/ChangeLog 2011-12-27 04:56:26 +0000 +++ lisp/mh-e/ChangeLog 2011-12-27 22:10:34 +0000 @@ -232,7 +232,8 @@ (mh-handle-process-error, mh-variant-info): * mh-comp.el (mh-forward): * mh-alias.el (mh-alias-local-users, mh-alias-which-file-has-alias): - (mh-alias-add-alias-to-file): Use with-current-buffer. + (mh-alias-add-alias-to-file): Use with-current-buffer (closes SF + #1903293). 2009-11-04 Stefan Monnier ------------------------------------------------------------ revno: 106736 committer: Bill Wohler branch nick: trunk timestamp: Mon 2011-12-26 20:56:26 -0800 message: Update release notes to reflect a fixed, reported bug. diff: === modified file 'etc/MH-E-NEWS' --- etc/MH-E-NEWS 2011-11-25 07:14:48 +0000 +++ etc/MH-E-NEWS 2011-12-27 04:56:26 +0000 @@ -39,6 +39,11 @@ The `mh-showing-mode' variable is now defined with `define-minor-mode' (closes SF #482666). +*** Desktop fails to restore MH-Folder buffers + +When restoring MH folders from ".emacs.desktop", Emacs now opens them in +the expected `mh-folder' mode instead of `dired-mode' (closes SF #1510145) + * Changes in MH-E 8.2 === modified file 'lisp/mh-e/ChangeLog' --- lisp/mh-e/ChangeLog 2011-11-25 07:14:48 +0000 +++ lisp/mh-e/ChangeLog 2011-12-27 04:56:26 +0000 @@ -122,7 +122,7 @@ * mh-mime.el: Shush XEmacs compiler in mh-do-in-xemacs block. * mh-folder.el: Use boundp instead of fboundp when testing - existence of desktop-buffer-mode-handlers. + existence of desktop-buffer-mode-handlers (closes SF #1510145). 2011-05-10 Jim Meyering ------------------------------------------------------------ Use --include-merges or -n0 to see merged revisions.