summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-11-01 23:13:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-11-01 23:13:15 -0700
commit3616c8b26bfaf024d803371b85bee571cd6f061f (patch)
treebd7b5e6e3560b0496c144b13b44c1917cb9de8dc /lisp
parent5b0d046d5b6a6743be6888d02352b878151e1d6c (diff)
parentdb22a3c27b078148c26a9f50afca5454a68d37d1 (diff)
downloademacs-3616c8b26bfaf024d803371b85bee571cd6f061f.tar.gz
emacs-3616c8b26bfaf024d803371b85bee571cd6f061f.tar.bz2
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 @@
+2011-11-02 Juanma Barranquero <lekktu@gmail.com>
+
+ * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
+ Accept status with more than 9 shelves. (Bug#9935)
+ Reported by Colin D Bennett <colin@gibibit.com>.
+
+2011-11-01 Martin Rudalics <rudalics@gmx.at>
+
+ * help.el (with-help-window): Don't reference
+ temp-buffer-show-specifiers in doc-string.
+
2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
* subr.el (keymap--menu-item-with-binding): Ignore item if not a
@@ -14,8 +25,8 @@
* net/newst-treeview.el: Remove "Time-stamp".
(newsticker--group-manage-orphan-feeds): Do not call
newsticker--treeview-tree-update.
- (newsticker-treeview-update, newsticker-treeview): Call
- newsticker--treeview-tree-update if necessary.
+ (newsticker-treeview-update, newsticker-treeview):
+ Call newsticker--treeview-tree-update if necessary.
2011-10-30 Martin Rudalics <rudalics@gmx.at>
@@ -28,8 +39,7 @@
(split-window, balance-windows-1)
(shrink-window-if-larger-than-buffer):
* calendar/calendar.el (calendar-generate-window):
- * help.el (resize-temp-buffer-window): Adjust callers
- accordingly.
+ * help.el (resize-temp-buffer-window): Adjust callers accordingly.
2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
@@ -104,7 +114,7 @@
2011-10-28 Alan Mackenzie <acm@muc.de>
- * progmodes/cc-defs.el (c-version). -> 5.32.2.
+ * progmodes/cc-defs.el (c-version): -> 5.32.2.
2011-10-28 Alan Mackenzie <acm@muc.de>
@@ -292,7 +302,7 @@
Fix bug #9560, sporadic wrong indentation; improve instrumentation
of c-parse-state.
- * cc-engine.el (c-append-lower-brace-pair-to-state-cache):
+ * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
correct faulty logical expression.
(c-parse-state-state, c-record-parse-state-state):
(c-replay-parse-state-state): New defvar/defuns.
@@ -334,7 +344,7 @@
2011-10-20 Glenn Morris <rgm@gnu.org>
- * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
+ * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
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 @@
+2011-10-31 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * gnus-util.el (gnus-bound-and-true-dumber-p): Define new, slower, dumb
+ function because `gnus-bound-and-true-p' doesn't work well in XEmacs
+ for reasons unknown.
+ * nnir.el: Use it.
+ * nnmairix.el: Use it.
+
+ * nnregistry.el: Remove unnecessary `gnus-registry-enabled' defvar.
+ * nnir.el: Ditto.
+ * nnmairix.el: Ditto.
+
+ * gnus-registry.el (gnus-registry-enabled): Default to nil.
+
2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
* message.el (message-completion-function): Make sure
@@ -25,7 +39,7 @@
* nnir.el (gnus-registry-enabled): Defvar to keep the compiler happy.
* nnmairix.el (gnus-registry-enabled): Ditto.
-2011-10-17 Dave Abrahams <dave@boostpro.com>
+2011-10-17 Dave Abrahams <dave@boostpro.com> (tiny change)
* gnus-registry.el (gnus-registry-enabled): Add new variable. (Bug#9691)
(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."
(const :tag "Always Install" t)
(const :tag "Ask Me" ask)))
-(defvar gnus-registry-enabled)
+(defvar gnus-registry-enabled nil)
(defvar gnus-summary-misc-menu) ;; Avoid byte compiler warning.
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."
"Return the value of symbol VAR if it is bound, else nil."
`(and (boundp (quote ,var)) ,var))))
+(defun gnus-bound-and-true-dumber-p (sym)
+ (and (boundp sym) (symbol-value sym)))
+
(provide 'gnus-util)
;;; 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)'."
(autoload 'nnimap-make-thread-query "nnimap")
(autoload 'gnus-registry-action "gnus-registry"))
-;; Suppress byte-compiler warning `reference to free variable'
-(defvar gnus-registry-enabled)
-
(nnoo-declare nnir)
(nnoo-define-basics nnir)
@@ -1742,7 +1739,7 @@ environment unless `not-global' is non-nil."
(when (eq (car (gnus-find-method-for-group gnus-newsgroup-name)) 'nnir)
(setq gnus-summary-line-format
(or nnir-summary-line-format gnus-summary-line-format))
- (when (gnus-bound-and-true-p gnus-registry-enabled)
+ (when (gnus-bound-and-true-dumber-p 'gnus-registry-enabled)
(remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t)
(remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t)
(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.")
;; Silence byte-compiler.
(autoload 'gnus-registry-get-id-key "gnus-registry")
-;; Suppress byte-compiler warning `reference to free variable'
-(defvar gnus-registry-enabled)
-
(deffoo nnmairix-request-set-mark (group actions &optional server)
(when server
(nnmairix-open-server server))
@@ -1638,7 +1635,7 @@ search in raw mode."
(defun nnmairix-determine-original-group-from-registry (mid)
"Try to determinale original group for message-id MID from the registry."
- (when (gnus-bound-and-true-p gnus-registry-enabled)
+ (when (gnus-bound-and-true-dumber-p 'gnus-registry-enabled)
(unless (string-match "^<" mid)
(set mid (concat "<" mid)))
(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 @@
(nnoo-declare nnregistry)
-;; Suppress byte-compiler warning `reference to free variable'
-(defvar gnus-registry-enabled)
-
(deffoo nnregistry-server-opened (server)
gnus-registry-enabled)
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."
(defmacro with-help-window (buffer-name &rest body)
"Display buffer with name BUFFER-NAME in a help window evaluating BODY.
Select help window if the actual value of the user option
-`help-window-select' says so. Return last value in BODY.
-
-You can specify where and how to show the buffer by binding the
-variable `temp-buffer-show-specifiers' to an appropriate value."
+`help-window-select' says so. Return last value in BODY."
(declare (indent 1) (debug t))
`(progn
;; 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."
(let ((warnings (cdr result)))
(when warnings
;; bzr 2.3.0 returns info about shelves, which is not really a warning
- (when (string-match "[1-9]+ shel\\(f\\|ves\\) exists?\\..*?\n" warnings)
+ (when (string-match "[0-9]+ shel\\(f\\|ves\\) exists?\\..*?\n" warnings)
(setq warnings (replace-match "" nil nil warnings)))
(unless (string= warnings "")
(message "Warnings in `bzr' output: %s" warnings))))
@@ -891,7 +891,7 @@ stream. Standard error output is discarded."
(goto-char (point-min))
(while (not (eobp))
;; Bzr 2.3.0 added this if there are shelves. (Bug#8170)
- (unless (looking-at "[1-9]+ shel\\(f\\|ves\\) exists?\\.")
+ (unless (looking-at "[0-9]+ shel\\(f\\|ves\\) exists?\\.")
(setq status-str
(buffer-substring-no-properties (point) (+ (point) 3)))
(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."
(let ((def-dir default-directory)
(backend vc-dir-backend))
(vc-set-mode-line-busy-indicator)
- ;; Call the `dir-status-file' backend function.
- ;; `dir-status-file' is supposed to be asynchronous.
+ ;; Call the `dir-status-files' backend function.
+ ;; `dir-status-files' is supposed to be asynchronous.
;; It should compute the results, and then call the function
;; passed as an argument in order to update the vc-dir buffer
;; with the results.