aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog27
-rw-r--r--lisp/emacs-lisp/edebug.el8
-rw-r--r--lisp/faces.el10
-rw-r--r--lisp/gnus/ChangeLog11
-rw-r--r--lisp/gnus/gnus.el21
-rw-r--r--lisp/gnus/nnspool.el19
-rw-r--r--lisp/mail/rmail.el36
-rw-r--r--lisp/paths.el60
-rw-r--r--lisp/progmodes/which-func.el3
-rw-r--r--lisp/version.el7
10 files changed, 116 insertions, 86 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index cd57969f73f..8e9b88a6016 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,28 @@
12012-05-24 Glenn Morris <rgm@gnu.org>
2
3 * paths.el (term-file-prefix): Move to faces.el (the only user).
4 * faces.el (term-file-prefix): Move here, make it a defcustom.
5
6 * paths.el (news-directory, news-path, news-inews-program):
7 Move to gnus/nnspool.el.
8
9 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10
11 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
13 Make the latter a defcustom, with a delayed initialization.
14
15 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
16 These were deleted from Gnus itself late 2010.
17
182012-05-22 Juanma Barranquero <lekktu@gmail.com>
19
20 * progmodes/which-func.el (which-func-ff-hook):
21 Check against user-error, not error.
22
23 * emacs-lisp/edebug.el (top): Do not load or set up loading of
24 cl-specs.el, which no longer exists.
25
12012-05-22 Glenn Morris <rgm@gnu.org> 262012-05-22 Glenn Morris <rgm@gnu.org>
2 27
3 * info.el (info-emacs-bug): New command. 28 * info.el (info-emacs-bug): New command.
@@ -58,7 +83,7 @@
58 83
59 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma): 84 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
60 New functions. 85 New functions.
61 (math-function-table): Add support for more C functions. 86 (math-function-table): Add support for more C functions.
62 87
632012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es> 882012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
64 89
diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el
index f47feebe5d2..2c7e7cf6362 100644
--- a/lisp/emacs-lisp/edebug.el
+++ b/lisp/emacs-lisp/edebug.el
@@ -1938,7 +1938,6 @@ expressions; a `progn' form will be returned enclosing these forms."
1938 1938
1939;;;; Edebug Form Specs 1939;;;; Edebug Form Specs
1940;;; ========================================================== 1940;;; ==========================================================
1941;;; See cl-specs.el for common lisp specs.
1942 1941
1943;;;;* Spec for def-edebug-spec 1942;;;;* Spec for def-edebug-spec
1944;;; Out of date. 1943;;; Out of date.
@@ -4437,13 +4436,6 @@ With prefix argument, make it a temporary breakpoint."
4437 4436
4438;;; Autoloading of Edebug accessories 4437;;; Autoloading of Edebug accessories
4439 4438
4440(if (featurep 'cl)
4441 (add-hook 'edebug-setup-hook
4442 (function (lambda () (require 'cl-specs))))
4443 ;; The following causes cl-specs to be loaded if you load cl.el.
4444 (add-hook 'cl-load-hook
4445 (function (lambda () (require 'cl-specs)))))
4446
4447;; edebug-cl-read and cl-read are available from liberte@cs.uiuc.edu 4439;; edebug-cl-read and cl-read are available from liberte@cs.uiuc.edu
4448(if (featurep 'cl-read) 4440(if (featurep 'cl-read)
4449 (add-hook 'edebug-setup-hook 4441 (add-hook 'edebug-setup-hook
diff --git a/lisp/faces.el b/lisp/faces.el
index b3b0fa9b7d2..d96f3af0ac0 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -28,6 +28,16 @@
28(eval-when-compile 28(eval-when-compile
29 (require 'cl)) 29 (require 'cl))
30 30
31(defcustom term-file-prefix (purecopy "term/")
32 "If non-nil, Emacs startup performs terminal-specific initialization.
33It does this by: (load (concat term-file-prefix (getenv \"TERM\")))
34
35You may set this variable to nil in your init file if you do not wish
36the terminal-initialization file to be loaded."
37 :type '(choice (const :tag "No terminal-specific initialization" nil)
38 (string :tag "Name of directory with term files"))
39 :group 'terminals)
40
31(declare-function xw-defined-colors "term/common-win" (&optional frame)) 41(declare-function xw-defined-colors "term/common-win" (&optional frame))
32 42
33(defvar help-xref-stack-item) 43(defvar help-xref-stack-item)
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 9000ccb9fef..e096b9b2b26 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,12 @@
12012-05-24 Glenn Morris <rgm@gnu.org>
2
3 * nnspool.el (news-directory, news-path, news-inews-program):
4 Move here from paths.el. Don't see a need for these to be autoloaded.
5
6 * gnus.el (gnus-default-nntp-server): Make it a defcustom.
7 Merge in doc from paths.el version. Don't see any need for this to be
8 autoloaded, or for the warning about users not setting it.
9
12012-05-04 Paul Eggert <eggert@cs.ucla.edu> 102012-05-04 Paul Eggert <eggert@cs.ucla.edu>
2 11
3 Fix minor Y10k bug. 12 Fix minor Y10k bug.
@@ -22655,7 +22664,7 @@
22655 22664
22656See ChangeLog.2 for earlier changes. 22665See ChangeLog.2 for earlier changes.
22657 22666
22658 Copyright (C) 2004-2012 Free Software Foundation, Inc. 22667 Copyright (C) 2004-2012 Free Software Foundation, Inc.
22659 22668
22660 This file is part of GNU Emacs. 22669 This file is part of GNU Emacs.
22661 22670
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 635bb6fc96f..bba56e31d9b 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -1271,15 +1271,18 @@ Set this variable in `.emacs' instead."
1271 :type '(choice (const :tag "current" nil) 1271 :type '(choice (const :tag "current" nil)
1272 directory)) 1272 directory))
1273 1273
1274;; Site dependent variables. These variables should be defined in 1274;; Site dependent variables.
1275;; paths.el.
1276 1275
1277(defvar gnus-default-nntp-server nil 1276;; Should this be obsolete?
1278 "Specify a default NNTP server. 1277(defcustom gnus-default-nntp-server nil
1279This variable should be defined in paths.el, and should never be set 1278 "The hostname of the default NNTP server.
1280by the user. 1279The empty string, or nil, means to use the local host.
1281If you want to change servers, you should use `gnus-select-method'. 1280You may wish to set this on a site-wide basis.
1282See the documentation to that variable.") 1281
1282If you want to change servers, you should use `gnus-select-method'."
1283 :group 'gnus-server
1284 :type '(choice (const :tag "local host" nil)
1285 (string :tag "host name")))
1283 1286
1284(defcustom gnus-nntpserver-file "/etc/nntpserver" 1287(defcustom gnus-nntpserver-file "/etc/nntpserver"
1285 "A file with only the name of the nntp server in it." 1288 "A file with only the name of the nntp server in it."
@@ -1326,6 +1329,8 @@ If you use this variable, you must set `gnus-nntp-server' to nil.
1326 1329
1327There is a lot more to know about select methods and virtual servers - 1330There is a lot more to know about select methods and virtual servers -
1328see the manual for details." 1331see the manual for details."
1332 ;; Emacs has set-after since 22.1.
1333 ;set-after '(gnus-default-nntp-server)
1329 :group 'gnus-server 1334 :group 'gnus-server
1330 :group 'gnus-start 1335 :group 'gnus-start
1331 :initialize 'custom-initialize-default 1336 :initialize 'custom-initialize-default
diff --git a/lisp/gnus/nnspool.el b/lisp/gnus/nnspool.el
index 2b024e20740..fd079d909eb 100644
--- a/lisp/gnus/nnspool.el
+++ b/lisp/gnus/nnspool.el
@@ -31,6 +31,25 @@
31(require 'nnoo) 31(require 'nnoo)
32(eval-when-compile (require 'cl)) 32(eval-when-compile (require 'cl))
33 33
34;; Probably this entire thing should be obsolete.
35;; It's only used to init nnspool-spool-directory, so why not just
36;; set that variable's default directly?
37(defvar news-directory (if (file-exists-p "/usr/spool/news/")
38 "/usr/spool/news/"
39 "/var/spool/news/")
40 "The root directory below which all news files are stored.")
41(defvaralias 'news-path 'news-directory)
42
43;; Ditto re obsolescence.
44(defvar news-inews-program
45 (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
46 ((file-exists-p "/usr/local/inews") "/usr/local/inews")
47 ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
48 ((file-exists-p "/usr/contrib/lib/news/inews") "/usr/contrib/lib/news/inews")
49 ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
50 (t "inews"))
51 "Program to post news.")
52
34(nnoo-declare nnspool) 53(nnoo-declare nnspool)
35 54
36(defvoo nnspool-inews-program news-inews-program 55(defvoo nnspool-inews-program news-inews-program
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index 14bf9d90a16..cd2a961638e 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -100,8 +100,6 @@ its character representation and its display representation.")
100 "The current header display style choice, one of 100 "The current header display style choice, one of
101'normal (selected headers) or 'full (all headers).") 101'normal (selected headers) or 'full (all headers).")
102 102
103;; rmail-spool-directory and rmail-file-name are defined in paths.el.
104
105(defgroup rmail nil 103(defgroup rmail nil
106 "Mail reader for Emacs." 104 "Mail reader for Emacs."
107 :group 'mail) 105 :group 'mail)
@@ -143,6 +141,40 @@ its character representation and its display representation.")
143 :prefix "rmail-edit-" 141 :prefix "rmail-edit-"
144 :group 'rmail) 142 :group 'rmail)
145 143
144;;;###autoload
145(defcustom rmail-file-name (purecopy "~/RMAIL")
146 "Name of user's primary mail file."
147 :type 'string
148 :group 'rmail
149 :version "21.1")
150
151;;;###autoload
152(put 'rmail-spool-directory 'standard-value
153 '((cond ((file-exists-p "/var/mail") "/var/mail/")
154 ((file-exists-p "/var/spool/mail") "/var/spool/mail/")
155 ((memq system-type '(hpux usg-unix-v irix)) "/usr/mail/")
156 (t "/usr/spool/mail/"))))
157
158;;;###autoload
159(defcustom rmail-spool-directory
160 (purecopy
161 (cond ((file-exists-p "/var/mail")
162 ;; SVR4 and recent BSD are said to use this.
163 ;; Rather than trying to know precisely which systems use it,
164 ;; let's assume this dir is never used for anything else.
165 "/var/mail/")
166 ;; Many GNU/Linux systems use this name.
167 ((file-exists-p "/var/spool/mail") "/var/spool/mail/")
168 ((memq system-type '(hpux usg-unix-v irix)) "/usr/mail/")
169 (t "/usr/spool/mail/")))
170 "Name of directory used by system mailer for delivering new mail.
171Its name should end with a slash."
172 :initialize 'custom-initialize-delay
173 :type 'directory
174 :group 'rmail)
175
176;;;###autoload(custom-initialize-delay 'rmail-spool-directory nil)
177
146(defcustom rmail-movemail-program nil 178(defcustom rmail-movemail-program nil
147 "If non-nil, the file name of the `movemail' program." 179 "If non-nil, the file name of the `movemail' program."
148 :group 'rmail-retrieve 180 :group 'rmail-retrieve
diff --git a/lisp/paths.el b/lisp/paths.el
index 70b5ca5dbfb..f44a0e660fc 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -1,6 +1,6 @@
1;;; paths.el --- define pathnames for use by various Emacs commands -*- no-byte-compile: t -*- 1;;; paths.el --- define pathnames for use by various Emacs commands -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1986, 1988, 1994, 1999-2012 Free Software Foundation, Inc. 3;; Copyright (C) 1986, 1988, 1994, 1999-2012 Free Software Foundation, Inc.
4 4
5;; Maintainer: FSF 5;; Maintainer: FSF
6;; Keywords: internal 6;; Keywords: internal
@@ -101,59 +101,6 @@ This variable `Info-default-directory-list' is used as the default
101for initializing `Info-directory-list' when Info is started, unless 101for initializing `Info-directory-list' when Info is started, unless
102the environment variable INFOPATH is set.") 102the environment variable INFOPATH is set.")
103 103
104(defvar news-directory
105 (purecopy (if (file-exists-p "/usr/spool/news/")
106 "/usr/spool/news/"
107 "/var/spool/news/"))
108 "The root directory below which all news files are stored.")
109(defvaralias 'news-path 'news-directory)
110
111(defvar news-inews-program
112 (purecopy
113 (cond ((file-exists-p "/usr/bin/inews") "/usr/bin/inews")
114 ((file-exists-p "/usr/local/inews") "/usr/local/inews")
115 ((file-exists-p "/usr/local/bin/inews") "/usr/local/bin/inews")
116 ((file-exists-p "/usr/contrib/lib/news/inews") "/usr/contrib/lib/news/inews")
117 ((file-exists-p "/usr/lib/news/inews") "/usr/lib/news/inews")
118 (t "inews")))
119 "Program to post news.")
120
121;; set this to your local server
122(defvar gnus-default-nntp-server (purecopy "") "\
123The name of the host running an NNTP server.
124The null string means use the local host as the server site.")
125
126(defvar gnus-nntp-service (purecopy "nntp") "\
127NNTP service name, usually \"nntp\" or 119.
128Go to a local news spool if its value is nil, in which case `gnus-nntp-server'
129should be set to `(system-name)'.")
130
131(defvar gnus-local-organization nil "\
132*The name of your organization, as a string.
133The `ORGANIZATION' environment variable is used instead if defined.")
134
135(defcustom rmail-file-name (purecopy "~/RMAIL") "\
136Name of user's primary mail file."
137 :type 'string
138 :group 'rmail
139 :version "21.1")
140
141(defvar rmail-spool-directory
142 (purecopy
143 (cond ((file-exists-p "/var/mail")
144 ;; SVR4 and recent BSD are said to use this.
145 ;; Rather than trying to know precisely which systems use it,
146 ;; let's assume this dir is never used for anything else.
147 "/var/mail/")
148 ;; Many GNU/Linux systems use this name.
149 ((file-exists-p "/var/spool/mail")
150 "/var/spool/mail/")
151 ((memq system-type '(hpux usg-unix-v irix))
152 "/usr/mail/")
153 (t "/usr/spool/mail/")))
154 "Name of directory used by system mailer for delivering new mail.
155Its name should end with a slash.")
156
157(defcustom remote-shell-program 104(defcustom remote-shell-program
158 (purecopy 105 (purecopy
159 (cond 106 (cond
@@ -180,9 +127,4 @@ Its name should end with a slash.")
180 :group 'environment 127 :group 'environment
181 :type 'file) 128 :type 'file)
182 129
183(defvar term-file-prefix (purecopy "term/") "\
184If non-nil, Emacs startup does (load (concat term-file-prefix (getenv \"TERM\")))
185You may set this variable to nil in your `.emacs' file if you do not wish
186the terminal-initialization file to be loaded.")
187
188;;; paths.el ends here 130;;; paths.el ends here
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index d57a3128a16..07cb43b64a2 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -209,7 +209,8 @@ It creates the Imenu index for the buffer, if necessary."
209 (setq imenu--index-alist 209 (setq imenu--index-alist
210 (save-excursion (funcall imenu-create-index-function)))) 210 (save-excursion (funcall imenu-create-index-function))))
211 (error 211 (error
212 (unless (equal err '(error "This buffer cannot use `imenu-default-create-index-function'")) 212 (unless (equal err
213 '(user-error "This buffer cannot use `imenu-default-create-index-function'"))
213 (message "which-func-ff-hook error: %S" err)) 214 (message "which-func-ff-hook error: %S" err))
214 (setq which-func-mode nil)))) 215 (setq which-func-mode nil))))
215 216
diff --git a/lisp/version.el b/lisp/version.el
index d7fb05ea465..804727a07c2 100644
--- a/lisp/version.el
+++ b/lisp/version.el
@@ -1,4 +1,4 @@
1;;; version.el --- record version number of Emacs 1;;; version.el --- record version number of Emacs -*- no-byte-compile: t -*-
2 2
3;; Copyright (C) 1985, 1992, 1994-1995, 1999-2012 3;; Copyright (C) 1985, 1992, 1994-1995, 1999-2012
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
@@ -121,9 +121,4 @@ Optional argument DIR is a directory to use instead of `source-directory'."
121(purecopy (concat "\n$Id: " (subst-char-in-string ?\n ?\s (emacs-version)) 121(purecopy (concat "\n$Id: " (subst-char-in-string ?\n ?\s (emacs-version))
122 " $\n")) 122 " $\n"))
123 123
124;; Local Variables:
125;; version-control: never
126;; no-byte-compile: t
127;; End:
128
129;;; version.el ends here 124;;; version.el ends here