aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuri Linkov2013-12-20 00:12:12 +0200
committerJuri Linkov2013-12-20 00:12:12 +0200
commit50ab1da6d67215219c4a26a045edcad28fa0b096 (patch)
treecaf66ad4c39ffd6b7818a9a4094eb2915b28a807
parent3d6e95e7673bf1352a439cdd705eae00e65a0542 (diff)
downloademacs-50ab1da6d67215219c4a26a045edcad28fa0b096.tar.gz
emacs-50ab1da6d67215219c4a26a045edcad28fa0b096.zip
* lisp/isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035) (minibuffer-history-symbol): Move variable declaration closer to its usage. * lisp/isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'. (Bug#14785) * lisp/gnus/gnus.el (gnus-suppress-keymap): * lisp/gnus/gnus-art.el (gnus-article-mode-map): * lisp/gnus/gnus-group.el (gnus-group-mode-map): * lisp/gnus/gnus-sum.el (gnus-summary-mode-map, gnus-summary-backend-map): Remove [backspace] key binding because it shadows DEL (bug#16035). * lisp/gnus/mm-decode.el (mm-viewer-completion-map): Remove duplicate definition.
-rw-r--r--lisp/ChangeLog10
-rw-r--r--lisp/gnus/ChangeLog10
-rw-r--r--lisp/gnus/gnus-art.el1
-rw-r--r--lisp/gnus/gnus-group.el1
-rw-r--r--lisp/gnus/gnus-sum.el2
-rw-r--r--lisp/gnus/gnus.el2
-rw-r--r--lisp/gnus/mm-decode.el8
-rw-r--r--lisp/isearch.el9
-rw-r--r--lisp/isearchb.el3
9 files changed, 30 insertions, 16 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6db17ab66c6..2818f89c784 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,15 @@
12013-12-19 Juri Linkov <juri@jurta.org> 12013-12-19 Juri Linkov <juri@jurta.org>
2 2
3 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5 (minibuffer-history-symbol): Move variable declaration closer to
6 its usage.
7
8 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
9 (Bug#14785)
10
112013-12-19 Juri Linkov <juri@jurta.org>
12
3 * vc/log-edit.el (log-edit-insert-filenames-without-changelog): 13 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4 New function. 14 New function.
5 (log-edit-hook): Add it to :options. (Bug#16170) 15 (log-edit-hook): Add it to :options. (Bug#16170)
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index 6c0122e325b..693483a5775 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,13 @@
12013-12-19 Juri Linkov <juri@jurta.org>
2
3 * gnus.el (gnus-suppress-keymap):
4 * gnus-art.el (gnus-article-mode-map):
5 * gnus-group.el (gnus-group-mode-map):
6 * gnus-sum.el (gnus-summary-mode-map, gnus-summary-backend-map):
7 Remove [backspace] key binding because it shadows DEL (bug#16035).
8
9 * mm-decode.el (mm-viewer-completion-map): Remove duplicate definition.
10
12013-12-19 Katsumi Yamaoka <yamaoka@jpl.org> 112013-12-19 Katsumi Yamaoka <yamaoka@jpl.org>
2 12
3 * gnus-uu.el (gnus-uu-decode-binhex, gnus-uu-decode-binhex-view): 13 * gnus-uu.el (gnus-uu-decode-binhex, gnus-uu-decode-binhex-view):
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index 9eac2c428e9..6428e5e04dc 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -4395,7 +4395,6 @@ If variable `gnus-use-long-file-name' is non-nil, it is
4395 [?\S-\ ] gnus-article-goto-prev-page 4395 [?\S-\ ] gnus-article-goto-prev-page
4396 "\177" gnus-article-goto-prev-page 4396 "\177" gnus-article-goto-prev-page
4397 [delete] gnus-article-goto-prev-page 4397 [delete] gnus-article-goto-prev-page
4398 [backspace] gnus-article-goto-prev-page
4399 "\C-c^" gnus-article-refer-article 4398 "\C-c^" gnus-article-refer-article
4400 "h" gnus-article-show-summary 4399 "h" gnus-article-show-summary
4401 "s" gnus-article-show-summary 4400 "s" gnus-article-show-summary
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el
index a1bc62fb18e..5cd2addaf97 100644
--- a/lisp/gnus/gnus-group.el
+++ b/lisp/gnus/gnus-group.el
@@ -571,7 +571,6 @@ simple manner.")
571 "p" gnus-group-prev-unread-group 571 "p" gnus-group-prev-unread-group
572 "\177" gnus-group-prev-unread-group 572 "\177" gnus-group-prev-unread-group
573 [delete] gnus-group-prev-unread-group 573 [delete] gnus-group-prev-unread-group
574 [backspace] gnus-group-prev-unread-group
575 "N" gnus-group-next-group 574 "N" gnus-group-next-group
576 "P" gnus-group-prev-group 575 "P" gnus-group-prev-group
577 "\M-n" gnus-group-next-unread-group-same-level 576 "\M-n" gnus-group-next-unread-group-same-level
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 61cf7ec5b61..6873db7f6bc 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -1850,7 +1850,6 @@ increase the score of each group you read."
1850 [?\S-\ ] gnus-summary-prev-page 1850 [?\S-\ ] gnus-summary-prev-page
1851 "\177" gnus-summary-prev-page 1851 "\177" gnus-summary-prev-page
1852 [delete] gnus-summary-prev-page 1852 [delete] gnus-summary-prev-page
1853 [backspace] gnus-summary-prev-page
1854 "\r" gnus-summary-scroll-up 1853 "\r" gnus-summary-scroll-up
1855 "\M-\r" gnus-summary-scroll-down 1854 "\M-\r" gnus-summary-scroll-down
1856 "n" gnus-summary-next-unread-article 1855 "n" gnus-summary-next-unread-article
@@ -2222,7 +2221,6 @@ increase the score of each group you read."
2222 "\M-\C-e" gnus-summary-expire-articles-now 2221 "\M-\C-e" gnus-summary-expire-articles-now
2223 "\177" gnus-summary-delete-article 2222 "\177" gnus-summary-delete-article
2224 [delete] gnus-summary-delete-article 2223 [delete] gnus-summary-delete-article
2225 [backspace] gnus-summary-delete-article
2226 "m" gnus-summary-move-article 2224 "m" gnus-summary-move-article
2227 "r" gnus-summary-respool-article 2225 "r" gnus-summary-respool-article
2228 "w" gnus-summary-edit-article 2226 "w" gnus-summary-edit-article
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el
index 266ee0fe7cb..fb9f8e8e80f 100644
--- a/lisp/gnus/gnus.el
+++ b/lisp/gnus/gnus.el
@@ -3035,7 +3035,7 @@ See Info node `(gnus)Formatting Variables'."
3035 3035
3036(defun gnus-suppress-keymap (keymap) 3036(defun gnus-suppress-keymap (keymap)
3037 (suppress-keymap keymap) 3037 (suppress-keymap keymap)
3038 (let ((keys `([backspace] [delete] "\177" "\M-u"))) ;gnus-mouse-2 3038 (let ((keys `([delete] "\177" "\M-u"))) ;gnus-mouse-2
3039 (while keys 3039 (while keys
3040 (define-key keymap (pop keys) 'undefined)))) 3040 (define-key keymap (pop keys) 'undefined))))
3041 3041
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el
index 26d18fc678e..5a4ceb803a9 100644
--- a/lisp/gnus/mm-decode.el
+++ b/lisp/gnus/mm-decode.el
@@ -538,14 +538,6 @@ result of the verification."
538 map) 538 map)
539 "Keymap for input viewer with completion.") 539 "Keymap for input viewer with completion.")
540 540
541(defvar mm-viewer-completion-map
542 (let ((map (make-sparse-keymap 'mm-viewer-completion-map)))
543 (set-keymap-parent map minibuffer-local-completion-map)
544 ;; Should we bind other key to minibuffer-complete-word?
545 (define-key map " " 'self-insert-command)
546 map)
547 "Keymap for input viewer with completion.")
548
549;;; The functions. 541;;; The functions.
550 542
551(defun mm-alist-to-plist (alist) 543(defun mm-alist-to-plist (alist)
diff --git a/lisp/isearch.el b/lisp/isearch.el
index 54cf7d17a75..f222c8f59cd 100644
--- a/lisp/isearch.el
+++ b/lisp/isearch.el
@@ -500,6 +500,11 @@ This is like `describe-bindings', but displays only Isearch keys."
500 (define-key map "\M-r" 'isearch-toggle-regexp) 500 (define-key map "\M-r" 'isearch-toggle-regexp)
501 (define-key map "\M-e" 'isearch-edit-string) 501 (define-key map "\M-e" 'isearch-edit-string)
502 502
503 (put 'isearch-toggle-case-fold :advertised-binding "\M-sc")
504 (put 'isearch-toggle-regexp :advertised-binding "\M-sr")
505 (put 'isearch-edit-string :advertised-binding "\M-se")
506
507 (define-key map "\M-se" 'isearch-edit-string)
503 (define-key map "\M-sc" 'isearch-toggle-case-fold) 508 (define-key map "\M-sc" 'isearch-toggle-case-fold)
504 (define-key map "\M-si" 'isearch-toggle-invisible) 509 (define-key map "\M-si" 'isearch-toggle-invisible)
505 (define-key map "\M-sr" 'isearch-toggle-regexp) 510 (define-key map "\M-sr" 'isearch-toggle-regexp)
@@ -1146,8 +1151,6 @@ nonincremental search instead via `isearch-edit-string'."
1146 (isearch-done) 1151 (isearch-done)
1147 (isearch-clean-overlays)) 1152 (isearch-clean-overlays))
1148 1153
1149(defvar minibuffer-history-symbol) ;; from external package gmhist.el
1150
1151(defun isearch-fail-pos (&optional msg) 1154(defun isearch-fail-pos (&optional msg)
1152 "Return position of first mismatch in search string, or nil if none. 1155 "Return position of first mismatch in search string, or nil if none.
1153If MSG is non-nil, use variable `isearch-message', otherwise `isearch-string'." 1156If MSG is non-nil, use variable `isearch-message', otherwise `isearch-string'."
@@ -1300,6 +1303,8 @@ You can update the global isearch variables by setting new values to
1300 (isearch-abort) ;; outside of let to restore outside global values 1303 (isearch-abort) ;; outside of let to restore outside global values
1301 ))) 1304 )))
1302 1305
1306(defvar minibuffer-history-symbol) ;; from external package gmhist.el
1307
1303(defun isearch-edit-string () 1308(defun isearch-edit-string ()
1304 "Edit the search string in the minibuffer. 1309 "Edit the search string in the minibuffer.
1305The following additional command keys are active while editing. 1310The following additional command keys are active while editing.
diff --git a/lisp/isearchb.el b/lisp/isearchb.el
index b66173ea02d..4199cd7fde0 100644
--- a/lisp/isearchb.el
+++ b/lisp/isearchb.el
@@ -139,7 +139,8 @@ Its purpose is to pass different call arguments to
139 (if last-command-event 139 (if last-command-event
140 (setq iswitchb-rescan t 140 (setq iswitchb-rescan t
141 iswitchb-text (concat iswitchb-text 141 iswitchb-text (concat iswitchb-text
142 (char-to-string last-command-event)))) 142 (char-to-string
143 (event-basic-type last-command-event)))))
143 (iswitchb-set-matches) 144 (iswitchb-set-matches)
144 (let* ((match (car iswitchb-matches)) 145 (let* ((match (car iswitchb-matches))
145 (buf (and match (get-buffer match)))) 146 (buf (and match (get-buffer match))))