aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2011-11-01 23:13:15 -0700
committerPaul Eggert2011-11-01 23:13:15 -0700
commit3616c8b26bfaf024d803371b85bee571cd6f061f (patch)
treebd7b5e6e3560b0496c144b13b44c1917cb9de8dc /lisp
parent5b0d046d5b6a6743be6888d02352b878151e1d6c (diff)
parentdb22a3c27b078148c26a9f50afca5454a68d37d1 (diff)
downloademacs-3616c8b26bfaf024d803371b85bee571cd6f061f.tar.gz
emacs-3616c8b26bfaf024d803371b85bee571cd6f061f.zip
Merge from trunk.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog24
-rw-r--r--lisp/gnus/ChangeLog16
-rw-r--r--lisp/gnus/gnus-registry.el2
-rw-r--r--lisp/gnus/gnus-util.el3
-rw-r--r--lisp/gnus/nnir.el5
-rw-r--r--lisp/gnus/nnmairix.el5
-rw-r--r--lisp/gnus/nnregistry.el3
-rw-r--r--lisp/help.el5
-rw-r--r--lisp/vc/vc-bzr.el4
-rw-r--r--lisp/vc/vc-dir.el4
10 files changed, 43 insertions, 28 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 97ae0232d55..4591b9b9281 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,14 @@
12011-11-02 Juanma Barranquero <lekktu@gmail.com>
2
3 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
4 Accept status with more than 9 shelves. (Bug#9935)
5 Reported by Colin D Bennett <colin@gibibit.com>.
6
72011-11-01 Martin Rudalics <rudalics@gmx.at>
8
9 * help.el (with-help-window): Don't reference
10 temp-buffer-show-specifiers in doc-string.
11
12011-10-31 Andreas Schwab <schwab@linux-m68k.org> 122011-10-31 Andreas Schwab <schwab@linux-m68k.org>
2 13
3 * subr.el (keymap--menu-item-with-binding): Ignore item if not a 14 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
@@ -14,8 +25,8 @@
14 * net/newst-treeview.el: Remove "Time-stamp". 25 * net/newst-treeview.el: Remove "Time-stamp".
15 (newsticker--group-manage-orphan-feeds): Do not call 26 (newsticker--group-manage-orphan-feeds): Do not call
16 newsticker--treeview-tree-update. 27 newsticker--treeview-tree-update.
17 (newsticker-treeview-update, newsticker-treeview): Call 28 (newsticker-treeview-update, newsticker-treeview):
18 newsticker--treeview-tree-update if necessary. 29 Call newsticker--treeview-tree-update if necessary.
19 30
202011-10-30 Martin Rudalics <rudalics@gmx.at> 312011-10-30 Martin Rudalics <rudalics@gmx.at>
21 32
@@ -28,8 +39,7 @@
28 (split-window, balance-windows-1) 39 (split-window, balance-windows-1)
29 (shrink-window-if-larger-than-buffer): 40 (shrink-window-if-larger-than-buffer):
30 * calendar/calendar.el (calendar-generate-window): 41 * calendar/calendar.el (calendar-generate-window):
31 * help.el (resize-temp-buffer-window): Adjust callers 42 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
32 accordingly.
33 43
342011-10-30 Stefan Monnier <monnier@iro.umontreal.ca> 442011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
35 45
@@ -104,7 +114,7 @@
104 114
1052011-10-28 Alan Mackenzie <acm@muc.de> 1152011-10-28 Alan Mackenzie <acm@muc.de>
106 116
107 * progmodes/cc-defs.el (c-version). -> 5.32.2. 117 * progmodes/cc-defs.el (c-version): -> 5.32.2.
108 118
1092011-10-28 Alan Mackenzie <acm@muc.de> 1192011-10-28 Alan Mackenzie <acm@muc.de>
110 120
@@ -292,7 +302,7 @@
292 Fix bug #9560, sporadic wrong indentation; improve instrumentation 302 Fix bug #9560, sporadic wrong indentation; improve instrumentation
293 of c-parse-state. 303 of c-parse-state.
294 304
295 * cc-engine.el (c-append-lower-brace-pair-to-state-cache): 305 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
296 correct faulty logical expression. 306 correct faulty logical expression.
297 (c-parse-state-state, c-record-parse-state-state): 307 (c-parse-state-state, c-record-parse-state-state):
298 (c-replay-parse-state-state): New defvar/defuns. 308 (c-replay-parse-state-state): New defvar/defuns.
@@ -334,7 +344,7 @@
334 344
3352011-10-20 Glenn Morris <rgm@gnu.org> 3452011-10-20 Glenn Morris <rgm@gnu.org>
336 346
337 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781) 347 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
338 348
3392011-10-20 Christoph Scholtes <cschol2112@googlemail.com> 3492011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
340 350
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 7519252f037..a208ccefd4c 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,17 @@
12011-10-31 Teodor Zlatanov <tzz@lifelogs.com>
2
3 * gnus-util.el (gnus-bound-and-true-dumber-p): Define new, slower, dumb
4 function because `gnus-bound-and-true-p' doesn't work well in XEmacs
5 for reasons unknown.
6 * nnir.el: Use it.
7 * nnmairix.el: Use it.
8
9 * nnregistry.el: Remove unnecessary `gnus-registry-enabled' defvar.
10 * nnir.el: Ditto.
11 * nnmairix.el: Ditto.
12
13 * gnus-registry.el (gnus-registry-enabled): Default to nil.
14
12011-10-26 Stefan Monnier <monnier@iro.umontreal.ca> 152011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
2 16
3 * message.el (message-completion-function): Make sure 17 * message.el (message-completion-function): Make sure
@@ -25,7 +39,7 @@
25 * nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy. 39 * nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy.
26 * nnmairix.el (gnus-registry-enabled): Ditto. 40 * nnmairix.el (gnus-registry-enabled): Ditto.
27 41
282011-10-17 Dave Abrahams <dave@boostpro.com> 422011-10-17 Dave Abrahams <dave@boostpro.com> (tiny change)
29 43
30 * gnus-registry.el (gnus-registry-enabled): Add new variable. (Bug#9691) 44 * gnus-registry.el (gnus-registry-enabled): Add new variable. (Bug#9691)
31 (gnus-registry-install-shortcuts): Set `gnus-registry-install' to 'ask 45 (gnus-registry-install-shortcuts): Set `gnus-registry-install' to 'ask
diff --git a/lisp/gnus/gnus-registry.el b/lisp/gnus/gnus-registry.el
index 652e816e56a..d25b8b1d24b 100644
--- a/lisp/gnus/gnus-registry.el
+++ b/lisp/gnus/gnus-registry.el
@@ -164,7 +164,7 @@ 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) 167(defvar gnus-registry-enabled nil)
168 168
169(defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning. 169(defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.
170 170
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el
index 9c5e6e8312b..71ed50591ad 100644
--- a/lisp/gnus/gnus-util.el
+++ b/lisp/gnus/gnus-util.el
@@ -1994,6 +1994,9 @@ definitions to shadow the loaded ones for use in file byte-compilation."
1994 "Return the value of symbol VAR if it is bound, else nil." 1994 "Return the value of symbol VAR if it is bound, else nil."
1995 `(and (boundp (quote ,var)) ,var)))) 1995 `(and (boundp (quote ,var)) ,var))))
1996 1996
1997(defun gnus-bound-and-true-dumber-p (sym)
1998 (and (boundp sym) (symbol-value sym)))
1999
1997(provide 'gnus-util) 2000(provide 'gnus-util)
1998 2001
1999;;; gnus-util.el ends here 2002;;; gnus-util.el ends here
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el
index 2d3c05864e8..7087f8dba96 100644
--- a/lisp/gnus/nnir.el
+++ b/lisp/gnus/nnir.el
@@ -292,9 +292,6 @@ is `(valuefunc member)'."
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 294
295;; Suppress byte-compiler warning `reference to free variable'
296(defvar gnus-registry-enabled)
297
298(nnoo-declare nnir) 295(nnoo-declare nnir)
299(nnoo-define-basics nnir) 296(nnoo-define-basics nnir)
300 297
@@ -1742,7 +1739,7 @@ environment unless `not-global' is non-nil."
1742 (when (eq (car (gnus-find-method-for-group gnus-newsgroup-name)) 'nnir) 1739 (when (eq (car (gnus-find-method-for-group gnus-newsgroup-name)) 'nnir)
1743 (setq gnus-summary-line-format 1740 (setq gnus-summary-line-format
1744 (or nnir-summary-line-format gnus-summary-line-format)) 1741 (or nnir-summary-line-format gnus-summary-line-format))
1745 (when (gnus-bound-and-true-p gnus-registry-enabled) 1742 (when (gnus-bound-and-true-dumber-p 'gnus-registry-enabled)
1746 (remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t) 1743 (remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t)
1747 (remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t) 1744 (remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t)
1748 (remove-hook 'gnus-summary-article-expire-hook 'gnus-registry-action t) 1745 (remove-hook 'gnus-summary-article-expire-hook 'gnus-registry-action t)
diff --git a/lisp/gnus/nnmairix.el b/lisp/gnus/nnmairix.el
index 1bf28c5d32f..0e58af73666 100644
--- a/lisp/gnus/nnmairix.el
+++ b/lisp/gnus/nnmairix.el
@@ -605,9 +605,6 @@ Other back ends might or might not work.")
605;; Silence byte-compiler. 605;; Silence byte-compiler.
606(autoload 'gnus-registry-get-id-key "gnus-registry") 606(autoload 'gnus-registry-get-id-key "gnus-registry")
607 607
608;; Suppress byte-compiler warning `reference to free variable'
609(defvar gnus-registry-enabled)
610
611(deffoo nnmairix-request-set-mark (group actions &optional server) 608(deffoo nnmairix-request-set-mark (group actions &optional server)
612 (when server 609 (when server
613 (nnmairix-open-server server)) 610 (nnmairix-open-server server))
@@ -1638,7 +1635,7 @@ search in raw mode."
1638 1635
1639(defun nnmairix-determine-original-group-from-registry (mid) 1636(defun nnmairix-determine-original-group-from-registry (mid)
1640 "Try to determinale original group for message-id MID from the registry." 1637 "Try to determinale original group for message-id MID from the registry."
1641 (when (gnus-bound-and-true-p gnus-registry-enabled) 1638 (when (gnus-bound-and-true-dumber-p 'gnus-registry-enabled)
1642 (unless (string-match "^<" mid) 1639 (unless (string-match "^<" mid)
1643 (set mid (concat "<" mid))) 1640 (set mid (concat "<" mid)))
1644 (unless (string-match ">$" mid) 1641 (unless (string-match ">$" mid)
diff --git a/lisp/gnus/nnregistry.el b/lisp/gnus/nnregistry.el
index 75a640a428a..2001f8f2366 100644
--- a/lisp/gnus/nnregistry.el
+++ b/lisp/gnus/nnregistry.el
@@ -36,9 +36,6 @@
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
42(deffoo nnregistry-server-opened (server) 39(deffoo nnregistry-server-opened (server)
43 gnus-registry-enabled) 40 gnus-registry-enabled)
44 41
diff --git a/lisp/help.el b/lisp/help.el
index bc3d863f357..506889c210e 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1125,10 +1125,7 @@ HELP-WINDOW is the window used for displaying the help buffer."
1125(defmacro with-help-window (buffer-name &rest body) 1125(defmacro with-help-window (buffer-name &rest body)
1126 "Display buffer with name BUFFER-NAME in a help window evaluating BODY. 1126 "Display buffer with name BUFFER-NAME in a help window evaluating BODY.
1127Select help window if the actual value of the user option 1127Select help window if the actual value of the user option
1128`help-window-select' says so. Return last value in BODY. 1128`help-window-select' says so. Return last value in BODY."
1129
1130You can specify where and how to show the buffer by binding the
1131variable `temp-buffer-show-specifiers' to an appropriate value."
1132 (declare (indent 1) (debug t)) 1129 (declare (indent 1) (debug t))
1133 `(progn 1130 `(progn
1134 ;; Make `help-window-point-marker' point nowhere. The only place 1131 ;; Make `help-window-point-marker' point nowhere. The only place
diff --git a/lisp/vc/vc-bzr.el b/lisp/vc/vc-bzr.el
index cc28db689e9..f6b6a56f31c 100644
--- a/lisp/vc/vc-bzr.el
+++ b/lisp/vc/vc-bzr.el
@@ -444,7 +444,7 @@ If any error occurred in running `bzr status', then return nil."
444 (let ((warnings (cdr result))) 444 (let ((warnings (cdr result)))
445 (when warnings 445 (when warnings
446 ;; bzr 2.3.0 returns info about shelves, which is not really a warning 446 ;; bzr 2.3.0 returns info about shelves, which is not really a warning
447 (when (string-match "[1-9]+ shel\\(f\\|ves\\) exists?\\..*?\n" warnings) 447 (when (string-match "[0-9]+ shel\\(f\\|ves\\) exists?\\..*?\n" warnings)
448 (setq warnings (replace-match "" nil nil warnings))) 448 (setq warnings (replace-match "" nil nil warnings)))
449 (unless (string= warnings "") 449 (unless (string= warnings "")
450 (message "Warnings in `bzr' output: %s" warnings)))) 450 (message "Warnings in `bzr' output: %s" warnings))))
@@ -891,7 +891,7 @@ stream. Standard error output is discarded."
891 (goto-char (point-min)) 891 (goto-char (point-min))
892 (while (not (eobp)) 892 (while (not (eobp))
893 ;; Bzr 2.3.0 added this if there are shelves. (Bug#8170) 893 ;; Bzr 2.3.0 added this if there are shelves. (Bug#8170)
894 (unless (looking-at "[1-9]+ shel\\(f\\|ves\\) exists?\\.") 894 (unless (looking-at "[0-9]+ shel\\(f\\|ves\\) exists?\\.")
895 (setq status-str 895 (setq status-str
896 (buffer-substring-no-properties (point) (+ (point) 3))) 896 (buffer-substring-no-properties (point) (+ (point) 3)))
897 (setq translated (cdr (assoc status-str translation))) 897 (setq translated (cdr (assoc status-str translation)))
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index ed16ee9f6f8..82eb8783a74 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -992,8 +992,8 @@ specific headers."
992 (let ((def-dir default-directory) 992 (let ((def-dir default-directory)
993 (backend vc-dir-backend)) 993 (backend vc-dir-backend))
994 (vc-set-mode-line-busy-indicator) 994 (vc-set-mode-line-busy-indicator)
995 ;; Call the `dir-status-file' backend function. 995 ;; Call the `dir-status-files' backend function.
996 ;; `dir-status-file' is supposed to be asynchronous. 996 ;; `dir-status-files' is supposed to be asynchronous.
997 ;; It should compute the results, and then call the function 997 ;; It should compute the results, and then call the function
998 ;; passed as an argument in order to update the vc-dir buffer 998 ;; passed as an argument in order to update the vc-dir buffer
999 ;; with the results. 999 ;; with the results.