emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Moe <mail@christianmoe.com>
To: Alexis <flexibeast@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Unable to get file link search to work
Date: Sun, 23 Feb 2014 08:19:24 +0100	[thread overview]
Message-ID: <m2y512qosj.fsf@uio.no> (raw)
In-Reply-To: <87vbw635h5.fsf@gmail.com>


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 <flexibeast@gmail.com> 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.

  reply	other threads:[~2014-02-23  7:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-21  8:02 Unable to get file link search to work Alexis
2014-02-23  2:52 ` Alexis
2014-02-23  7:19   ` Christian Moe [this message]
2014-02-23  8:31     ` Possible bug? Links using 'file+Emacs:' don't work. (Was: Re: Unable to get file link search to work) Alexis
2014-02-23 14:14       ` Possible bug? Links using 'file+Emacs:' don't work Nicolas Goaziou
2014-02-24  1:20         ` Alexis

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=m2y512qosj.fsf@uio.no \
    --to=mail@christianmoe.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=flexibeast@gmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).