From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: bug with link following --- a (partial) solution Date: Wed, 22 Sep 2010 20:44:36 +0200 Message-ID: <87iq1x7h4b.wl%dmaus@ictsoc.de> References: <4C7A7E75.2000403@sift.info> <4C7AECF8.1020403@sift.info> <87hbhvb1hn.wl%dmaus@ictsoc.de> <4C8D8E2D.3050704@sift.info> <877hinuzz3.wl%dmaus@ictsoc.de> <87zkv9bqdd.wl%dmaus@ictsoc.de> <4C9A4CA8.9020108@sift.info> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============1741486917==" Return-path: Received: from [140.186.70.92] (port=48523 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyUJ8-0006ld-8w for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 14:44:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyUJ7-00028R-1W for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 14:44:42 -0400 Received: from mysql1.xlhost.de ([213.202.242.106]:48339) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyUJ6-000288-Qz for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 14:44:40 -0400 In-Reply-To: <4C9A4CA8.9020108@sift.info> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: rpgoldman@sift.info Cc: David Maus , Org Mode , Carsten Dominik --===============1741486917== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Wed_Sep_22_20:44:35_2010-1"; micalg=pgp-sha256; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Wed_Sep_22_20:44:35_2010-1 Content-Type: text/plain; charset=US-ASCII Robert Goldman wrote: >On 9/22/10 Sep 22 -1:11 PM, David Maus wrote: >> David Maus wrote: >>> Ah, now I see the problem: For some reason `org-store-link' removes >>> the colon at the end of the headline. I reopended the issue as a bug; >>> setting the aforementioned variable to nil might be considered a >>> temporary work-around. >> >> Okay, pushed a patch to master that should fix this problem. >> `org-store-link' now keeps the headline string intact when storing a >> link. >> >> Could you test if this fixes the problem for you? >I'm afraid it doesn't seem to. I am attaching a copy of my link-bug.org >file. When I click on the links to "submit through submission site:" or >"Bletch:" headlines, I get the no such link error. This is expected. I've fixed the function that stores links. As you can see in the link to the "Bletch:" headline the colon is missing in the link (first pair of brackets). That's why Org does not find the headline when you try to open the link. If you now store a link to "Bletch:" the colon is included in the link, e.g. [[*Bletch][Bletch:]] (does not find headline) vs. [[*Bletch:][Bletch:]] (works) Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... dmaus@ictsoc.de --pgp-sign-Multipart_Wed_Sep_22_20:44:35_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAkyaTpMACgkQma24O1pEeOZG7gEAiL9onmL/kznC08ckD3zk2IW+ DwIQkTvCPYWYyfpMmjUBAMBYaOF9Nt5FRGAX55/ZabDJObTV6tJGJ+7q27BFNvQy =G8J0 -----END PGP SIGNATURE----- --pgp-sign-Multipart_Wed_Sep_22_20:44:35_2010-1-- --===============1741486917== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1741486917==--