[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 90ff5d1 06/11: New MUA command for toggling record
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 90ff5d1 06/11: New MUA command for toggling record layout |
Date: |
Sun, 22 Oct 2017 13:17:02 -0400 (EDT) |
branch: externals/ebdb
commit 90ff5d184a5127fa4778761b285c10cd844c809e
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
New MUA command for toggling record layout
* ebdb-mua.el (ebdb-mua-toggle-records-format): New command to toggle
layout from MUA windows.
(ebdb-mua-keymap): Bind to "; t".
* ebdb.org: Document.
---
ebdb-mua.el | 10 +++++++
ebdb.info | 96 +++++++++++++++++++++++++++++++++----------------------------
ebdb.org | 17 +++++++----
ebdb.texi | 16 +++++++----
4 files changed, 85 insertions(+), 54 deletions(-)
diff --git a/ebdb-mua.el b/ebdb-mua.el
index f84c3ee..3746d37 100644
--- a/ebdb-mua.el
+++ b/ebdb-mua.el
@@ -1139,6 +1139,15 @@ where it was in the MUA, rather than quitting the EBDB
buffer."
[?q]))))))
;;;###autoload
+(defun ebdb-mua-toggle-records-format ()
+ "Toggle format of all records without leaving MUA."
+ (interactive)
+ (let ((buf (get-buffer (ebdb-make-buffer-name))))
+ (when buf
+ (with-current-buffer buf
+ (ebdb-toggle-records-format ebdb-records)))))
+
+;;;###autoload
(defun ebdb-mua-edit-sender-notes ()
"Edit the notes field of the EBDB record of the message sender."
(interactive)
@@ -1278,6 +1287,7 @@ along with the MUA window(s), displaying the matching
records."
(define-key km (kbd "'") #'ebdb-mua-edit-sender-notes)
(define-key km (kbd "\"") #'ebdb-mua-in-ebdb-buffer)
(define-key km (kbd "s") #'ebdb-mua-snarf-article)
+ (define-key km (kbd "t") #'ebdb-mua-toggle-records-format)
km)
"Common keymap for calling EBDB commands in an MUA.
diff --git a/ebdb.info b/ebdb.info
index dbfa57d..dfc75a6 100644
--- a/ebdb.info
+++ b/ebdb.info
@@ -721,6 +721,10 @@ binding, and only specifies the further binding. Ie,
press “;:” to call
before edits are made. This functionality is highly unreliable,
and probably won’t work as advertised.
+‘t’
+ This command toggles the displayed records between the multiline
+ and oneline display formats.
+
Other command are not bound by default:
-- Command: ebdb-mua-yank-cc
@@ -1881,17 +1885,21 @@ Index
* Menu:
* !: Searching. (line 49)
-* ": Interactive Commands.
+* / /: Searching. (line 6)
+* ;: The Basics of ebdb-mode.
+ (line 41)
+* ; ": Interactive Commands.
(line 26)
-* ': Interactive Commands.
+* ; ': Interactive Commands.
(line 22)
-* / /: Searching. (line 6)
-* :: Interactive Commands.
+* ; :: Interactive Commands.
(line 13)
-* ;: Interactive Commands.
+* ; ;: Interactive Commands.
(line 18)
-* ; <1>: The Basics of ebdb-mode.
- (line 41)
+* ; s: Interactive Commands.
+ (line 33)
+* ; t: Interactive Commands.
+ (line 42)
* ?: The Basics of ebdb-mode.
(line 102)
* ^: Searching. (line 55)
@@ -2030,13 +2038,13 @@ Index
* ebdb-mua-auto-update-p: Auto-Updating Records.
(line 10)
* ebdb-mua-display-all-recipients: Interactive Commands.
- (line 55)
+ (line 59)
* ebdb-mua-display-all-records: Interactive Commands.
(line 18)
* ebdb-mua-display-recipients: Interactive Commands.
- (line 52)
+ (line 56)
* ebdb-mua-display-sender: Interactive Commands.
- (line 49)
+ (line 53)
* ebdb-mua-edit-sender-notes: Interactive Commands.
(line 22)
* ebdb-mua-in-ebdb-buffer: Interactive Commands.
@@ -2058,10 +2066,12 @@ Index
(line 25)
* ebdb-mua-summary-unification-list: Sender name display. (line 22)
* ebdb-mua-summary-unify-format-letter: Sender name display. (line 26)
+* ebdb-mua-toggle-records-format: Interactive Commands.
+ (line 42)
* ebdb-mua-update-records: Interactive Commands.
(line 13)
* ebdb-mua-yank-cc: Interactive Commands.
- (line 43)
+ (line 47)
* ebdb-next-field: The Basics of ebdb-mode.
(line 16)
* ebdb-next-record: The Basics of ebdb-mode.
@@ -2161,9 +2171,7 @@ Index
(line 50)
* revert-buffer: The Basics of ebdb-mode.
(line 99)
-* s: Interactive Commands.
- (line 33)
-* s <1>: The Basics of ebdb-mode.
+* s: The Basics of ebdb-mode.
(line 108)
* Saving the database: The EBDB Database. (line 78)
* Search history: Searching. (line 51)
@@ -2207,36 +2215,36 @@ Node: Pop-up Buffers19386
Node: Auto-Updating Records20224
Node: Noticing and Automatic Rules22624
Node: Interactive Commands23957
-Node: EBDB and MUA summary buffers26319
-Node: Sender name display26805
-Node: Summary buffer marks28032
-Node: EBDB Buffers29211
-Node: Searching30393
-Node: Changing Search Behavior32055
-Node: The Basics of ebdb-mode33302
-Node: Marking36903
-Node: Exporting/Formatting37327
-Node: Completion38276
-Node: Snarfing39474
-Node: Internationalization41475
-Node: Diary Integration44174
-Node: Mail Aliases45039
-Node: vCard Support45753
-Node: Org Integration46252
-Node: Citing Records48150
-Node: Hacking EBDB48908
-Node: Field Classes51227
-Node: Init and Delete Methods54211
-Node: The Labeled Field Class55718
-Node: The Singleton Field Class56572
-Node: Actions57010
-Node: Custom Field Searching57682
-Node: Fast Lookups60486
-Node: Formatting in the EBDB Buffer62296
-Node: Writing Internationalization Libraries64309
-Node: Writing Integration For New MUAs68660
-Node: Article snarfing72079
-Node: Index72797
+Node: EBDB and MUA summary buffers26432
+Node: Sender name display26918
+Node: Summary buffer marks28145
+Node: EBDB Buffers29324
+Node: Searching30506
+Node: Changing Search Behavior32168
+Node: The Basics of ebdb-mode33415
+Node: Marking37016
+Node: Exporting/Formatting37440
+Node: Completion38389
+Node: Snarfing39587
+Node: Internationalization41588
+Node: Diary Integration44287
+Node: Mail Aliases45152
+Node: vCard Support45866
+Node: Org Integration46365
+Node: Citing Records48263
+Node: Hacking EBDB49021
+Node: Field Classes51340
+Node: Init and Delete Methods54324
+Node: The Labeled Field Class55831
+Node: The Singleton Field Class56685
+Node: Actions57123
+Node: Custom Field Searching57795
+Node: Fast Lookups60599
+Node: Formatting in the EBDB Buffer62409
+Node: Writing Internationalization Libraries64422
+Node: Writing Integration For New MUAs68773
+Node: Article snarfing72192
+Node: Index72910
End Tag Table
diff --git a/ebdb.org b/ebdb.org
index 1bf3adb..b7d6533 100644
--- a/ebdb.org
+++ b/ebdb.org
@@ -525,7 +525,7 @@ call ~ebdb-mua-display-records~.
#+attr_texinfo: :indic @kbd
- : ::
- #+KINDEX: :
+ #+KINDEX: ; :
#+FINDEX: ebdb-mua-update-records
If the option ~ebdb-mua-auto-update-p~ is nil, this command
(~ebdb-mua-update-records~) can be used to do the same thing, and
@@ -533,21 +533,21 @@ call ~ebdb-mua-display-records~.
- ; ::
- #+KINDEX: ;
+ #+KINDEX: ; ;
#+FINDEX: ebdb-mua-display-all-records
If the option ~ebdb-mua-pop-up~ is nil, this command can be used
to do the same thing (~ebdb-mua-display-all-records~).
- ' ::
- #+KINDEX: '
+ #+KINDEX: ; '
#+FINDEX: ebdb-mua-edit-sender-notes
Edit the notes field of the message sender
(~ebdb-mua-edit-sender-notes~).
- @@texinfo:@quotedblright{}@@ ::
- #+KINDEX: "
+ #+KINDEX: ; "
#+FINDEX: ebdb-mua-in-ebdb-buffer
This command moves point to the relevant EBDB pop-up buffer
(popping the buffer up first, if necessary). You can then issue
@@ -557,7 +557,7 @@ call ~ebdb-mua-display-records~.
- s ::
- #+KINDEX: s
+ #+KINDEX: ; s
#+FINDEX: ebdb-mua-snarf-article
This command scans the body text of the current message, and
attempts to snarf new record information from it. Email
@@ -567,6 +567,13 @@ call ~ebdb-mua-display-records~.
always prompted before edits are made. This functionality is
highly unreliable, and probably won't work as advertised.
+- t ::
+
+ #+KINDEX: ; t
+ #+FINDEX: ebdb-mua-toggle-records-format
+ This command toggles the displayed records between the multiline
+ and oneline display formats.
+
Other command are not bound by default:
#+attr_texinfo: :options Command ebdb-mua-yank-cc
diff --git a/ebdb.texi b/ebdb.texi
index 41ee491..d258cac 100644
--- a/ebdb.texi
+++ b/ebdb.texi
@@ -723,26 +723,26 @@ call @code{ebdb-mua-display-records}.
@table @kbd
@item :
address@hidden :
address@hidden ; :
@findex ebdb-mua-update-records
If the option @code{ebdb-mua-auto-update-p} is nil, this command
(@code{ebdb-mua-update-records}) can be used to do the same thing, and
will behave as if that option were set to @code{query}.
@item ;
address@hidden ;
address@hidden ; ;
@findex ebdb-mua-display-all-records
If the option @code{ebdb-mua-pop-up} is nil, this command can be used
to do the same thing (@code{ebdb-mua-display-all-records}).
@item '
address@hidden '
address@hidden ; '
@findex ebdb-mua-edit-sender-notes
Edit the notes field of the message sender
(@code{ebdb-mua-edit-sender-notes}).
@item @quotedblright{}
address@hidden "
address@hidden ; "
@findex ebdb-mua-in-ebdb-buffer
This command moves point to the relevant EBDB pop-up buffer
(popping the buffer up first, if necessary). You can then issue
@@ -751,7 +751,7 @@ commands in the EBDB buffer as usual, with the exception
that
window, rather than quitting the EBDB buffer.
@item s
address@hidden s
address@hidden ; s
@findex ebdb-mua-snarf-article
This command scans the body text of the current message, and
attempts to snarf new record information from it. Email
@@ -760,6 +760,12 @@ information in the headers of forwarded mail, and
information in
the signature will be associated with the sender. The user is
always prompted before edits are made. This functionality is
highly unreliable, and probably won't work as advertised.
+
address@hidden t
address@hidden ; t
address@hidden ebdb-mua-toggle-records-format
+This command toggles the displayed records between the multiline
+and oneline display formats.
@end table
Other command are not bound by default:
- [elpa] externals/ebdb c9acc38 04/11: Add ebdb-org-field-tags to ebdb-hash-extra-predicates, (continued)
- [elpa] externals/ebdb c9acc38 04/11: Add ebdb-org-field-tags to ebdb-hash-extra-predicates, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb eee0868 03/11: Downcase all-completions string when searching, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb fd66ed0 05/11: Add optional "shortcut" arg to ebdb-prompt-for-db, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb db53550 11/11: Protect against bug with timestamp/creation-dates, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb c56d9e2 02/11: Get ebdb-ispell working again, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb 121281d 01/11: Part one of migration from org-contacts, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb d4dbf34 07/11: New ebdb-record-change-name methods for strings, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb 59449b9 10/11: New defsubst ebdb-record-self, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb 2661406 09/11: Use cached record name string in cl-print-object, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb d806d7d 08/11: Compiler-inspired fixes, vol 335534, Eric Abrahamsen, 2017/10/22
- [elpa] externals/ebdb 90ff5d1 06/11: New MUA command for toggling record layout,
Eric Abrahamsen <=