changeset 46201:ec2505a6b272

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sun, 07 Jul 2002 10:52:11 +0000
parents b2d574ba36c5
children abfe123bd6ff
files etc/NEWS lisp/ChangeLog src/ChangeLog
diffstat 3 files changed, 67 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Sun Jul 07 10:50:49 2002 +0000
+++ b/etc/NEWS	Sun Jul 07 10:52:11 2002 +0000
@@ -66,6 +66,11 @@
 directory is used for auto-save files of mail buffers.  It defaults to
 "~/".
 
+** When you are root, and you visit a file whose modes specify
+read-only, the Emacs buffer is now read-only too.  Type C-x C-q if you
+want to make the buffer writable.  (As root, you will in fact be able
+to alter the file.)
+
 ---
 ** ps-print can now print Unicode characters.
 
@@ -737,9 +742,25 @@
 which do not end in a slash are never considered when a completion
 candidate is a directory.
 
+** The variable `safe-local-eval-forms' specifies a list of forms that
+are ok to evaluate when they appear in an `eval' local variables
+specification.  Normally Emacs asks for confirmation before evaluating
+such a form, but if the form appears in this list, no confirmation is
+needed.
+
+** If a function has a non-nil `safe-local-eval-function' property,
+that means it is ok to evaluate some calls to that function when it
+appears in an `eval' local variables specification.  If the property
+is t, then any form calling that function with constant arguments is
+ok.  If the property is a function or list of functions, they are called
+with the form as argument, and if any returns t, the form is ok to call.
+
+If the form is not "ok to call", that means Emacs asks for
+confirmation as before.
+
 +++
-** Completion commands in the minibuffer apply only to the
-text before point.  If there is text in the buffer after point,
+** The completion commands TAB, SPC and ? in the minibuffer apply only
+to the text before point.  If there is text in the buffer after point,
 it remains unchanged.
 
 +++
@@ -941,6 +962,14 @@
 `read-file-name' to read a directory name; when used, completion
 will only show directories.
 
+** The new function `file-remote-p' tests a file name and returns
+non-nil if it specifies a remote file (one that Emacs accesses using
+its own special methods and not directly through the file system).
+
+** When a Lisp file uses CL functions at run-time, compiling the file
+now issues warnings about these calls, unless the file performs
+(require 'cl) when loaded.
+
 ** The new Lisp library fringe.el controls the apperance of fringes.
 
 ** The `defmacro' form may contain declarations specifying how to
--- a/lisp/ChangeLog	Sun Jul 07 10:50:49 2002 +0000
+++ b/lisp/ChangeLog	Sun Jul 07 10:52:11 2002 +0000
@@ -1,3 +1,23 @@
+2002-07-07  Richard M. Stallman  <rms@gnu.org>
+
+	* emacs-lisp/easymenu.el (easy-menu-popup-menu): Function deleted.
+
+	* emacs-lisp/advice.el (ad-compile-function):
+	Disable cl-function warnings if cl is loaded.
+
+	* files.el (safe-local-eval-forms): New user option.
+	(hack-one-local-variable-eval-safep): Support it.
+	Also allow `safe-local-eval-function' property to be a function
+	or a list of functions.
+	(c-add-style): Delete `safe-local-eval-function' property.
+	
+	* files.el (after-find-file): Make buffer read-only if file is
+	marked that way, even for root.
+
+	* files.el (save-some-buffers): Doc fix.
+
+	* bindings.el (completion-ignored-extensions): Add .gmo and .mo.
+
 2002-07-06  Francesco Potorti`  <pot@gnu.org>
 
 	* dos-w32.el (file-name-buffer-file-type-alist): Add knowledge of
--- a/src/ChangeLog	Sun Jul 07 10:50:49 2002 +0000
+++ b/src/ChangeLog	Sun Jul 07 10:52:11 2002 +0000
@@ -1,3 +1,19 @@
+2002-07-07  Richard M. Stallman  <rms@gnu.org>
+
+	* xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls.
+	Instead just return 0 when there is something to be done.
+	(try_scrolling): If make_cursor_line_fully_visible returns 0,
+	retry scrolling as if cursor were off the bottom.
+	(try_cursor_movement): If make_cursor_line_fully_visible returns 0,
+	return CURSOR_MOVEMENT_MUST_SCROLL.
+	(redisplay_window): If make_cursor_line_fully_visible returns 0,
+	go to try_to_scroll.
+
+	* buffer.c (Fbuffer_local_value): Store current value into its binding
+	so we get the up-to-date value for the binding that is loaded.
+
+	* eval.c (Fdefmacro): Doc fix.
+
 2002-07-05  Pavel Jan,Bm(Bk  <Pavel@Janik.cz>
 
 	* xdisp.c: Remove unused variable `face'.