From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus 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 Message-ID: <87aa9zx2f3.wl%dmaus@ictsoc.de> References: <87zki4tl4u.wl%dmaus@ictsoc.de> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Tue_Sep_20_06:28:48_2011-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5rx2-0006k2-8a for emacs-orgmode@gnu.org; Tue, 20 Sep 2011 00:28:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R5rx0-0003vM-Rg for emacs-orgmode@gnu.org; Tue, 20 Sep 2011 00:28:56 -0400 Received: from app1b.xlhost.de ([213.202.242.162]:45280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R5rx0-0003vF-N5 for emacs-orgmode@gnu.org; Tue, 20 Sep 2011 00:28:54 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dave Abrahams Cc: David Maus , emacs-orgmode@gnu.org --pgp-sign-Multipart_Tue_Sep_20_06:28:48_2011-1 Content-Type: text/plain; charset=US-ASCII At Fri, 16 Sep 2011 14:20:50 -0400, Dave Abrahams wrote: > > > on Fri Sep 16 2011, David Maus 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:""/%%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 --pgp-sign-Multipart_Tue_Sep_20_06:28:48_2011-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAk54FoAACgkQma24O1pEeOa/MgEA1jden96G+OocbBXNjz8GKfKz 4kDlZPhI5E8byI4JwZcBAOEv+HlVc2ynzJWxpQhfQOsM8j0nSwmvtx7qu5jsR8FO =2JL+ -----END PGP SIGNATURE----- --pgp-sign-Multipart_Tue_Sep_20_06:28:48_2011-1--