From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Links to datestamped headings broken? Date: Sat, 26 Feb 2011 18:01:27 +0100 Message-ID: <87tyfqafx4.fsf@gnu.org> References: <86pqqi9jnp.wl%sguest@bayfield-high.school.nz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=37345 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtNWZ-0008MD-QY for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 12:01:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtNWU-00082q-Rn for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 12:01:43 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:50815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtNWU-00082f-Mg for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 12:01:38 -0500 Received: by fxm5 with SMTP id 5so3100331fxm.0 for ; Sat, 26 Feb 2011 09:01:37 -0800 (PST) In-Reply-To: <86pqqi9jnp.wl%sguest@bayfield-high.school.nz> (Simon Guest's message of "Thu, 24 Feb 2011 16:49:14 +1300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Simon Guest Cc: emacs-org list Hi Simon, Simon Guest 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