From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: Unable to get file link search to work Date: Sun, 23 Feb 2014 08:19:24 +0100 Message-ID: References: <87wqgogafj.fsf@gmail.com> <87vbw635h5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHTMR-00078t-Dt for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 02:20:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WHTMM-0001aY-5y for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 02:20:27 -0500 Received: from mail-forward2.uio.no ([2001:700:100:10::71]:60580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WHTML-0001BB-QX for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 02:20:22 -0500 Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.75) (envelope-from ) id 1WHTLX-0002PO-Of for emacs-orgmode@gnu.org; Sun, 23 Feb 2014 08:19:31 +0100 In-reply-to: <87vbw635h5.fsf@gmail.com> 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: Alexis Cc: emacs-orgmode@gnu.org Hi, Just to say, I reproduce it, so I think it's a bug. Note, the below only happens for me when using "file+emacs:" to force opening in emacs. The links work with regular "file:" links, or just starting the link with "./" Since my .org files open with emacs anyway, I normally wouldn't add "+emacs". But the manual suggests I could. Yours, Christian Alexis writes: > Bump. Any suggestions as to whether the below is me doing something > wrong (more likely) or a bug (less likely)? > > Thanks! > > > Alexis writes: > >> Hi all, >> >> i'm running org-mode 8.2.5h in Emacs 24.3. >> >> Say i have file a.org: >> >> * Main >> ** Group >> *** Firstname Lastname >> >> My reading of >> >> http://orgmode.org/manual/External-links.html#External-links >> >> and >> >> http://orgmode.org/manual/Search-options.html#Search-options >> >> is that i should be able to, in b.org - which resides in the same >> directory as a.org - have something like: >> >> [[file+emacs:a.org::*Firstname]] >> >> such that when i move point over that link, and enter C-c C-o >> (i.e. org-open-at-point), i will be taken to a buffer containing a.org, >> with point on the 'Firstname Lastname' heading. Instead, what happens is >> that a new buffer is created, attached to a new file called, literally, >> 'a.org::*Firstname'. >> >> Similarly, if in b.org i have something like: >> >> [[file+emacs:a.org::2]] >> >> i am not taken to line 2 of a.org, but instead to a new buffer attached >> to a new file literally called 'a.org::2'. >> >> i have observed this behaviour with >> org-link-search-must-match-exact-headline set to either 'query-to-create >> or to nil. >> >> What am i doing wrong? >> >> >> Alexis.