emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: dtbaumann@yahoo.de
Cc: Carsten Dominik <carsten@orgmode.org>, emacs-orgmode@gnu.org
Subject: Re: Re: Link to MH-E message that has been refiled
Date: Fri, 13 Jun 2008 23:13:42 +0200	[thread overview]
Message-ID: <9ED8DE8C-E212-4853-9FAB-4E22C592C58A@uva.nl> (raw)
In-Reply-To: <28089.1213382821@norvel.baumann-gauting.site>

Applied, thanks.

- Carsten

On Jun 13, 2008, at 8:47 PM, Thomas Baumann wrote:

> 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.
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2008-06-13 21:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-13 18:47 Link to MH-E message that has been refiled Thomas Baumann
2008-06-13 21:13 ` Carsten Dominik [this message]

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=9ED8DE8C-E212-4853-9FAB-4E22C592C58A@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=carsten@orgmode.org \
    --cc=dtbaumann@yahoo.de \
    --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).