changeset 110236:6c9f59d296d3

Merge changes from emacs-23 branch.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 06 Sep 2010 12:38:03 -0400
parents 3d216398af49 (current diff) 0a214cbe7bf3 (diff)
children b02c6c7716e4
files doc/emacs/ChangeLog doc/emacs/dired.texi doc/lispref/ChangeLog lisp/ChangeLog lisp/desktop.el lisp/files.el lisp/textmodes/bibtex.el
diffstat 11 files changed, 52 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/ChangeLog	Mon Sep 06 02:09:42 2010 +0000
+++ b/doc/emacs/ChangeLog	Mon Sep 06 12:38:03 2010 -0400
@@ -1,3 +1,11 @@
+2010-09-06  Chong Yidong  <cyd@stupidchicken.com>
+
+	* dired.texi (Dired Enter): Minor doc fix (Bug#6982).
+
+2010-09-06  Glenn Morris  <rgm@gnu.org>
+
+	* misc.texi (Saving Emacs Sessions): Mention desktop-path.  (Bug#6948)
+
 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* frames.texi (Cut/Paste Other App): Remove vut-buffer text.
--- a/doc/emacs/dired.texi	Mon Sep 06 02:09:42 2010 +0000
+++ b/doc/emacs/dired.texi	Mon Sep 06 12:38:03 2010 -0400
@@ -75,13 +75,12 @@
 
   The variable @code{dired-listing-switches} specifies the options to
 give to @code{ls} for listing the directory; this string @emph{must}
-contain @samp{-l}.  If you use a numeric prefix argument with the
-@code{dired} command, you can specify the @code{ls} switches with the
-minibuffer before you enter the directory specification.  No matter
-how they are specified, the @code{ls} switches can include short
-options (that is, single characters) requiring no arguments, and long
-options (starting with @samp{--}) whose arguments are specified with
-@samp{=}.
+contain @samp{-l}.  If you use a prefix argument with the @code{dired}
+command, you can specify the @code{ls} switches with the minibuffer
+before you enter the directory specification.  No matter how they are
+specified, the @code{ls} switches can include short options (that is,
+single characters) requiring no arguments, and long options (starting
+with @samp{--}) whose arguments are specified with @samp{=}.
 
   On MS-Windows and MS-DOS systems, Emacs @emph{emulates} @code{ls};
 see @ref{ls in Lisp}, for options and peculiarities of that emulation.
--- a/doc/emacs/misc.texi	Mon Sep 06 02:09:42 2010 +0000
+++ b/doc/emacs/misc.texi	Mon Sep 06 12:38:03 2010 -0400
@@ -2349,8 +2349,11 @@
 
 @findex desktop-change-dir
 @findex desktop-revert
+@vindex desktop-path
   If you turn on @code{desktop-save-mode} in your init file, then when
 Emacs starts, it looks for a saved desktop in the current directory.
+(More precisely, it looks in the directories specified by
+@var{desktop-path}, and uses the first desktop it finds.)
 Thus, you can have separate saved desktops in different directories,
 and the starting directory determines which one Emacs reloads.  You
 can save the current desktop and reload one saved in another directory
--- a/doc/lispref/ChangeLog	Mon Sep 06 02:09:42 2010 +0000
+++ b/doc/lispref/ChangeLog	Mon Sep 06 12:38:03 2010 -0400
@@ -1,3 +1,7 @@
+2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
+
+	* files.texi (Directory Names): Use \` rather than ^.
+
 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* text.texi (Low-Level Kill Ring):
--- a/doc/lispref/files.texi	Mon Sep 06 02:09:42 2010 +0000
+++ b/doc/lispref/files.texi	Mon Sep 06 12:38:03 2010 -0400
@@ -1933,7 +1933,7 @@
 abbreviations to use for file directories.  Each element has the form
 @code{(@var{from} . @var{to})}, and says to replace @var{from} with
 @var{to} when it appears in a directory name.  The @var{from} string is
-actually a regular expression; it should always start with @samp{^}.
+actually a regular expression; it should always start with @samp{\`}.
 The @var{to} string should be an ordinary absolute directory name.  Do
 not use @samp{~} to stand for a home directory in that string.  The
 function @code{abbreviate-file-name} performs these substitutions.
@@ -1946,9 +1946,9 @@
 and so on.
 
 @example
-(("^/home/fsf" . "/fsf")
- ("^/home/gp" . "/gp")
- ("^/home/gd" . "/gd"))
+(("\\`/home/fsf" . "/fsf")
+ ("\\`/home/gp" . "/gp")
+ ("\\`/home/gd" . "/gd"))
 @end example
 @end defopt
 
--- a/lisp/ChangeLog	Mon Sep 06 02:09:42 2010 +0000
+++ b/lisp/ChangeLog	Mon Sep 06 12:38:03 2010 -0400
@@ -1,3 +1,20 @@
+2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
+
+	* files.el (directory-abbrev-alist): Use \` as default regexp.
+
+	* emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
+	chars like - or ] (bug#6984).
+	(rx-any-condense-range): Explode 2-char ranges.
+
+2010-09-06  Glenn Morris  <rgm@gnu.org>
+
+	* desktop.el (desktop-path): Bump :version after 2009-09-15 change.
+
+2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* textmodes/bibtex.el:
+	* proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
+
 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
 	* net/imap.el (imap-message-map): Removed optional buffer parameter,
--- a/lisp/desktop.el	Mon Sep 06 02:09:42 2010 +0000
+++ b/lisp/desktop.el	Mon Sep 06 12:38:03 2010 -0400
@@ -226,7 +226,7 @@
 The base name of the file is specified in `desktop-base-file-name'."
   :type '(repeat directory)
   :group 'desktop
-  :version "22.1")
+  :version "23.2")                      ; user-emacs-directory added
 
 (defcustom desktop-missing-file-warning nil
   "If non-nil, offer to recreate the buffer of a deleted file.
--- a/lisp/emacs-lisp/rx.el	Mon Sep 06 02:09:42 2010 +0000
+++ b/lisp/emacs-lisp/rx.el	Mon Sep 06 12:38:03 2010 -0400
@@ -427,7 +427,7 @@
 	    (mapcar (lambda (e)
 		      (cond
 		       ((= (car e) (cdr e)) (list (car e)))
-		       ;; ((= (1+ (car e)) (cdr e)) (list (car e) (cdr e)))
+		       ((= (1+ (car e)) (cdr e)) (list (car e) (cdr e)))
 		       ((list e))))
 		    l))
      (delete-dups str))))
