I have an Org mode file with some date-stamped headers, e.g. ** <2011-04-06 Wed> National Bank When I org-store-link (C-c l) on that line, I get Stored: <2011-04-06 Wed> National Bank which seems right. 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? cheers, Simon
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
At Sat, 26 Feb 2011 18:01:27 +0100, Bastien wrote: > > The description of the link is right, the link isn't, because Org > removes the timestamp. > 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! Hi Bastien, Thanks for the explanation. I think the info file section 4.4. Handling Links would benefit from a note on the fact that Org removes the timestamp, and how to work around this. cheers, Simon
Bastien <bzg@altern.org> writes:
> 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.
We had a discussion about this a while back; I understand the preference
you state but, in some use cases, it is quite useful to have time stamps
in the headline, particularly because it makes it easy to sort a
sequence of such headlines in chronological order.
Just my 2¢...
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.529.gb23d.dirty)
Missing context but: Timestamps on headlines prevent ellipses. They also allow you to look at a sorted list of headlines to zero in on a timestamp. I do this instead of using a date tree. In case it helps. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html I support the Whittemore-Peterson Institute (WPI) === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MLV paper.
Simon Guest <simon.guest@tesujimath.org> writes:
> I think the info file section 4.4. Handling Links would benefit from a
> note on the fact that Org removes the timestamp, and how to work
> around this.
Done, thanks.
--
Bastien