* Link to MH-E message that has been refiled
@ 2008-06-11 4:39 Paisa Seeluangsawat
2008-06-13 18:12 ` Thomas Baumann
0 siblings, 1 reply; 3+ messages in thread
From: Paisa Seeluangsawat @ 2008-06-11 4:39 UTC (permalink / raw)
To: emacs-orgmode
Hi,
I would like some tips on using org-mode's links to MH-E messages.
Here is what I currently do:
1) As I read new emails, I use org-remember to make a new org entry. It
automatically creates a link to the email message:
mhe:+inbox#[message_id]@[host]
2) I refile the email message to a folder (e.g. "family"). Keep my
inbox clean :-).
3) Problem: the link in my org entry is now broken. It still
(understandably) points to "inbox", while the message is now in
"family".
Is there a convenient way to get around this problem?
Paisa
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Link to MH-E message that has been refiled
@ 2008-06-13 18:47 Thomas Baumann
0 siblings, 0 replies; 3+ messages in thread
From: Thomas Baumann @ 2008-06-13 18:47 UTC (permalink / raw)
To: Carsten Dominik; +Cc: emacs-orgmode
and there's a bug with org-mhe-get-message-folder-from-index returning
"nil" instead of nil
fixed with the patch below
diff --git a/lisp/org-mhe.el b/lisp/org-mhe.el
index eb2c9ab..7f0d7f4 100644
--- a/lisp/org-mhe.el
+++ b/lisp/org-mhe.el
@@ -141,8 +141,8 @@ So if you use sequences, it will now work."
"Return the name of the message folder in a index folder buffer."
(save-excursion
(mh-index-previous-folder)
- (re-search-forward "^\\(+.*\\)$" nil t)
- (message "%s" (match-string 1))))
+ (if (re-search-forward "^\\(+.*\\)$" nil t)
+ (message "%s" (match-string 1)))))
(defun org-mhe-get-message-folder ()
"Return the name of the current message folder.
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-06-13 18:48 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-11 4:39 Link to MH-E message that has been refiled Paisa Seeluangsawat
2008-06-13 18:12 ` Thomas Baumann
-- strict thread matches above, loose matches on Subject: below --
2008-06-13 18:47 Thomas Baumann
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).