diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 40 | ||||
| -rw-r--r-- | lisp/ChangeLog.15 | 2 | ||||
| -rw-r--r-- | lisp/facemenu.el | 11 | ||||
| -rw-r--r-- | lisp/faces.el | 4 | ||||
| -rw-r--r-- | lisp/font-lock.el | 8 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 37 | ||||
| -rw-r--r-- | lisp/gnus/gnus-registry.el | 33 | ||||
| -rw-r--r-- | lisp/gnus/gnus-util.el | 8 | ||||
| -rw-r--r-- | lisp/gnus/nnir.el | 8 | ||||
| -rw-r--r-- | lisp/gnus/nnmairix.el | 7 | ||||
| -rw-r--r-- | lisp/gnus/nnregistry.el | 7 | ||||
| -rw-r--r-- | lisp/international/mule.el | 4 | ||||
| -rw-r--r-- | lisp/net/tramp.el | 2 | ||||
| -rw-r--r-- | lisp/vc/log-edit.el | 2 | ||||
| -rw-r--r-- | lisp/vc/vc.el | 2 |
15 files changed, 138 insertions, 37 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 471b1219c19..e058f387a93 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,4 +1,38 @@ | |||
| 1 | 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change) | 1 | 2011-10-18 Juanma Barranquero <lekktu@gmail.com> |
| 2 | |||
| 3 | * facemenu.el (list-colors-duplicates): On Windows, detect more | ||
| 4 | duplicates by assuming that only colors matching "^System" are | ||
| 5 | special "system colors". (Bug#9722) | ||
| 6 | |||
| 7 | 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 8 | |||
| 9 | * vc/log-edit.el (log-edit): Add "Author:" header to encourage people | ||
| 10 | to distinguish the author from the committer. | ||
| 11 | |||
| 12 | 2011-10-18 Michael Albinus <michael.albinus@gmx.de> | ||
| 13 | |||
| 14 | * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently. | ||
| 15 | |||
| 16 | 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change) | ||
| 17 | |||
| 18 | * international/mule.el (sgml-html-meta-auto-coding-function): | ||
| 19 | Add support for detecting encoding in HTML5 specified only as | ||
| 20 | <meta charset="UTF-8">. Implementation just makes http-equiv and | ||
| 21 | content-type parts from HTML4 encoding string optional. (Bug#9716) | ||
| 22 | |||
| 23 | 2011-10-18 Glenn Morris <rgm@gnu.org> | ||
| 24 | |||
| 25 | * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745) | ||
| 26 | |||
| 27 | 2011-10-18 Chong Yidong <cyd@gnu.org> | ||
| 28 | |||
| 29 | * faces.el (cursor): Doc fix. | ||
| 30 | |||
| 31 | 2011-10-17 Chong Yidong <cyd@gnu.org> | ||
| 32 | |||
| 33 | * font-lock.el (font-lock-maximum-size): Mark as obsolete. | ||
| 34 | |||
| 35 | 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change) | ||
| 2 | 36 | ||
| 3 | * dirtrack.el (dirtrack): Support shell buffers with path | 37 | * dirtrack.el (dirtrack): Support shell buffers with path |
| 4 | prefixes, e.g. tramp-based remote shells. (Bug#9647) | 38 | prefixes, e.g. tramp-based remote shells. (Bug#9647) |
| @@ -437,8 +471,8 @@ | |||
| 437 | 471 | ||
| 438 | * net/newst-reader.el (newsticker-html-renderer) | 472 | * net/newst-reader.el (newsticker-html-renderer) |
| 439 | (newsticker-show-news): Automatically | 473 | (newsticker-show-news): Automatically |
| 440 | load html rendering package if newsticker-html-renderer is | 474 | load html rendering package if newsticker-html-renderer is set. |
| 441 | set. Fixes "Warning: defvar ignored because w3m-fill-column is | 475 | Fixes "Warning: defvar ignored because w3m-fill-column is |
| 442 | let-bound" and the error "Symbol's value as variable is void: | 476 | let-bound" and the error "Symbol's value as variable is void: |
| 443 | w3m-fill-column". | 477 | w3m-fill-column". |
| 444 | 478 | ||
diff --git a/lisp/ChangeLog.15 b/lisp/ChangeLog.15 index 2acf847cddc..9cb24baeb1f 100644 --- a/lisp/ChangeLog.15 +++ b/lisp/ChangeLog.15 | |||
| @@ -22676,7 +22676,7 @@ | |||
| 22676 | (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the | 22676 | (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the |
| 22677 | backend when calling vc-mode-line. | 22677 | backend when calling vc-mode-line. |
| 22678 | (vc-register): Do not create a closure for calling the vc register | 22678 | (vc-register): Do not create a closure for calling the vc register |
| 22679 | function, call it directly. | 22679 | function, call it directly. No longer obey vc-initial-comment. |
| 22680 | 22680 | ||
| 22681 | 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu> | 22681 | 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu> |
| 22682 | 22682 | ||
diff --git a/lisp/facemenu.el b/lisp/facemenu.el index a18b892efe8..54b17d58f33 100644 --- a/lisp/facemenu.el +++ b/lisp/facemenu.el | |||
| @@ -639,8 +639,15 @@ a list of colors that the current display can handle." | |||
| 639 | (l list)) | 639 | (l list)) |
| 640 | (while (cdr l) | 640 | (while (cdr l) |
| 641 | (if (and (facemenu-color-equal (car (car l)) (car (car (cdr l)))) | 641 | (if (and (facemenu-color-equal (car (car l)) (car (car (cdr l)))) |
| 642 | (not (if (fboundp 'w32-default-color-map) | 642 | ;; On MS-Windows, there are logical colors that might have |
| 643 | (not (assoc (car (car l)) (w32-default-color-map)))))) | 643 | ;; the same value but different names and meanings. For |
| 644 | ;; example, `SystemMenuText' (the color w32 uses for the | ||
| 645 | ;; text in menu entries) and `SystemWindowText' (the default | ||
| 646 | ;; color w32 uses for the text in windows and dialogs) may | ||
| 647 | ;; be the same display color and be adjacent in the list. | ||
| 648 | ;; This makes them different to any other color. Bug#9722 | ||
| 649 | (not (and (eq system-type 'windows-nt) | ||
| 650 | (string-match-p "^System" (car (car l)))))) | ||
| 644 | (progn | 651 | (progn |
| 645 | (setcdr (car l) (cons (car (car (cdr l))) (cdr (car l)))) | 652 | (setcdr (car l) (cons (car (car (cdr l))) (cdr (car l)))) |
| 646 | (setcdr l (cdr (cdr l)))) | 653 | (setcdr l (cdr (cdr l)))) |
diff --git a/lisp/faces.el b/lisp/faces.el index d5f0ef90ee0..45173eb35da 100644 --- a/lisp/faces.el +++ b/lisp/faces.el | |||
| @@ -2366,6 +2366,10 @@ used to display the prompt text." | |||
| 2366 | '((((background light)) :background "black") | 2366 | '((((background light)) :background "black") |
| 2367 | (((background dark)) :background "white")) | 2367 | (((background dark)) :background "white")) |
| 2368 | "Basic face for the cursor color under X. | 2368 | "Basic face for the cursor color under X. |
| 2369 | Currently, only the `:background' attribute is meaningful; all | ||
| 2370 | other attributes are ignored. The cursor foreground color is | ||
| 2371 | taken from the background color of the underlying text. | ||
| 2372 | |||
| 2369 | Note: Other faces cannot inherit from the cursor face." | 2373 | Note: Other faces cannot inherit from the cursor face." |
| 2370 | :version "21.1" | 2374 | :version "21.1" |
| 2371 | :group 'cursor | 2375 | :group 'cursor |
diff --git a/lisp/font-lock.el b/lisp/font-lock.el index c37a9ae916e..2f4b7413dcc 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el | |||
| @@ -228,8 +228,11 @@ | |||
| 228 | ;; User variables. | 228 | ;; User variables. |
| 229 | 229 | ||
| 230 | (defcustom font-lock-maximum-size 256000 | 230 | (defcustom font-lock-maximum-size 256000 |
| 231 | "Maximum size of a buffer for buffer fontification. | 231 | "Maximum buffer size for unsupported buffer fontification. |
| 232 | Only buffers less than this can be fontified when Font Lock mode is turned on. | 232 | When `font-lock-support-mode' is nil, only buffers smaller than |
| 233 | this are fontified. This variable has no effect if a Font Lock | ||
| 234 | support mode (usually `jit-lock-mode') is enabled. | ||
| 235 | |||
| 233 | If nil, means size is irrelevant. | 236 | If nil, means size is irrelevant. |
| 234 | If a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE), | 237 | If a list, each element should be a cons pair of the form (MAJOR-MODE . SIZE), |
| 235 | where MAJOR-MODE is a symbol or t (meaning the default). For example: | 238 | where MAJOR-MODE is a symbol or t (meaning the default). For example: |
| @@ -248,6 +251,7 @@ for buffers in Rmail mode, and size is irrelevant otherwise." | |||
| 248 | (const :tag "none" nil) | 251 | (const :tag "none" nil) |
| 249 | (integer :tag "size"))))) | 252 | (integer :tag "size"))))) |
| 250 | :group 'font-lock) | 253 | :group 'font-lock) |
| 254 | (make-obsolete-variable 'font-lock-maximum-size nil "24.1") | ||
| 251 | 255 | ||
| 252 | (defcustom font-lock-maximum-decoration t | 256 | (defcustom font-lock-maximum-decoration t |
| 253 | "Maximum decoration level for fontification. | 257 | "Maximum decoration level for fontification. |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index cc2568a3647..b7f41e22e50 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,9 +1,42 @@ | |||
| 1 | 2011-10-18 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 2 | |||
| 3 | * gnus-util.el (gnus-bound-and-true-p): Macro for XEmacs compatibility. | ||
| 4 | * nnir.el (nnir-mode): Use it. | ||
| 5 | * nnmairix.el (nnmairix-determine-original-group-from-registry): | ||
| 6 | Use it. | ||
| 7 | |||
| 8 | * nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy. | ||
| 9 | * nnmairix.el (gnus-registry-enabled): Ditto. | ||
| 10 | |||
| 11 | 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 12 | |||
| 13 | * gnus-registry.el (gnus-registry-enabled): Add new variable. | ||
| 14 | (gnus-registry-install-shortcuts): Set `gnus-registry-install' to 'ask | ||
| 15 | only while we need to find out if it should be t or nil. | ||
| 16 | (gnus-registry-initialize): Don't set `gnus-registry-install' to t. | ||
| 17 | (gnus-registry-install-hooks): Set `gnus-registry-enabled' to t when | ||
| 18 | the registry is installed. Set it to nil when it's unloaded. | ||
| 19 | (gnus-registry-install-p): Provide user guidance for the initial value | ||
| 20 | of `gnus-registry-install' when it's 'ask, otherwise return its value. | ||
| 21 | * nnregistry.el (nnregistry-open-server, nnregistry-server-opened): | ||
| 22 | Use `gnus-registry-enabled' instead of `gnus-registry-install'. | ||
| 23 | * nnmairix.el (nnmairix-determine-original-group-from-registry): | ||
| 24 | Use `gnus-registry-enabled' instead of `gnus-registry-install'. | ||
| 25 | * nnir.el (nnir-mode): Use `gnus-registry-enabled' instead of | ||
| 26 | `gnus-registry-install'. | ||
| 27 | From Dave Abrahams <dave@boostpro.com>. | ||
| 28 | |||
| 1 | 2011-10-17 Daiki Ueno <ueno@unixuser.org> | 29 | 2011-10-17 Daiki Ueno <ueno@unixuser.org> |
| 2 | 30 | ||
| 31 | * mml2015.el (mml2015-epg-find-usable-key): Add comment about the | ||
| 32 | previous change. | ||
| 33 | * mml1991.el (mml1991-epg-find-usable-key): Skip the whole key if the | ||
| 34 | primary key is marked as disabled. | ||
| 35 | |||
| 36 | 2011-10-17 Christian von Roques <roques@mti.ag> (tiny change) | ||
| 37 | |||
| 3 | * mml2015.el (mml2015-epg-find-usable-key): Skip the whole key if the | 38 | * mml2015.el (mml2015-epg-find-usable-key): Skip the whole key if the |
| 4 | primary key is marked as disabled. | 39 | primary key is marked as disabled. |
| 5 | * mml1991.el (mml1991-epg-find-usable-key): Ditto. | ||
| 6 | Thanks to Christian von Roques <roques@mti.ag>. | ||
| 7 | 40 | ||
| 8 | 2011-10-11 Andreas Schwab <schwab@linux-m68k.org> | 41 | 2011-10-11 Andreas Schwab <schwab@linux-m68k.org> |
| 9 | 42 | ||
diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el index f8ff52f128f..652e816e56a 100644 --- a/lisp/gnus/gnus-registry.el +++ b/lisp/gnus/gnus-registry.el | |||
| @@ -164,6 +164,8 @@ nnmairix groups are specifically excluded because they are ephemeral." | |||
| 164 | (const :tag "Always Install" t) | 164 | (const :tag "Always Install" t) |
| 165 | (const :tag "Ask Me" ask))) | 165 | (const :tag "Ask Me" ask))) |
| 166 | 166 | ||
| 167 | (defvar gnus-registry-enabled) | ||
| 168 | |||
| 167 | (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning. | 169 | (defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning. |
| 168 | 170 | ||
| 169 | (defvar gnus-registry-misc-menus nil) ; ugly way to keep the menus | 171 | (defvar gnus-registry-misc-menus nil) ; ugly way to keep the menus |
| @@ -873,8 +875,9 @@ Uses `gnus-registry-marks' to find what shortcuts to install." | |||
| 873 | 875 | ||
| 874 | ;; if this is called and the user doesn't want the | 876 | ;; if this is called and the user doesn't want the |
| 875 | ;; registry enabled, we'll ask anyhow | 877 | ;; registry enabled, we'll ask anyhow |
| 876 | (when (eq gnus-registry-install nil) | 878 | (unless gnus-registry-install |
| 877 | (setq gnus-registry-install 'ask)) | 879 | (let ((gnus-registry-install 'ask)) |
| 880 | (gnus-registry-install-p))) | ||
| 878 | 881 | ||
| 879 | ;; now the user is asked if gnus-registry-install is 'ask | 882 | ;; now the user is asked if gnus-registry-install is 'ask |
| 880 | (when (gnus-registry-install-p) | 883 | (when (gnus-registry-install-p) |
| @@ -1151,7 +1154,6 @@ only the last one's marks are returned." | |||
| 1151 | "Initialize the Gnus registry." | 1154 | "Initialize the Gnus registry." |
| 1152 | (interactive) | 1155 | (interactive) |
| 1153 | (gnus-message 5 "Initializing the registry") | 1156 | (gnus-message 5 "Initializing the registry") |
| 1154 | (setq gnus-registry-install t) ; in case it was 'ask or nil | ||
| 1155 | (gnus-registry-install-hooks) | 1157 | (gnus-registry-install-hooks) |
| 1156 | (gnus-registry-install-shortcuts) | 1158 | (gnus-registry-install-shortcuts) |
| 1157 | (gnus-registry-read)) | 1159 | (gnus-registry-read)) |
| @@ -1160,6 +1162,7 @@ only the last one's marks are returned." | |||
| 1160 | (defun gnus-registry-install-hooks () | 1162 | (defun gnus-registry-install-hooks () |
| 1161 | "Install the registry hooks." | 1163 | "Install the registry hooks." |
| 1162 | (interactive) | 1164 | (interactive) |
| 1165 | (setq gnus-registry-enabled t) | ||
| 1163 | (add-hook 'gnus-summary-article-move-hook 'gnus-registry-action) | 1166 | (add-hook 'gnus-summary-article-move-hook 'gnus-registry-action) |
| 1164 | (add-hook 'gnus-summary-article-delete-hook 'gnus-registry-action) | 1167 | (add-hook 'gnus-summary-article-delete-hook 'gnus-registry-action) |
| 1165 | (add-hook 'gnus-summary-article-expire-hook 'gnus-registry-action) | 1168 | (add-hook 'gnus-summary-article-expire-hook 'gnus-registry-action) |
| @@ -1181,23 +1184,25 @@ only the last one's marks are returned." | |||
| 1181 | (remove-hook 'gnus-save-newsrc-hook 'gnus-registry-save) | 1184 | (remove-hook 'gnus-save-newsrc-hook 'gnus-registry-save) |
| 1182 | (remove-hook 'gnus-read-newsrc-el-hook 'gnus-registry-read) | 1185 | (remove-hook 'gnus-read-newsrc-el-hook 'gnus-registry-read) |
| 1183 | 1186 | ||
| 1184 | (remove-hook 'gnus-summary-prepare-hook 'gnus-registry-register-message-ids)) | 1187 | (remove-hook 'gnus-summary-prepare-hook 'gnus-registry-register-message-ids) |
| 1188 | (setq gnus-registry-enabled nil)) | ||
| 1185 | 1189 | ||
| 1186 | (add-hook 'gnus-registry-unload-hook 'gnus-registry-unload-hook) | 1190 | (add-hook 'gnus-registry-unload-hook 'gnus-registry-unload-hook) |
| 1187 | 1191 | ||
| 1188 | (defun gnus-registry-install-p () | 1192 | (defun gnus-registry-install-p () |
| 1193 | "If the registry is not already enabled, and `gnus-registry-install' is t, | ||
| 1194 | the registry is enabled. If `gnus-registry-install' is `ask', | ||
| 1195 | the user is asked first. Returns non-nil iff the registry is enabled." | ||
| 1189 | (interactive) | 1196 | (interactive) |
| 1190 | (when (eq gnus-registry-install 'ask) | 1197 | (unless gnus-registry-enabled |
| 1191 | (setq gnus-registry-install | 1198 | (when (if (eq gnus-registry-install 'ask) |
| 1192 | (gnus-y-or-n-p | 1199 | (gnus-y-or-n-p |
| 1193 | (concat "Enable the Gnus registry? " | 1200 | (concat "Enable the Gnus registry? " |
| 1194 | "See the variable `gnus-registry-install' " | 1201 | "See the variable `gnus-registry-install' " |
| 1195 | "to get rid of this query permanently. "))) | 1202 | "to get rid of this query permanently. ")) |
| 1196 | (when gnus-registry-install | 1203 | gnus-registry-install) |
| 1197 | ;; we just set gnus-registry-install to t, so initialize the registry! | ||
| 1198 | (gnus-registry-initialize))) | 1204 | (gnus-registry-initialize))) |
| 1199 | ;;; we could call it here: (customize-variable 'gnus-registry-install) | 1205 | gnus-registry-enabled) |
| 1200 | gnus-registry-install) | ||
| 1201 | 1206 | ||
| 1202 | ;; TODO: a few things | 1207 | ;; TODO: a few things |
| 1203 | 1208 | ||
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index e9d6ba423fd..9c5e6e8312b 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el | |||
| @@ -1986,6 +1986,14 @@ definitions to shadow the loaded ones for use in file byte-compilation." | |||
| 1986 | (gnus-macroexpand-all expanded environment))) | 1986 | (gnus-macroexpand-all expanded environment))) |
| 1987 | form)))) | 1987 | form)))) |
| 1988 | 1988 | ||
| 1989 | (eval-when-compile | ||
| 1990 | ;; This is unnecessary in the compiled version as it is a macro. | ||
| 1991 | (if (fboundp 'bound-and-true-p) | ||
| 1992 | (defalias 'gnus-bound-and-true-p 'bound-and-true-p) | ||
| 1993 | (defmacro gnus-bound-and-true-p (var) | ||
| 1994 | "Return the value of symbol VAR if it is bound, else nil." | ||
| 1995 | `(and (boundp (quote ,var)) ,var)))) | ||
| 1996 | |||
| 1989 | (provide 'gnus-util) | 1997 | (provide 'gnus-util) |
| 1990 | 1998 | ||
| 1991 | ;;; gnus-util.el ends here | 1999 | ;;; gnus-util.el ends here |
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 0be6a17d50e..2d3c05864e8 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el | |||
| @@ -290,9 +290,10 @@ is `(valuefunc member)'." | |||
| 290 | (autoload 'nnimap-command "nnimap") | 290 | (autoload 'nnimap-command "nnimap") |
| 291 | (autoload 'nnimap-possibly-change-group "nnimap") | 291 | (autoload 'nnimap-possibly-change-group "nnimap") |
| 292 | (autoload 'nnimap-make-thread-query "nnimap") | 292 | (autoload 'nnimap-make-thread-query "nnimap") |
| 293 | (autoload 'gnus-registry-action "gnus-registry") | 293 | (autoload 'gnus-registry-action "gnus-registry")) |
| 294 | (defvar gnus-registry-install)) | ||
| 295 | 294 | ||
| 295 | ;; Suppress byte-compiler warning `reference to free variable' | ||
| 296 | (defvar gnus-registry-enabled) | ||
| 296 | 297 | ||
| 297 | (nnoo-declare nnir) | 298 | (nnoo-declare nnir) |
| 298 | (nnoo-define-basics nnir) | 299 | (nnoo-define-basics nnir) |
| @@ -1741,8 +1742,7 @@ environment unless `not-global' is non-nil." | |||
| 1741 | (when (eq (car (gnus-find-method-for-group gnus-newsgroup-name)) 'nnir) | 1742 | (when (eq (car (gnus-find-method-for-group gnus-newsgroup-name)) 'nnir) |
| 1742 | (setq gnus-summary-line-format | 1743 | (setq gnus-summary-line-format |
| 1743 | (or nnir-summary-line-format gnus-summary-line-format)) | 1744 | (or nnir-summary-line-format gnus-summary-line-format)) |
| 1744 | (when (and (boundp 'gnus-registry-install) | 1745 | (when (gnus-bound-and-true-p gnus-registry-enabled) |
| 1745 | (eq gnus-registry-install t)) | ||
| 1746 | (remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t) | 1746 | (remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t) |
| 1747 | (remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t) | 1747 | (remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t) |
| 1748 | (remove-hook 'gnus-summary-article-expire-hook 'gnus-registry-action t) | 1748 | (remove-hook 'gnus-summary-article-expire-hook 'gnus-registry-action t) |
diff --git a/lisp/gnus/nnmairix.el b/lisp/gnus/nnmairix.el index 3d1ac02b6aa..1bf28c5d32f 100644 --- a/lisp/gnus/nnmairix.el +++ b/lisp/gnus/nnmairix.el | |||
| @@ -603,9 +603,11 @@ Other back ends might or might not work.") | |||
| 603 | nil)) | 603 | nil)) |
| 604 | 604 | ||
| 605 | ;; Silence byte-compiler. | 605 | ;; Silence byte-compiler. |
| 606 | (defvar gnus-registry-install) | ||
| 607 | (autoload 'gnus-registry-get-id-key "gnus-registry") | 606 | (autoload 'gnus-registry-get-id-key "gnus-registry") |
| 608 | 607 | ||
| 608 | ;; Suppress byte-compiler warning `reference to free variable' | ||
| 609 | (defvar gnus-registry-enabled) | ||
| 610 | |||
| 609 | (deffoo nnmairix-request-set-mark (group actions &optional server) | 611 | (deffoo nnmairix-request-set-mark (group actions &optional server) |
| 610 | (when server | 612 | (when server |
| 611 | (nnmairix-open-server server)) | 613 | (nnmairix-open-server server)) |
| @@ -1636,8 +1638,7 @@ search in raw mode." | |||
| 1636 | 1638 | ||
| 1637 | (defun nnmairix-determine-original-group-from-registry (mid) | 1639 | (defun nnmairix-determine-original-group-from-registry (mid) |
| 1638 | "Try to determinale original group for message-id MID from the registry." | 1640 | "Try to determinale original group for message-id MID from the registry." |
| 1639 | (when (and (boundp 'gnus-registry-install) | 1641 | (when (gnus-bound-and-true-p gnus-registry-enabled) |
| 1640 | gnus-registry-install) | ||
| 1641 | (unless (string-match "^<" mid) | 1642 | (unless (string-match "^<" mid) |
| 1642 | (set mid (concat "<" mid))) | 1643 | (set mid (concat "<" mid))) |
| 1643 | (unless (string-match ">$" mid) | 1644 | (unless (string-match ">$" mid) |
diff --git a/lisp/gnus/nnregistry.el b/lisp/gnus/nnregistry.el index 359050c356c..75a640a428a 100644 --- a/lisp/gnus/nnregistry.el +++ b/lisp/gnus/nnregistry.el | |||
| @@ -36,8 +36,11 @@ | |||
| 36 | 36 | ||
| 37 | (nnoo-declare nnregistry) | 37 | (nnoo-declare nnregistry) |
| 38 | 38 | ||
| 39 | ;; Suppress byte-compiler warning `reference to free variable' | ||
| 40 | (defvar gnus-registry-enabled) | ||
| 41 | |||
| 39 | (deffoo nnregistry-server-opened (server) | 42 | (deffoo nnregistry-server-opened (server) |
| 40 | (eq gnus-registry-install t)) | 43 | gnus-registry-enabled) |
| 41 | 44 | ||
| 42 | (deffoo nnregistry-close-server (server) | 45 | (deffoo nnregistry-close-server (server) |
| 43 | t) | 46 | t) |
| @@ -46,7 +49,7 @@ | |||
| 46 | nil) | 49 | nil) |
| 47 | 50 | ||
| 48 | (deffoo nnregistry-open-server (server &optional defs) | 51 | (deffoo nnregistry-open-server (server &optional defs) |
| 49 | (eq gnus-registry-install t)) | 52 | gnus-registry-enabled) |
| 50 | 53 | ||
| 51 | (defvar nnregistry-within-nnregistry nil) | 54 | (defvar nnregistry-within-nnregistry nil) |
| 52 | 55 | ||
diff --git a/lisp/international/mule.el b/lisp/international/mule.el index 4a387a233a0..cac37b3b8c5 100644 --- a/lisp/international/mule.el +++ b/lisp/international/mule.el | |||
| @@ -2403,8 +2403,8 @@ This function is intended to be added to `auto-coding-functions'." | |||
| 2403 | ;; (allowing for whitespace at bob). Note: 'DOCTYPE NETSCAPE' is | 2403 | ;; (allowing for whitespace at bob). Note: 'DOCTYPE NETSCAPE' is |
| 2404 | ;; useful for Mozilla bookmark files. | 2404 | ;; useful for Mozilla bookmark files. |
| 2405 | (when (and (re-search-forward "\\`[[:space:]\n]*\\(<!doctype[[:space:]\n]+\\(html\\|netscape\\)\\|<html\\)" size t) | 2405 | (when (and (re-search-forward "\\`[[:space:]\n]*\\(<!doctype[[:space:]\n]+\\(html\\|netscape\\)\\|<html\\)" size t) |
| 2406 | (re-search-forward "<meta\\s-+http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']text/\\sw+;\\s-*charset=\\(.+?\\)[\"']" size t)) | 2406 | (re-search-forward "<meta\\s-+\\(http-equiv=[\"']?content-type[\"']?\\s-+content=[\"']text/\\sw+;\\s-*\\)?charset=[\"']?\\(.+?\\)[\"'\\s-/>]" size t)) |
| 2407 | (let* ((match (match-string 1)) | 2407 | (let* ((match (match-string 2)) |
| 2408 | (sym (intern (downcase match)))) | 2408 | (sym (intern (downcase match)))) |
| 2409 | (if (coding-system-p sym) | 2409 | (if (coding-system-p sym) |
| 2410 | sym | 2410 | sym |
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index adc66f6766c..cc4fda32dff 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -1886,7 +1886,7 @@ Falls back to normal file name handler if no Tramp file name handler exists." | |||
| 1886 | (when (and (listp sf) (eq (car sf) 'autoload)) | 1886 | (when (and (listp sf) (eq (car sf) 'autoload)) |
| 1887 | (let ((default-directory | 1887 | (let ((default-directory |
| 1888 | (tramp-compat-temporary-file-directory))) | 1888 | (tramp-compat-temporary-file-directory))) |
| 1889 | (load (cadr sf) 'noerror))) | 1889 | (load (cadr sf) 'noerror 'nomessage))) |
| 1890 | (apply foreign operation args)) | 1890 | (apply foreign operation args)) |
| 1891 | 1891 | ||
| 1892 | ;; Trace that somebody has interrupted the operation. | 1892 | ;; Trace that somebody has interrupted the operation. |
diff --git a/lisp/vc/log-edit.el b/lisp/vc/log-edit.el index b3f5cfb78f7..ebbe318fc15 100644 --- a/lisp/vc/log-edit.el +++ b/lisp/vc/log-edit.el | |||
| @@ -386,7 +386,7 @@ uses the current buffer." | |||
| 386 | (setq setup (not setup))) | 386 | (setq setup (not setup))) |
| 387 | (when setup | 387 | (when setup |
| 388 | (erase-buffer) | 388 | (erase-buffer) |
| 389 | (insert "Summary: ") | 389 | (insert "Summary: \nAuthor: ") |
| 390 | (save-excursion (insert "\n\n"))) | 390 | (save-excursion (insert "\n\n"))) |
| 391 | (if mode | 391 | (if mode |
| 392 | (funcall mode) | 392 | (funcall mode) |
diff --git a/lisp/vc/vc.el b/lisp/vc/vc.el index 62536fd94be..cdc4f155083 100644 --- a/lisp/vc/vc.el +++ b/lisp/vc/vc.el | |||
| @@ -675,6 +675,8 @@ | |||
| 675 | :type 'boolean | 675 | :type 'boolean |
| 676 | :group 'vc) | 676 | :group 'vc) |
| 677 | 677 | ||
| 678 | (make-obsolete-variable 'vc-initial-comment "it has no effect." "23.2") | ||
| 679 | |||
| 678 | (defcustom vc-default-init-revision "1.1" | 680 | (defcustom vc-default-init-revision "1.1" |
| 679 | "A string used as the default revision number when a new file is registered. | 681 | "A string used as the default revision number when a new file is registered. |
| 680 | This can be overridden by giving a prefix argument to \\[vc-register]. This | 682 | This can be overridden by giving a prefix argument to \\[vc-register]. This |