# HG changeset patch # User Richard M. Stallman # Date 1104506516 0 # Node ID dba05e4999d2de391d2713c8a102b7e44ba9375f # Parent c9bf2e1b7e1a263f25bbaef52a6c5203cdf596db *** empty log message *** diff -r c9bf2e1b7e1a -r dba05e4999d2 admin/FOR-RELEASE --- a/admin/FOR-RELEASE Fri Dec 31 15:21:47 2004 +0000 +++ b/admin/FOR-RELEASE Fri Dec 31 15:21:56 2004 +0000 @@ -4,8 +4,6 @@ ** Face remapping. -** Let mouse-1 follow links. - ** Make Rmail find the best version of movemail. To be done by Sergey Poznyakoff . @@ -36,6 +34,8 @@ * BUGS +** Incomplete overlay mouse-face highlight bug (Ralf Angeli, Oct 18) + ** Ange-ftp should ignore irrelevant IPv6 errors: Message-Id: <4121-Tue23Mar2004165249+0100-piet@cs.uu.nl> diff -r c9bf2e1b7e1a -r dba05e4999d2 etc/NEWS --- a/etc/NEWS Fri Dec 31 15:21:47 2004 +0000 +++ b/etc/NEWS Fri Dec 31 15:21:56 2004 +0000 @@ -98,10 +98,11 @@ * Changes in Emacs 21.4 -** calculator.el now has radix grouping mode. In this mode a -separator character is used between every few digits, making it -easier to indicate byte boundries etc. See the documentation of -the `calculator-radix-grouping-mode' custom variable. +** calculator.el now has radix grouping mode, which is available when +`calculator-output-radix' is non-nil. In this mode a separator +character is used every few digits, making it easier to see byte +boundries etc. For more info, see the documentation of the variable +`calculator-radix-grouping-mode'. ** You can now follow links by clicking Mouse-1 on the link. @@ -133,6 +134,24 @@ `mouse-1-click-follows-link'. +++ +** require-final-newline now has two new possible values: + +`visit' means add a newline (as an undoable change) if it's needed +when visiting the file. + +`visit-save' means add a newline (as an undoable change) if it's +needed when visiting the file, and also add a newline if it's needed +when saving the file. + ++++ +** The new option mode-require-final-newline controls how certain +major modes enable require-final-newline. Any major mode that's +designed for a kind of file that should normally end in a newline +sets require-final-newline based on mode-require-final-newline. +So you can customize mode-require-final-newline to control what these +modes do. + ++++ ** When the undo information of the current command gets really large (beyond the value of `undo-outer-limit'), Emacs asks you whether to discard it or keep it. @@ -1804,12 +1823,15 @@ bound to keys to get this feature without toggling a mode. Contributed by Kevin Ryde. -*** Better control over require-final-newline. -The variable that controls how to handle a final newline when the -buffer is saved, require-final-newline, is now customizable on a -per-mode basis through c-require-final-newline. The default is to set -it to t only in languages that mandate a final newline in source files -(C, C++ and Objective-C). +*** Better control over require-final-newline. The variable that +controls how to handle a final newline when the buffer is saved, +require-final-newline, is now customizable on a per-mode basis through +c-require-final-newline. That is a list of modes, and only those +modes set require-final-newline. By default that's C, C++ and +Objective-C. + +The specified modes set require-final-newline based on +mode-require-final-newline, as usual. *** Format change for syntactic context elements. The elements in the syntactic context returned by c-guess-basic-syntax diff -r c9bf2e1b7e1a -r dba05e4999d2 lisp/ChangeLog --- a/lisp/ChangeLog Fri Dec 31 15:21:47 2004 +0000 +++ b/lisp/ChangeLog Fri Dec 31 15:21:56 2004 +0000 @@ -1,5 +1,13 @@ 2004-12-31 Richard M. Stallman + * faces.el (read-face-name): + Don't treat an attribute spec as a list of faces. + + * simple.el (undo): Use undo-equiv-table to detect + unexpected changes since previous undo. + (undo-list-saved): Variable deleted. + (buffer-disable-undo): Don't alter undo-list-saved. + * files.el (require-final-newline): Allow `visit' and `visit-save'. (mode-require-final-newline): New option. (after-find-file): Handle require-final-newline with new values. diff -r c9bf2e1b7e1a -r dba05e4999d2 man/ChangeLog --- a/man/ChangeLog Fri Dec 31 15:21:47 2004 +0000 +++ b/man/ChangeLog Fri Dec 31 15:21:56 2004 +0000 @@ -1,5 +1,9 @@ 2004-12-31 Richard M. Stallman + * dired.texi (Shell Commands in Dired): Delete the ? example. + + * display.texi (Scrolling): Correct scroll-preserve-screen-position. + * files.texi (Saving): Describe new require-final-newline features and mode-require-final-newline. diff -r c9bf2e1b7e1a -r dba05e4999d2 src/ChangeLog --- a/src/ChangeLog Fri Dec 31 15:21:47 2004 +0000 +++ b/src/ChangeLog Fri Dec 31 15:21:56 2004 +0000 @@ -1,3 +1,9 @@ +2004-12-31 Richard M. Stallman + + * window.c (window_scroll_pixel_based): Only look at + Vscroll_preserve_screen_position if the old PT can't be kept. + (syms_of_window) : Doc fix. + 2004-12-30 Kim F. Storm * xdisp.c (get_line_height_property): New function extracted from