emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Links to whole files recently changed
@ 2013-02-12  1:43 François Pinard
  2013-02-15 23:02 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: François Pinard @ 2013-02-12  1:43 UTC (permalink / raw)
  To: emacs-orgmode

Hi, people.

In the recent days, I noticed that org-store-link, when the cursor is on
the #+TITLE line of an Org file, saves the information in such a way
that a later org-insert-link creates the link by repeating the title
before and after "::".  I think that not so long ago, the "::" and what
follows was not there.

The effect is that when one tries to follow a link with the title
repeated before and after "::", Org asks if it should create the header.
I quickly read on the list, not so long ago, that someone else described
a similar problem; I guess it might be the same problem.

For example, I have a "Testing.org" file which begins with:

   #+TITLE: Testing

The inserted link corresponding to this first file is:

   [[file:Testing.org::Testing][Testing]]

while it should probably be:

   [[file:Testing.org][Testing]]

The link comment likely comes from the text after #+TITLE, which is OK.

François

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Links to whole files recently changed
  2013-02-12  1:43 Links to whole files recently changed François Pinard
@ 2013-02-15 23:02 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2013-02-15 23:02 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Hi François,

François Pinard <pinard@iro.umontreal.ca> writes:

> In the recent days, I noticed that org-store-link, when the cursor is on
> the #+TITLE line of an Org file, saves the information in such a way
> that a later org-insert-link creates the link by repeating the title
> before and after "::".  I think that not so long ago, the "::" and what
> follows was not there.
>
> The effect is that when one tries to follow a link with the title
> repeated before and after "::", Org asks if it should create the header.
> I quickly read on the list, not so long ago, that someone else described
> a similar problem; I guess it might be the same problem.

Is this solution good for you?

  (setq org-link-search-must-match-exact-headline nil)

HTH,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-02-15 23:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-12  1:43 Links to whole files recently changed François Pinard
2013-02-15 23:02 ` Bastien

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).