emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: "Andrew J. Korty" <ajk@iu.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: org-mhe creates corrupt link when Message-ID field	contains newline [7.01trans]
Date: Wed, 15 Sep 2010 19:02:34 +0200	[thread overview]
Message-ID: <87wrqnrlcl.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <30477.1284560478@iu.edu>

Andrew J. Korty wrote:
>Some MUAs insert a newline when rendering the Message-ID field:

>    Message-ID:
>     <98A78083733DE040834C2B9E91B87FDE0AADEB@example.com>

>The newline causes org-mhe-store-link to create a link that looks like

>    [[mhe:%2Barchive#
>    %20<98A78083733DE040834C2B9E91B87FDE0AADEB@example.com][subject]]

>org later treats the above as separate lines; any tags or properties 
>added end up in the middle of the link.

Thanks for reporting this bug.  I've fixed it in master, but not using
`replace-regexp-in-string' but Org's internal function to strip
leading and trailing white space.

Best,
  -- David

-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... dmaus@ictsoc.de

      reply	other threads:[~2010-09-15 17:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-15 14:21 Bug: org-mhe creates corrupt link when Message-ID field contains newline [7.01trans] Andrew J. Korty
2010-09-15 17:02 ` David Maus [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=87wrqnrlcl.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=ajk@iu.edu \
    --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).