emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Pinard" <pinard@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Subject: Links to whole files recently changed
Date: Mon, 11 Feb 2013 20:43:20 -0500	[thread overview]
Message-ID: <867gmegvd3.fsf@iro.umontreal.ca> (raw)

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

             reply	other threads:[~2013-02-12  1:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-12  1:43 François Pinard [this message]
2013-02-15 23:02 ` Links to whole files recently changed Bastien

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=867gmegvd3.fsf@iro.umontreal.ca \
    --to=pinard@iro.umontreal.ca \
    --cc=emacs-orgmode@gnu.org \
    /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).