[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/gnorb 1d9c710 139/449: Error in following link should b
From: |
Stefan Monnier |
Subject: |
[elpa] externals/gnorb 1d9c710 139/449: Error in following link should be re-raised |
Date: |
Fri, 27 Nov 2020 23:15:26 -0500 (EST) |
branch: externals/gnorb
commit 1d9c71053ba6145bd205dc474854d4f96867ed6e
Author: Eric Abrahamsen <eric@ericabrahamsen.net>
Commit: Eric Abrahamsen <eric@ericabrahamsen.net>
Error in following link should be re-raised
lisp/gnorb-org.el: (gnorb-org-setup-message) We're supposed to be
replying to this message link, so if something
fails in doing that, the error should be propagated.
Just try to clean up the buffers first.
---
lisp/gnorb-org.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/lisp/gnorb-org.el b/lisp/gnorb-org.el
index 84f4b9e..b900716 100644
--- a/lisp/gnorb-org.el
+++ b/lisp/gnorb-org.el
@@ -407,7 +407,7 @@ headings."
;; either compose new message...
(compose-mail (mapconcat 'identity mails ", "))
;; ...or follow link and start reply
- (condition-case nil
+ (condition-case err
(progn
(org-gnus-open (org-link-unescape (car messages)))
(call-interactively
@@ -417,7 +417,9 @@ headings."
(message-goto-to)
(insert ", ")
(insert (mapconcat 'identity mails ", "))))
- (error (message "Couldn't open linked message"))))
+ (error (when (window-configuration-p gnorb-org-window-conf)
+ (set-window-configuration gnorb-org-window-conf))
+ (signal (car err) (cdr err)))))
;; return us after message is sent
(add-to-list 'message-exit-actions
'gnorb-org-restore-after-send t)
- [elpa] externals/gnorb 69c3312 089/449: Refactoring of gnorb-org link scanning, (continued)
- [elpa] externals/gnorb 69c3312 089/449: Refactoring of gnorb-org link scanning, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 6a66e21 093/449: Got the arguments to org-get-heading backwards, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a64f652 094/449: Have gnorb-org-popup-bbdb scan the whole subtree, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 68f1473 096/449: More robust check for an open nngnorb server, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9fbd947 105/449: Collect attachments on incoming trigger action, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb adba76d 117/449: Rewrite of link-scanning routine, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 522f653 121/449: Declare some function, possibly unneccesary, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 1a40d11 130/449: Checking wishlist items off, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 372986c 132/449: Fix call of key-description, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9ecb0e2 136/449: Use BBDB posting styles in mail composition, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 1d9c710 139/449: Error in following link should be re-raised,
Stefan Monnier <=
- [elpa] externals/gnorb 5a86970 109/449: Improvements to outgoing todo handling, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb ac97c90 118/449: Let gnorb-org-view work in the Agenda as well, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb a512d40 124/449: Largely re-wrote gnorb-gnus-outgoing-do-todo, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb dad66e6 131/449: Better separate triggering for sent/received msgs, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb baf896c 100/449: Cruft! How the hell did that happen?, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 3ffcdab 101/449: Create .gitignore file, ignoring *elc files, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9bf56f2 135/449: Refactor extraction of mails from records, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb c6b7c04 137/449: Minor README edits, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb e44ece6 102/449: Multiple misnamed variables in bbdb posting styles, Stefan Monnier, 2020/11/27
- [elpa] externals/gnorb 9f5466d 103/449: Edits courtesy of byte-compiler warnings, Stefan Monnier, 2020/11/27