diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 31 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/gnus-util.el | 11 | ||||
| -rw-r--r-- | lisp/gnus/nnir.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/nnmairix.el | 2 | ||||
| -rw-r--r-- | lisp/help.el | 5 | ||||
| -rw-r--r-- | lisp/vc/vc-bzr.el | 4 | ||||
| -rw-r--r-- | lisp/vc/vc-dir.el | 4 | ||||
| -rw-r--r-- | lisp/window.el | 8 |
9 files changed, 45 insertions, 29 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 97ae0232d55..a009352e46e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,21 @@ | |||
| 1 | 2011-11-02 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * window.el (quit-window): Call unrecord-window-buffer after | ||
| 4 | showing another buffer in the window. (Bug#9937) | ||
| 5 | (bury-buffer): Call switch-to-prev-buffer with second argument | ||
| 6 | 'bury. | ||
| 7 | |||
| 8 | 2011-11-02 Juanma Barranquero <lekktu@gmail.com> | ||
| 9 | |||
| 10 | * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status): | ||
| 11 | Accept status with more than 9 shelves. (Bug#9935) | ||
| 12 | Reported by Colin D Bennett <colin@gibibit.com>. | ||
| 13 | |||
| 14 | 2011-11-01 Martin Rudalics <rudalics@gmx.at> | ||
| 15 | |||
| 16 | * help.el (with-help-window): Don't reference | ||
| 17 | temp-buffer-show-specifiers in doc-string. | ||
| 18 | |||
| 1 | 2011-10-31 Andreas Schwab <schwab@linux-m68k.org> | 19 | 2011-10-31 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 20 | ||
| 3 | * subr.el (keymap--menu-item-with-binding): Ignore item if not a | 21 | * subr.el (keymap--menu-item-with-binding): Ignore item if not a |
| @@ -14,8 +32,8 @@ | |||
| 14 | * net/newst-treeview.el: Remove "Time-stamp". | 32 | * net/newst-treeview.el: Remove "Time-stamp". |
| 15 | (newsticker--group-manage-orphan-feeds): Do not call | 33 | (newsticker--group-manage-orphan-feeds): Do not call |
| 16 | newsticker--treeview-tree-update. | 34 | newsticker--treeview-tree-update. |
| 17 | (newsticker-treeview-update, newsticker-treeview): Call | 35 | (newsticker-treeview-update, newsticker-treeview): |
| 18 | newsticker--treeview-tree-update if necessary. | 36 | Call newsticker--treeview-tree-update if necessary. |
| 19 | 37 | ||
| 20 | 2011-10-30 Martin Rudalics <rudalics@gmx.at> | 38 | 2011-10-30 Martin Rudalics <rudalics@gmx.at> |
| 21 | 39 | ||
| @@ -28,8 +46,7 @@ | |||
| 28 | (split-window, balance-windows-1) | 46 | (split-window, balance-windows-1) |
| 29 | (shrink-window-if-larger-than-buffer): | 47 | (shrink-window-if-larger-than-buffer): |
| 30 | * calendar/calendar.el (calendar-generate-window): | 48 | * calendar/calendar.el (calendar-generate-window): |
| 31 | * help.el (resize-temp-buffer-window): Adjust callers | 49 | * help.el (resize-temp-buffer-window): Adjust callers accordingly. |
| 32 | accordingly. | ||
| 33 | 50 | ||
| 34 | 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca> | 51 | 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 35 | 52 | ||
| @@ -104,7 +121,7 @@ | |||
| 104 | 121 | ||
| 105 | 2011-10-28 Alan Mackenzie <acm@muc.de> | 122 | 2011-10-28 Alan Mackenzie <acm@muc.de> |
| 106 | 123 | ||
| 107 | * progmodes/cc-defs.el (c-version). -> 5.32.2. | 124 | * progmodes/cc-defs.el (c-version): -> 5.32.2. |
| 108 | 125 | ||
| 109 | 2011-10-28 Alan Mackenzie <acm@muc.de> | 126 | 2011-10-28 Alan Mackenzie <acm@muc.de> |
| 110 | 127 | ||
| @@ -292,7 +309,7 @@ | |||
| 292 | Fix bug #9560, sporadic wrong indentation; improve instrumentation | 309 | Fix bug #9560, sporadic wrong indentation; improve instrumentation |
| 293 | of c-parse-state. | 310 | of c-parse-state. |
| 294 | 311 | ||
| 295 | * cc-engine.el (c-append-lower-brace-pair-to-state-cache): | 312 | * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache): |
| 296 | correct faulty logical expression. | 313 | correct faulty logical expression. |
| 297 | (c-parse-state-state, c-record-parse-state-state): | 314 | (c-parse-state-state, c-record-parse-state-state): |
| 298 | (c-replay-parse-state-state): New defvar/defuns. | 315 | (c-replay-parse-state-state): New defvar/defuns. |
| @@ -334,7 +351,7 @@ | |||
| 334 | 351 | ||
| 335 | 2011-10-20 Glenn Morris <rgm@gnu.org> | 352 | 2011-10-20 Glenn Morris <rgm@gnu.org> |
| 336 | 353 | ||
| 337 | * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781) | 354 | * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781) |
| 338 | 355 | ||
| 339 | 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com> | 356 | 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com> |
| 340 | 357 | ||
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index a208ccefd4c..860ccf45206 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2011-11-01 Teodor Zlatanov <tzz@lifelogs.com> | ||
| 2 | |||
| 3 | * gnus-util.el (gnus-bound-and-true-p): Remove. | ||
| 4 | (gnus-bound-and-true-dumber-p): Rename to `gnus-bound-and-true-p'. | ||
| 5 | * nnir.el: Use it. | ||
| 6 | * nnmairix.el: Use it. | ||
| 7 | |||
| 1 | 2011-10-31 Teodor Zlatanov <tzz@lifelogs.com> | 8 | 2011-10-31 Teodor Zlatanov <tzz@lifelogs.com> |
| 2 | 9 | ||
| 3 | * gnus-util.el (gnus-bound-and-true-dumber-p): Define new, slower, dumb | 10 | * gnus-util.el (gnus-bound-and-true-dumber-p): Define new, slower, dumb |
diff --git a/lisp/gnus/gnus-util.el b/lisp/gnus/gnus-util.el index 71ed50591ad..f811c9664af 100644 --- a/lisp/gnus/gnus-util.el +++ b/lisp/gnus/gnus-util.el | |||
| @@ -1986,15 +1986,8 @@ 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 | 1989 | ;; simple check, can be a macro but this way, although slow, it's really clear |
| 1990 | ;; This is unnecessary in the compiled version as it is a macro. | 1990 | (defun gnus-bound-and-true-p (sym) |
| 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 | |||
| 1997 | (defun gnus-bound-and-true-dumber-p (sym) | ||
| 1998 | (and (boundp sym) (symbol-value sym))) | 1991 | (and (boundp sym) (symbol-value sym))) |
| 1999 | 1992 | ||
| 2000 | (provide 'gnus-util) | 1993 | (provide 'gnus-util) |
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 7087f8dba96..88fd4fe1ff6 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el | |||
| @@ -1739,7 +1739,7 @@ environment unless `not-global' is non-nil." | |||
| 1739 | (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) |
| 1740 | (setq gnus-summary-line-format | 1740 | (setq gnus-summary-line-format |
| 1741 | (or nnir-summary-line-format gnus-summary-line-format)) | 1741 | (or nnir-summary-line-format gnus-summary-line-format)) |
| 1742 | (when (gnus-bound-and-true-dumber-p 'gnus-registry-enabled) | 1742 | (when (gnus-bound-and-true-p 'gnus-registry-enabled) |
| 1743 | (remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t) | 1743 | (remove-hook 'gnus-summary-article-delete-hook 'gnus-registry-action t) |
| 1744 | (remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t) | 1744 | (remove-hook 'gnus-summary-article-move-hook 'gnus-registry-action t) |
| 1745 | (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 0e58af73666..66ed90be823 100644 --- a/lisp/gnus/nnmairix.el +++ b/lisp/gnus/nnmairix.el | |||
| @@ -1635,7 +1635,7 @@ search in raw mode." | |||
| 1635 | 1635 | ||
| 1636 | (defun nnmairix-determine-original-group-from-registry (mid) | 1636 | (defun nnmairix-determine-original-group-from-registry (mid) |
| 1637 | "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." |
| 1638 | (when (gnus-bound-and-true-dumber-p 'gnus-registry-enabled) | 1638 | (when (gnus-bound-and-true-p 'gnus-registry-enabled) |
| 1639 | (unless (string-match "^<" mid) | 1639 | (unless (string-match "^<" mid) |
| 1640 | (set mid (concat "<" mid))) | 1640 | (set mid (concat "<" mid))) |
| 1641 | (unless (string-match ">$" mid) | 1641 | (unless (string-match ">$" mid) |
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. |
| 1127 | Select help window if the actual value of the user option | 1127 | Select 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 | |||
| 1130 | You can specify where and how to show the buffer by binding the | ||
| 1131 | variable `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. |
diff --git a/lisp/window.el b/lisp/window.el index d254248c2c7..d93658a2cef 100644 --- a/lisp/window.el +++ b/lisp/window.el | |||
| @@ -2852,7 +2852,7 @@ displayed there." | |||
| 2852 | (t | 2852 | (t |
| 2853 | ;; Switch to another buffer in window. | 2853 | ;; Switch to another buffer in window. |
| 2854 | (set-window-dedicated-p nil nil) | 2854 | (set-window-dedicated-p nil nil) |
| 2855 | (switch-to-prev-buffer nil 'kill))) | 2855 | (switch-to-prev-buffer nil 'bury))) |
| 2856 | 2856 | ||
| 2857 | ;; Always return nil. | 2857 | ;; Always return nil. |
| 2858 | nil)) | 2858 | nil)) |
| @@ -2985,7 +2985,6 @@ one. If non-nil, reset `quit-restore' parameter to nil." | |||
| 2985 | (setq resize (with-current-buffer buffer | 2985 | (setq resize (with-current-buffer buffer |
| 2986 | (and temp-buffer-resize-mode | 2986 | (and temp-buffer-resize-mode |
| 2987 | (/= (nth 3 quad) (window-total-size window))))) | 2987 | (/= (nth 3 quad) (window-total-size window))))) |
| 2988 | (unrecord-window-buffer window buffer) | ||
| 2989 | (set-window-dedicated-p window nil) | 2988 | (set-window-dedicated-p window nil) |
| 2990 | (when resize | 2989 | (when resize |
| 2991 | ;; Try to resize WINDOW to its old height but don't signal an | 2990 | ;; Try to resize WINDOW to its old height but don't signal an |
| @@ -2993,9 +2992,12 @@ one. If non-nil, reset `quit-restore' parameter to nil." | |||
| 2993 | (condition-case nil | 2992 | (condition-case nil |
| 2994 | (window-resize window (- (nth 3 quad) (window-total-size window))) | 2993 | (window-resize window (- (nth 3 quad) (window-total-size window))) |
| 2995 | (error nil))) | 2994 | (error nil))) |
| 2996 | ;; Restore WINDOW's previous buffer, window start and point. | 2995 | ;; Restore WINDOW's previous buffer, start and point position. |
| 2997 | (set-window-buffer-start-and-point | 2996 | (set-window-buffer-start-and-point |
| 2998 | window (nth 0 quad) (nth 1 quad) (nth 2 quad)) | 2997 | window (nth 0 quad) (nth 1 quad) (nth 2 quad)) |
| 2998 | ;; Unrecord WINDOW's buffer here (Bug#9937) to make sure it's not | ||
| 2999 | ;; re-recorded by `set-window-buffer'. | ||
| 3000 | (unrecord-window-buffer window buffer) | ||
| 2999 | ;; Reset the quit-restore parameter. | 3001 | ;; Reset the quit-restore parameter. |
| 3000 | (set-window-parameter window 'quit-restore nil) | 3002 | (set-window-parameter window 'quit-restore nil) |
| 3001 | ;; Select old window. | 3003 | ;; Select old window. |