aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/gnus/gnus-art.el
diff options
context:
space:
mode:
authorAlan Mackenzie2017-02-12 10:59:03 +0000
committerAlan Mackenzie2017-02-12 10:59:03 +0000
commitf4d5b687150810129b7a1d5b006e31ccf82b691b (patch)
tree4229b13800349032697daae3904dc3773e6b7a80 /lisp/gnus/gnus-art.el
parentd5514332d4a6092673ce1f78fadcae0c57f7be64 (diff)
parent148100d98319499f0ac6f57b8be08cbd14884a5c (diff)
downloademacs-comment-cache.tar.gz
emacs-comment-cache.zip
Merge branch 'master' into comment-cachecomment-cache
Diffstat (limited to 'lisp/gnus/gnus-art.el')
-rw-r--r--lisp/gnus/gnus-art.el22
1 files changed, 16 insertions, 6 deletions
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index e1af859516c..a4ff840f755 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -251,7 +251,12 @@ This can also be a list of the above values."
251 (integer :value 200) 251 (integer :value 200)
252 (number :value 4.0) 252 (number :value 4.0)
253 function 253 function
254 (regexp :value ".*")) 254 (regexp :value ".*")
255 (repeat (choice (const nil)
256 (integer :value 200)
257 (number :value 4.0)
258 function
259 (regexp :value ".*"))))
255 :group 'gnus-article-signature) 260 :group 'gnus-article-signature)
256 261
257(defcustom gnus-hidden-properties 262(defcustom gnus-hidden-properties
@@ -1708,9 +1713,10 @@ regexp."
1708 ;; (modify-syntax-entry ?- "w" table) 1713 ;; (modify-syntax-entry ?- "w" table)
1709 (modify-syntax-entry ?> ")<" table) 1714 (modify-syntax-entry ?> ")<" table)
1710 (modify-syntax-entry ?< "(>" table) 1715 (modify-syntax-entry ?< "(>" table)
1711 ;; make M-. in article buffers work for `foo' strings 1716 ;; make M-. in article buffers work for `foo' strings,
1712 (modify-syntax-entry ?' " " table) 1717 ;; and still allow C-s C-w to yank ' to the search ring
1713 (modify-syntax-entry ?` " " table) 1718 (modify-syntax-entry ?' "'" table)
1719 (modify-syntax-entry ?` "'" table)
1714 table) 1720 table)
1715 "Syntax table used in article mode buffers. 1721 "Syntax table used in article mode buffers.
1716Initialized from `text-mode-syntax-table'.") 1722Initialized from `text-mode-syntax-table'.")
@@ -6841,17 +6847,21 @@ then we display only bindings that start with that prefix."
6841 (let ((keymap (copy-keymap gnus-article-mode-map)) 6847 (let ((keymap (copy-keymap gnus-article-mode-map))
6842 (map (copy-keymap gnus-article-send-map)) 6848 (map (copy-keymap gnus-article-send-map))
6843 (sumkeys (where-is-internal 'gnus-article-read-summary-keys)) 6849 (sumkeys (where-is-internal 'gnus-article-read-summary-keys))
6850 (summap (make-sparse-keymap))
6844 parent agent draft) 6851 parent agent draft)
6845 (define-key keymap "S" map) 6852 (define-key keymap "S" map)
6846 (define-key map [t] nil) 6853 (define-key map [t] nil)
6854 (define-key summap [t] 'undefined)
6847 (with-current-buffer gnus-article-current-summary 6855 (with-current-buffer gnus-article-current-summary
6856 (dolist (key sumkeys)
6857 (define-key summap key (key-binding key (current-local-map))))
6848 (set-keymap-parent 6858 (set-keymap-parent
6849 keymap 6859 keymap
6850 (if (setq parent (keymap-parent gnus-article-mode-map)) 6860 (if (setq parent (keymap-parent gnus-article-mode-map))
6851 (prog1 6861 (prog1
6852 (setq parent (copy-keymap parent)) 6862 (setq parent (copy-keymap parent))
6853 (set-keymap-parent parent (current-local-map))) 6863 (set-keymap-parent parent summap))
6854 (current-local-map))) 6864 summap))
6855 (set-keymap-parent map (key-binding "S")) 6865 (set-keymap-parent map (key-binding "S"))
6856 (let (key def gnus-pick-mode) 6866 (let (key def gnus-pick-mode)
6857 (while sumkeys 6867 (while sumkeys