[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 8e8c2e1 07/15: Make gnus-message window config stu
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 8e8c2e1 07/15: Make gnus-message window config stuff customizable |
Date: |
Thu, 22 Mar 2018 00:58:55 -0400 (EDT) |
branch: externals/ebdb
commit 8e8c2e1ba0724c2a8c018765ec691183d397eb2a
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Make gnus-message window config stuff customizable
* ebdb-message.el (ebdb-message-reply-window-config,
ebdb-message-reply-yank-window-config): New customization options,
replacing the earlier hard-coded window configs.
---
ebdb-message.el | 33 ++++++++++++++++++++++++---------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/ebdb-message.el b/ebdb-message.el
index 8bd304e..a29e093 100644
--- a/ebdb-message.el
+++ b/ebdb-message.el
@@ -35,6 +35,26 @@
:group 'ebdb-mua)
(put 'ebdb-mua-message 'custom-loads '(ebdb-message))
+(defcustom ebdb-message-reply-window-config
+ '(reply
+ (horizontal 1.0
+ (message 1.0 point)
+ (ebdb-message 0.4)))
+ "Message reply window configuration to show EBDB.
+See Gnus' manual for details."
+ :group 'ebdb-mua-message
+ :type 'list)
+
+(defcustom ebdb-message-reply-yank-window-config
+ '(reply-yank
+ (horizontal 1.0
+ (message 1.0 point)
+ (ebdb-message 0.4)))
+ "Message reply-yank window configuration to show EBDB.
+See Gnus' manual for details."
+ :group 'ebdb-mua-message
+ :type 'list)
+
;; Suggestions welcome: What are good keybindings for the following
;; commands that do not collide with existing bindings?
;; (define-key message-mode-map "'" 'ebdb-mua-display-recipients)
@@ -102,20 +122,15 @@
;; The gnus window configuration stanza makes sure it's displayed
;; after the message buffer is set up.
(with-eval-after-load 'gnus-win
- (add-to-list 'gnus-window-to-buffer `(ebdb . ,(ebdb-message-buffer-name)))
+ (add-to-list 'gnus-window-to-buffer
+ `(ebdb-message . ,(ebdb-message-buffer-name)))
(add-hook 'message-header-setup-hook 'ebdb-mua-auto-update)
(gnus-add-configuration
- '(reply
- (horizontal 1.0
- (message 1.0 point)
- (ebdb 0.4))))
+ ebdb-message-reply-window-config)
(gnus-add-configuration
- '(reply-yank
- (horizontal 1.0
- (message 1.0 point)
- (ebdb 0.4)))))
+ ebdb-message-reply-yank-window-config))
(provide 'ebdb-message)
;;; ebdb-message.el ends here
- [elpa] externals/ebdb updated (2c71ef9 -> 091a744), Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb fea7c5e 01/15: Fix font inheritance of mail addresses, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb b228892 04/15: Change interactive behavior of ebdb-mail-aliases, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb fff770e 05/15: ebdb-mua defgroup in wrong file, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 78cfb2a 06/15: Pop up EBDB windows before formatting records, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb ff6e919 09/15: Add a basic language field, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 5e42dff 03/15: Forgot to pop-to-buffer to after creating citation buffer, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 8e8c2e1 07/15: Make gnus-message window config stuff customizable,
Eric Abrahamsen <=
- [elpa] externals/ebdb 76f8d4b 10/15: Make it clear what field type we're prompting for, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 925e0ea 14/15: Remove mail-citation-prefix-regexp from strings to snarf, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 03d432d 02/15: Don't append citation to kill ring in ebdb-cite-records-ebdb, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb d53ddc1 08/15: Use Gnus' window configuration for popping up EBDB buffers, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 41912b9 11/15: Improve check for field existence during snarf collapsing, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb b56bf29 12/15: Adjust snarfing regexp for names, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb 091a744 15/15: Make phone number snarfing regexp less permissive, Eric Abrahamsen, 2018/03/22
- [elpa] externals/ebdb bb01b5c 13/15: Mostly re-write ebdb-snarf-collect, Eric Abrahamsen, 2018/03/22