From: Thomas Baumann <dtbaumann@yahoo.de>
To: Carsten Dominik <carsten@orgmode.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Link to MH-E message that has been refiled
Date: Fri, 13 Jun 2008 20:47:01 +0200 [thread overview]
Message-ID: <28089.1213382821@norvel.baumann-gauting.site> (raw)
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.
next reply other threads:[~2008-06-13 18:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-13 18:47 Thomas Baumann [this message]
2008-06-13 21:13 ` Re: Link to MH-E message that has been refiled Carsten Dominik
-- strict thread matches above, loose matches on Subject: below --
2008-06-11 4:39 Paisa Seeluangsawat
2008-06-13 18:12 ` Thomas Baumann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=28089.1213382821@norvel.baumann-gauting.site \
--to=dtbaumann@yahoo.de \
--cc=carsten@orgmode.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).