From mboxrd@z Thu Jan 1 00:00:00 1970 From: Robert Goldman Subject: Re: Re: bug with link following --- a (partial) solution Date: Sun, 12 Sep 2010 21:36:29 -0500 Message-ID: <4C8D8E2D.3050704@sift.info> References: <4C7A7E75.2000403@sift.info> <4C7AECF8.1020403@sift.info> <87hbhvb1hn.wl%dmaus@ictsoc.de> Reply-To: rpgoldman@sift.info Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------010408070103010909000006" Return-path: Received: from [140.186.70.92] (port=36902 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ouyz9-0001XA-Oc for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 22:41:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OuyuG-0006Cr-MD for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 22:36:36 -0400 Received: from mpls.sift.info ([75.146.46.193]:35417) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OuyuG-0006Ck-Hy for emacs-orgmode@gnu.org; Sun, 12 Sep 2010 22:36:32 -0400 In-Reply-To: <87hbhvb1hn.wl%dmaus@ictsoc.de> 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: David Maus Cc: Org Mode , Carsten Dominik This is a multi-part message in MIME format. --------------010408070103010909000006 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 9/12/10 Sep 12 -7:16 AM, David Maus wrote: > Robert P. Goldman wrote: >> On 8/29/10 Aug 29 -10:36 AM, Robert Goldman wrote: >>> I used org-store-link and org-insert-link to make a link in the attached >>> document (I distilled it down from a real document). In my org-mode >>> (pulled from git this morning), using Aquamacs 2.0 on Mac OSX Snow >>> Leopard (10.6), org-mode cannot follow the link I inserted with o-i-l, >>> and it pops up a dialog asking if I should add such a link target. > >> A quick followup: > >> I had a shot with git blame, and it seems like the only thing that might >> have interfered with this search recently is the commit with the SHA1 >> has starting a84c8a2c > >> And, indeed, when I comment out the block that was introduced in this >> commit (starting at line 9389): > >> ... > >> Carsten, could this patch be reverted until it can be fixed? > > It's not a bug, it's a feature: To revert to the old behaviour you > can customize the variable `org-link-search-must-match-exact-headline' > and set it to nil. I believe I have narrowed down the problem to a more specific case. I have reexamined the bug I had, and as far as I can tell, it occurs because of the punctuation at the end of the header line. I am attaching a file that shows the funny behavior. I can link to a header titled "Foobar" correctly, but not one titled "submit through submission site:" Attempts to link to the one word header "Bletch:" also fail. I conjecture that the problem is the final ":" as punctuation. Does that seem plausible? If so, should we simply extend the escaping in the links to handle this case (akin to the way spaces are escaping)? Or am I off base here? --------------010408070103010909000006 Content-Type: text/plain; x-mac-type="0"; x-mac-creator="0"; name="link-bug.org" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="link-bug.org" #+STARTUP: showall * Notes: * TODO Figure out org mode Just do outlines with TODO's in them. Change them to DONE when they are done. You don't need to figure out how to use org-mode if you don't like. We used it on OBTW, and it worked fine. If you like (I will probably do this), you can use the org-mode commands to add deadlines and scheduling (or you can ignore them). I will probably do this in an incremental way so that I can further focus my mind on individual subsections as they need to get written. See example in [[*submit%20through%20submission%20site][submit through submission site:]] * TODO submit through submission site: * TODO Foobar * Reference to foobar [[*Foobar][Foobar]] * Reference to submit... [[*submit%20through%20submission%20site][submit through submission site]] # Local Variables: # mode: org # End: --------------010408070103010909000006 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 --------------010408070103010909000006--