@@ -545,7 +545,10 @@
 			    ((numberp e) (string e))
 			    ((consp e)
 			     (if (and (= (1+ (car e)) (cdr e))
-				      (null (memq (car e) '(?\] ?-))))
+                                      ;; rx-any-condense-range should
+                                      ;; prevent this case from happening.
+				      (null (memq (car e) '(?\] ?-)))
+                                      (null (memq (cdr e) '(?\] ?-))))
 				 (string (car e) (cdr e))
 			       (string (car e) ?- (cdr e))))
 			    (e)))
--- a/lisp/files.el	Mon Sep 06 02:09:42 2010 +0000
+++ b/lisp/files.el	Mon Sep 06 12:38:03 2010 -0400
@@ -67,9 +67,9 @@
 via absolute symbolic links.  Make TO the name of the link, and FROM
 the name it is linked to."
   :type '(repeat (cons :format "%v"
-		       :value ("" . "")
+		       :value ("\\`" . "")
 		       (regexp :tag "From")
-		       (regexp :tag "To")))
+		       (string :tag "To")))
   :group 'abbrev
   :group 'find-file)
 
--- a/lisp/proced.el	Mon Sep 06 02:09:42 2010 +0000
+++ b/lisp/proced.el	Mon Sep 06 12:38:03 2010 -0400
@@ -2,7 +2,7 @@
 
 ;; Copyright (C) 2008, 2009, 2010 Free Software Foundation, Inc.
 
-;; Author: Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
+;; Author: Roland Winkler <winkler@gnu.org>
 ;; Keywords: Processes, Unix
 
 ;; This file is part of GNU Emacs.
--- a/lisp/textmodes/bibtex.el	Mon Sep 06 02:09:42 2010 +0000
+++ b/lisp/textmodes/bibtex.el	Mon Sep 06 12:38:03 2010 -0400
@@ -9,7 +9,7 @@
 ;;      Mike Newton <newton@gumby.cs.caltech.edu>
 ;;      Aaron Larson <alarson@src.honeywell.com>
 ;;      Dirk Herrmann <D.Herrmann@tu-bs.de>
-;; Maintainer: Roland Winkler <roland.winkler@physik.uni-erlangen.de>
+;; Maintainer: Roland Winkler <winkler@gnu.org>
 ;; Keywords: BibTeX, LaTeX, TeX
 
 ;; This file is part of GNU Emacs.