emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <dmaus@ictsoc.de>
To: Dave Abrahams <dave@boostpro.com>
Cc: David Maus <dmaus@ictsoc.de>, emacs-orgmode@gnu.org
Subject: Re: Bug: unable to open link unless `...from-string' [7.7 (release_7.7.292.g0d4e8.dirty)]
Date: Tue, 20 Sep 2011 06:28:48 +0200	[thread overview]
Message-ID: <87aa9zx2f3.wl%dmaus@ictsoc.de> (raw)
In-Reply-To: <m2boukl56l.fsf@pluto.luannocracy.com>

[-- Attachment #1: Type: text/plain, Size: 1599 bytes --]

At Fri, 16 Sep 2011 14:20:50 -0400,
Dave Abrahams wrote:
>
>
> on Fri Sep 16 2011, David Maus <dmaus-AT-ictsoc.de> wrote:
>
> > How did you enter the link into the Org file?
> >
> > The original link
> >
> > [[message://m2k4n46n5p.wl%dave@boostpro.com]]
> >
> > Is unescaped, but Org treats links as always percent-escaped. What
> > happens is that "%da" is treated as a percent escaped character and
> > unescaped after read from buffer.
> >
> > The link should read:
> >
> > message://m2k4n46n5p.wl%25dave@boostpro.com
>
> Yeah, I finally figured that out.
>
> > This is a troublesome situation
> >
> > https://lists.gnu.org/archive/html/emacs-orgmode/2011-09/msg00257.html
> >
> > But up to know I didn't find a solution for it.
>
> Hmm, well, ... the link started out as a a wanderlust link of a form
> more like this:
>
>   [[wl:/message-id:"<m2k4n46n5p.wl%dave@boostpro.com>"/%%5BGmail%5D/All%20Mail#103387BF-79B8-4389-AD51-9550873479A1@gmail.com]]
>
> _That_ link used to work.  I transformed links like that by
> search/replace into:
>
>   [[message://m2k4n46n5p.wl%dave@boostpro.com]]
>
> So maybe it's my fault?

The original link is alread "wrong", i.e. unescaped.

The key question are

 1. How did you create the original link?
 2. When did you create the original link?

I tried taking a link with `org-store-link' and insert it with
`org-insert-link' and the link was properly escaped.

The link escaping was changed in November 2010, maybe the link in
question is an old one?

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

[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]

  reply	other threads:[~2011-09-20  4:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 16:03 Dave Abrahams
2011-09-16 18:09 ` David Maus
2011-09-16 18:20   ` Dave Abrahams
2011-09-20  4:28     ` David Maus [this message]
2011-09-20 16:24       ` Dave Abrahams
2011-09-22  4:50         ` David Maus
2011-09-22 14:13           ` Dave Abrahams
2011-09-25  6:46             ` David Maus

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=87aa9zx2f3.wl%dmaus@ictsoc.de \
    --to=dmaus@ictsoc.de \
    --cc=dave@boostpro.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Bug: unable to open link unless `...from-string'\'' [7.7 (release_7.7.292.g0d4e8.dirty)]' \
    /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

Code repositories for project(s) associated with this 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).