[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ebdb 849159d 008/350: Add ebdb-search-database
From: |
Eric Abrahamsen |
Subject: |
[elpa] externals/ebdb 849159d 008/350: Add ebdb-search-database |
Date: |
Mon, 14 Aug 2017 11:45:52 -0400 (EDT) |
branch: externals/ebdb
commit 849159d9493cc04309c19c985e755d759fe364fd
Author: Eric Abrahamsen <address@hidden>
Commit: Eric Abrahamsen <address@hidden>
Add ebdb-search-database
* ebdb-com.el (ebdb-search-database): Select a database and show all
its records.
---
ebdb-com.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/ebdb-com.el b/ebdb-com.el
index c023439..289c5a0 100644
--- a/ebdb-com.el
+++ b/ebdb-com.el
@@ -1938,6 +1938,14 @@ in either the name(s), organization, address, phone,
mail, or xfields."
(ebdb-display-records unchanged-records fmt))
(ebdb-display-records dirty fmt))))
+;;;###autoload
+(defun ebdb-search-database (db &optional fmt)
+ "Select a database and show all records from that database."
+ (interactive
+ (list (ebdb-prompt-for-db)
+ (ebdb-formatter-prefix)))
+ (ebdb-display-records (slot-value db 'records) fmt))
+
(defun ebdb-search-prog (function &optional fmt)
"Search records using FUNCTION.
FUNCTION is called with one argument, the record, and should return
- [elpa] branch externals/ebdb created (now acaf3d0), Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 6aa15d2 003/350: Change interactive defs for move/copy-records, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 6c79908 001/350: Test, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 849159d 008/350: Add ebdb-search-database,
Eric Abrahamsen <=
- [elpa] externals/ebdb 406b700 011/350: Change keybindings of record/field copy commands, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb baa9636 005/350: Complement ebdb-create-record with ebdb-create-record-extended, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 7b8b00f 013/350: Remap binding of ebdb in *EBDB* buffers, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4ded2cb 007/350: Be more careful about text props in record headers, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e760dad 006/350: Fix quoting bug in ebdb-fmt-record-header, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb e0b4d17 016/350: Provide keybindings for clone-buffer and rename-buffer, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 696d6ba 018/350: Document buffer manipulation commands in the manual, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb 4633492 023/350: Improve ebdb-field-user docstring, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb ece1a35 017/350: Stray "arg" arg left in create-record-extended, Eric Abrahamsen, 2017/08/14
- [elpa] externals/ebdb c4ea244 021/350: Add new ebdb-field-id field, Eric Abrahamsen, 2017/08/14