[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb c9e4dfb 056/449: Limit to TODOs only in BBDB tag
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb c9e4dfb 056/449: Limit to TODOs only in BBDB tag searches |
Date: |
Fri, 27 Nov 2020 23:15:07 -0500 (EST) |
branch: externals/gnorb
commit c9e4dfb322df42e7705a3450e26850e296238cac
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Limit to TODOs only in BBDB tag searches
gnorb-bbdb.el: gnorb-bbdb-tag-agenda
Used to show all tagged headings by default, only TODOs
with a prefix argument. This reverses those defaults.
---
README.org | 3 ++-
lisp/gnorb-bbdb.el | 13 +++++++------
2 files changed, 9 insertions(+), 7 deletions(-)
diff --git a/README.org b/README.org
index 9b1c45a..cb6d16d 100644
--- a/README.org
+++ b/README.org
@@ -29,7 +29,8 @@ packages, but I'm not promising anything.
**** gnorb-bbdb-tag-agenda
Give BBDB records an org-tag field (customizable), then call this
function on the current records(s) to open an Org agenda tags search
-using those tags.
+using those tags. Only shows TODOs by default: use a prefix argument
+to show all tagged headings.
**** gnorb-bbdb-mail-search
Search for all mail messages from the record(s) displayed. Currently
supports the notmuch, mairix, and namazu search backends; set
diff --git a/lisp/gnorb-bbdb.el b/lisp/gnorb-bbdb.el
index 7fc6cf0..11c3ccf 100644
--- a/lisp/gnorb-bbdb.el
+++ b/lisp/gnorb-bbdb.el
@@ -42,9 +42,10 @@
(defun gnorb-bbdb-tag-agenda (records)
"Open an Org agenda tags view from the BBDB buffer, using the
-value of the record's org-tags field. A prefix argument limits to
-TODOs only; a \"*\" prefix operates on all currently visible
-records. If you want both, use \"C-u\" before the \"*\"."
+value of the record's org-tags field. This shows only TODOs by
+default; a prefix argument shows all tagged headings; a \"*\"
+prefix operates on all currently visible records. If you want
+both, use \"C-u\" before the \"*\"."
(interactive (list (bbdb-do-records)))
(require 'org-agenda)
(unless (and (eq major-mode 'bbdb-mode)
@@ -60,10 +61,10 @@ records. If you want both, use \"C-u\" before the \"*\"."
records))
"|")))
(if tag-string
- ;; C-u = todos only
+ ;; C-u = all headings, not just todos
(if (equal current-prefix-arg '(4))
- (org-tags-view t tag-string)
- (org-tags-view nil tag-string))
+ (org-tags-view nil tag-string)
+ (org-tags-view t tag-string))
(error "No org-tags field present"))))
(defun gnorb-bbdb-mail-search (records)
- [elpa] externals/gnorb e53d908 028/449: gnorb-gnus.el: bugfix in gnorb-gnus-collect-all-attachments, (continued)
- [elpa] externals/gnorb e53d908 028/449: gnorb-gnus.el: bugfix in gnorb-gnus-collect-all-attachments, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 4f16002 029/449: gnorb-org.el: Fix attaching attachments to outgoing messages., Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ed9825e 034/449: Use map-y-or-n-p for attachment actions, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb af8f375 038/449: Various README.org tweaks, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 27a91f6 039/449: Open link from string correctly, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 048bbd9 040/449: Many pointless defstructs, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e183272 055/449: Think about merging mail commands, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a680c42 058/449: Moving the mail header stuff to a different file, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 8519593 060/449: Rework Org BBDB popups, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 97c0d41 045/449: Place point somewhere useful after setting up message, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c9e4dfb 056/449: Limit to TODOs only in BBDB tag searches,
Stefan Monnier <=
- [elpa] externals/gnorb 210851e 065/449: That's not broken anymore., Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 72a98bd 020/449: README.org: Document new capture attachment thingy., Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e2617e0 030/449: gnorb-org.el: That's not how return-actions look, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c5e3459 033/449: README.org: Fixed keybinding for mime map, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 0e75c71 035/449: Note future mail-search-from-agenda function, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 1024a81 037/449: New gnorb-org-capture-collect-link-p option, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ee8b595 036/449: Merge gnorb-org-handle-mail functions, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5b9e163 047/449: Allow attaching in all captures., Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3a95a07 049/449: First go at `gnorb-org-agenda-popup-bbdb', Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb cf975f5 048/449: Refactor gnorb-org mail-related stuff., Stefan Monnier, 2020/11/27