[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb dd4e013 225/449: Restore action shouldn't quit su
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb dd4e013 225/449: Restore action shouldn't quit summary buffer |
Date: |
Fri, 27 Nov 2020 23:15:44 -0500 (EST) |
branch: externals/gnorb
commit dd4e0135f9025ea29031c00804afb2d678ebb6ae
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Restore action shouldn't quit summary buffer
Now that we have `gnorb-restore-layout', leave the summary buffer
intact, and switch to the appropriate Org file before triggering action.
This will also work better with triggering multiple relevant headings.
* lisp/gnorb-org.el (gnorb-org-restore-after-send): Don't mess with
layout; explicitly switch to target Org buffer.
---
lisp/gnorb-org.el | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/lisp/gnorb-org.el b/lisp/gnorb-org.el
index 2421509..d7db56c 100644
--- a/lisp/gnorb-org.el
+++ b/lisp/gnorb-org.el
@@ -151,13 +151,9 @@ future!"
us back where we came from, and go through all the org ids that
might have been in the outgoing message's headers and call
`gnorb-trigger-todo-action' on each one."
- (when (eq major-mode 'gnus-summary-mode)
- (gnus-summary-exit nil t))
- (when (and (window-configuration-p gnorb-window-conf)
- gnorb-return-marker)
- (set-window-configuration gnorb-window-conf)
- (goto-char gnorb-return-marker))
+ (delete-other-windows)
(dolist (id gnorb-message-org-ids)
+ (org-id-goto id)
(gnorb-trigger-todo-action nil id))
;; this is a little unnecessary, but it may save grief
(setq gnorb-gnus-message-info nil)
- [elpa] externals/gnorb ec44a6d 182/449: Continue shifting candidate finding to the registry, (continued)
- [elpa] externals/gnorb ec44a6d 182/449: Continue shifting candidate finding to the registry, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 927e401 184/449: New function for restoring window layout, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a352586 189/449: Improve lookups for entries with unknown groups, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 81fed4b 193/449: Helper function for transitioning to the new system, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d7327b5 192/449: The big switch! Rely only on registry for tracking, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 7ba1786 196/449: Use gnorb-gnus-message-info for incoming and outgoing, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 0cb4d1a 201/449: Docstring for gnorb-scan-links, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 5c9ef6e 203/449: Don't create Org IDs when scanning for mails, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9ac84b7 218/449: Return links in the order which they were found, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a9535ae 223/449: Merge branch 'registry', Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb dd4e013 225/449: Restore action shouldn't quit summary buffer,
Stefan Monnier <=
- [elpa] externals/gnorb 08e0742 229/449: Empty News and gnorb.texi files, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb bcfd501 236/449: gitignore Elpa-generated stuff, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 55a630d 238/449: Gnus hinting needs to check in-reply-to as well, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb d2831b8 237/449: Refactor summary buffer hinting into separate function, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2be4a71 240/449: Save point with marker when adding headers to replies, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ba99110 242/449: Check for relevant headings when handling attachments, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 1a0cfc7 243/449: Delete duplicates before and after finding candidates, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 35284f2 248/449: Add TODO for collecting BBDB messages by thread, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 2c0f43d 249/449: Refinements to link extraction, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e1fb666 257/449: Function for deleting all assocations of an Org heading, Stefan Monnier, 2020/11/27