diff options
| author | Paul Eggert | 2011-09-06 08:27:16 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-09-06 08:27:16 -0700 |
| commit | b2db44d9c6b6895222e9de5ab58b3897fdb3c889 (patch) | |
| tree | 1e6f3d8392799f70c979c094e8c678d5bf860da9 | |
| parent | 1dc4aa6d975c9f92cd5c0d0baf5eae89e013fd67 (diff) | |
| parent | d809b8eb5eb739839063fb9af1dc3ac593a0a560 (diff) | |
| download | emacs-b2db44d9c6b6895222e9de5ab58b3897fdb3c889.tar.gz emacs-b2db44d9c6b6895222e9de5ab58b3897fdb3c889.zip | |
Merge from trunk.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 12 | ||||
| -rw-r--r-- | lisp/gnus/gnus-sum.el | 3 | ||||
| -rw-r--r-- | lisp/gnus/nnir.el | 13 | ||||
| -rw-r--r-- | lisp/isearch.el | 5 | ||||
| -rw-r--r-- | src/ChangeLog | 2 |
6 files changed, 33 insertions, 7 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 7a922e002d7..d82391d691a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-09-06 Alan Mackenzie <acm@muc.de> | ||
| 2 | |||
| 3 | * isearch.el (isearch-other-meta-char): Wherever a key list is | ||
| 4 | unread, "unread" the prefix arg, too. This fixes bug #8901. | ||
| 5 | |||
| 1 | 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change) | 6 | 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change) |
| 2 | 7 | ||
| 3 | * progmodes/grep.el (rgrep): Add "-type d" (bug#9414). | 8 | * progmodes/grep.el (rgrep): Add "-type d" (bug#9414). |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 9d719136cc1..2e0cc11279a 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2011-09-05 Andrew Cohen <cohen@andy.bu.edu> | ||
| 2 | |||
| 3 | * gnus-sum.el (gnus-summary-exit): Ensure we kill the proper | ||
| 4 | original-article-buffer. | ||
| 5 | |||
| 6 | 2011-09-05 Kan-Ru Chen <kanru@kanru.info> | ||
| 7 | |||
| 8 | * nnir.el (nnir-compose-result): Fix matching of server type. | ||
| 9 | (nnir-run-swish++): Ditto. | ||
| 10 | (nnir-run-namazu): Ditto. | ||
| 11 | (nnir-run-notmuch): Ditto. | ||
| 12 | |||
| 1 | 2011-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> | 13 | 2011-09-04 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 2 | 14 | ||
| 3 | * gnus.el (gnus-home-directory): Add warning about setting in .gnus.el | 15 | * gnus.el (gnus-home-directory): Add warning about setting in .gnus.el |
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el index fd441c46d17..bb8c719a4fd 100644 --- a/lisp/gnus/gnus-sum.el +++ b/lisp/gnus/gnus-sum.el | |||
| @@ -7214,6 +7214,7 @@ If FORCE (the prefix), also save the .newsrc file(s)." | |||
| 7214 | (quit-config (gnus-group-quit-config gnus-newsgroup-name)) | 7214 | (quit-config (gnus-group-quit-config gnus-newsgroup-name)) |
| 7215 | (gnus-group-is-exiting-p t) | 7215 | (gnus-group-is-exiting-p t) |
| 7216 | (article-buffer gnus-article-buffer) | 7216 | (article-buffer gnus-article-buffer) |
| 7217 | (original-article-buffer gnus-original-article-buffer) | ||
| 7217 | (mode major-mode) | 7218 | (mode major-mode) |
| 7218 | (group-point nil) | 7219 | (group-point nil) |
| 7219 | (buf (current-buffer)) | 7220 | (buf (current-buffer)) |
| @@ -7290,7 +7291,7 @@ If FORCE (the prefix), also save the .newsrc file(s)." | |||
| 7290 | (unless (eq major-mode 'gnus-sticky-article-mode) | 7291 | (unless (eq major-mode 'gnus-sticky-article-mode) |
| 7291 | (gnus-kill-buffer article-buffer) | 7292 | (gnus-kill-buffer article-buffer) |
| 7292 | (setq gnus-article-current nil)))) | 7293 | (setq gnus-article-current nil)))) |
| 7293 | (gnus-kill-buffer gnus-original-article-buffer)) | 7294 | (gnus-kill-buffer original-article-buffer)) |
| 7294 | 7295 | ||
| 7295 | ;; Clear the current group name. | 7296 | ;; Clear the current group name. |
| 7296 | (unless quit-config | 7297 | (unless quit-config |
diff --git a/lisp/gnus/nnir.el b/lisp/gnus/nnir.el index 17fc3f3fe81..0be6a17d50e 100644 --- a/lisp/gnus/nnir.el +++ b/lisp/gnus/nnir.el | |||
| @@ -806,7 +806,7 @@ ready to be added to the list of search results." | |||
| 806 | ;; remove trailing slash and, for nnmaildir, cur/new/tmp | 806 | ;; remove trailing slash and, for nnmaildir, cur/new/tmp |
| 807 | (setq dirnam | 807 | (setq dirnam |
| 808 | (substring dirnam 0 | 808 | (substring dirnam 0 |
| 809 | (if (string= (gnus-group-server server) "nnmaildir") | 809 | (if (string-match "^nnmaildir:" (gnus-group-server server)) |
| 810 | -5 -1))) | 810 | -5 -1))) |
| 811 | 811 | ||
| 812 | ;; Set group to dirnam without any leading dots or slashes, | 812 | ;; Set group to dirnam without any leading dots or slashes, |
| @@ -816,7 +816,7 @@ ready to be added to the list of search results." | |||
| 816 | "[/\\]" "." t))) | 816 | "[/\\]" "." t))) |
| 817 | 817 | ||
| 818 | (vector (gnus-group-full-name group server) | 818 | (vector (gnus-group-full-name group server) |
| 819 | (if (string= (gnus-group-server server) "nnmaildir") | 819 | (if (string-match "^nnmaildir:" (gnus-group-server server)) |
| 820 | (nnmaildir-base-name-to-article-number | 820 | (nnmaildir-base-name-to-article-number |
| 821 | (substring article 0 (string-match ":" article)) | 821 | (substring article 0 (string-match ":" article)) |
| 822 | group nil) | 822 | group nil) |
| @@ -1073,7 +1073,8 @@ Windows NT 4.0." | |||
| 1073 | ;; is sufficient. Note that we can't only use the value of | 1073 | ;; is sufficient. Note that we can't only use the value of |
| 1074 | ;; nnml-use-compressed-files because old articles might have been | 1074 | ;; nnml-use-compressed-files because old articles might have been |
| 1075 | ;; saved with a different value. | 1075 | ;; saved with a different value. |
| 1076 | (article-pattern (if (string= (gnus-group-server server) "nnmaildir") | 1076 | (article-pattern (if (string-match "^nnmaildir:" |
| 1077 | (gnus-group-server server)) | ||
| 1077 | ":[0-9]+" | 1078 | ":[0-9]+" |
| 1078 | "^[0-9]+\\(\\.[a-z0-9]+\\)?$")) | 1079 | "^[0-9]+\\(\\.[a-z0-9]+\\)?$")) |
| 1079 | score artno dirnam filenam) | 1080 | score artno dirnam filenam) |
| @@ -1315,7 +1316,8 @@ Tested with Namazu 2.0.6 on a GNU/Linux system." | |||
| 1315 | ;; (when group | 1316 | ;; (when group |
| 1316 | ;; (error "The Namazu backend cannot search specific groups")) | 1317 | ;; (error "The Namazu backend cannot search specific groups")) |
| 1317 | (save-excursion | 1318 | (save-excursion |
| 1318 | (let ((article-pattern (if (string= (gnus-group-server server) "nnmaildir") | 1319 | (let ((article-pattern (if (string-match "^nnmaildir:" |
| 1320 | (gnus-group-server server)) | ||
| 1319 | ":[0-9]+" | 1321 | ":[0-9]+" |
| 1320 | "^[0-9]+$")) | 1322 | "^[0-9]+$")) |
| 1321 | artlist | 1323 | artlist |
| @@ -1388,7 +1390,8 @@ actually)." | |||
| 1388 | (groupspec (cdr (assq 'group query))) | 1390 | (groupspec (cdr (assq 'group query))) |
| 1389 | (prefix (nnir-read-server-parm 'nnir-notmuch-remove-prefix server)) | 1391 | (prefix (nnir-read-server-parm 'nnir-notmuch-remove-prefix server)) |
| 1390 | artlist | 1392 | artlist |
| 1391 | (article-pattern (if (string= (gnus-group-server server) "nnmaildir") | 1393 | (article-pattern (if (string-match "^nnmaildir:" |
| 1394 | (gnus-group-server server)) | ||
| 1392 | ":[0-9]+" | 1395 | ":[0-9]+" |
| 1393 | "^[0-9]+$")) | 1396 | "^[0-9]+$")) |
| 1394 | artno dirnam filenam) | 1397 | artno dirnam filenam) |
diff --git a/lisp/isearch.el b/lisp/isearch.el index 6eab3dbcbc4..7f54067f9aa 100644 --- a/lisp/isearch.el +++ b/lisp/isearch.el | |||
| @@ -1920,6 +1920,7 @@ Isearch mode." | |||
| 1920 | (if (lookup-key global-map key) | 1920 | (if (lookup-key global-map key) |
| 1921 | (progn | 1921 | (progn |
| 1922 | (isearch-done) | 1922 | (isearch-done) |
| 1923 | (setq prefix-arg arg) | ||
| 1923 | (apply 'isearch-unread keylist)) | 1924 | (apply 'isearch-unread keylist)) |
| 1924 | (setq keylist | 1925 | (setq keylist |
| 1925 | (listify-key-sequence (lookup-key local-function-key-map key))) | 1926 | (listify-key-sequence (lookup-key local-function-key-map key))) |
| @@ -1935,6 +1936,7 @@ Isearch mode." | |||
| 1935 | (setq keylist (cdr keylist))) | 1936 | (setq keylist (cdr keylist))) |
| 1936 | ;; As the remaining keys in KEYLIST can't be handled | 1937 | ;; As the remaining keys in KEYLIST can't be handled |
| 1937 | ;; here, we must reread them. | 1938 | ;; here, we must reread them. |
| 1939 | (setq prefix-arg arg) | ||
| 1938 | (apply 'isearch-unread keylist) | 1940 | (apply 'isearch-unread keylist) |
| 1939 | (setq keylist nil))))) | 1941 | (setq keylist nil))))) |
| 1940 | ( | 1942 | ( |
| @@ -1957,8 +1959,10 @@ Isearch mode." | |||
| 1957 | isearch-other-control-char))))) | 1959 | isearch-other-control-char))))) |
| 1958 | (setcar keylist (- main-event (- ?\C-\S-a ?\C-a))) | 1960 | (setcar keylist (- main-event (- ?\C-\S-a ?\C-a))) |
| 1959 | (cancel-kbd-macro-events) | 1961 | (cancel-kbd-macro-events) |
| 1962 | (setq prefix-arg arg) | ||
| 1960 | (apply 'isearch-unread keylist)) | 1963 | (apply 'isearch-unread keylist)) |
| 1961 | ((eq search-exit-option 'edit) | 1964 | ((eq search-exit-option 'edit) |
| 1965 | (setq prefix-arg arg) | ||
| 1962 | (apply 'isearch-unread keylist) | 1966 | (apply 'isearch-unread keylist) |
| 1963 | (isearch-edit-string)) | 1967 | (isearch-edit-string)) |
| 1964 | ;; Handle a scrolling function. | 1968 | ;; Handle a scrolling function. |
| @@ -1987,6 +1991,7 @@ Isearch mode." | |||
| 1987 | (isearch-edit-string)) | 1991 | (isearch-edit-string)) |
| 1988 | (search-exit-option | 1992 | (search-exit-option |
| 1989 | (let (window) | 1993 | (let (window) |
| 1994 | (setq prefix-arg arg) | ||
| 1990 | (isearch-unread-key-sequence keylist) | 1995 | (isearch-unread-key-sequence keylist) |
| 1991 | (setq main-event (car unread-command-events)) | 1996 | (setq main-event (car unread-command-events)) |
| 1992 | 1997 | ||
diff --git a/src/ChangeLog b/src/ChangeLog index 88065dd3231..e1bdfedbd31 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | 2011-09-05 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-09-06 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * fileio.c: Fix bugs with large file offsets (Bug#9428). | 3 | * fileio.c: Fix bugs with large file offsets (Bug#9428). |
| 4 | The previous code assumed that file offsets (off_t values) fit in | 4 | The previous code assumed that file offsets (off_t values) fit in |