emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Simon Guest <simon.guest@tesujimath.org>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Links to datestamped headings broken?
Date: Sat, 26 Feb 2011 18:01:27 +0100	[thread overview]
Message-ID: <87tyfqafx4.fsf@gnu.org> (raw)
In-Reply-To: <86pqqi9jnp.wl%sguest@bayfield-high.school.nz> (Simon Guest's message of "Thu, 24 Feb 2011 16:49:14 +1300")

Hi Simon,

Simon Guest <simon.guest@tesujimath.org> writes:

> I have an Org mode file with some date-stamped headers, e.g.
> ** <2011-04-06 Wed> National Bank

It's better to put timestamps outside of the heading.

> When I org-store-link (C-c l) on that line, I get
> Stored: <2011-04-06 Wed> National Bank
> which seems right.

The description of the link is right, the link isn't, because Org
removes the timestamp.

> When I org-insert-link in another org-mode file, I get
>  [[file:~/share/notes/maths-competitions.org::*%20National%20Bank][<2011-04-06 Wed> National Bank]]
> which looks wrong, and doesn't work.
>
> I expected to see the date in the URL part of the link.
>
> Am I confused, or is something broken?

Two simple workarounds: either load the org-id module, which takes care
of creating unique targets for internal links - or don't put timestamps
at the beginning of the heading.

If you see a place in the documentation where we need to be more acurate
please tell us!

HTH,

-- 
 Bastien

  reply	other threads:[~2011-02-26 17:01 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-24  3:49 Links to datestamped headings broken? Simon Guest
2011-02-26 17:01 ` Bastien [this message]
2011-02-27  6:17   ` Simon Guest
2011-06-28 13:31     ` [Orgmode] " Bastien
2011-02-28 16:32   ` Eric S Fraga
2011-02-28 18:38     ` Samuel Wales

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=87tyfqafx4.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=simon.guest@tesujimath.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).