Re: [O] Re: can't export custom time stamps
Thanks, this solves the timestamp exporting issue. -- Greetings, Daniel
Re: [O] Re: can't export custom time stamps
At Fri, 11 Mar 2011 10:10:08 +0100, Daniel Clemente wrote: > > > I tracked down this problem to this commit: > > > 163cd58ffd6461c98a96b1b63a3cf082b2825a52 is the first bad commit > commit 163cd58ffd6461c98a96b1b63a3cf082b2825a52 > Author: David Maus > Date: Fri Jan 14 06:37:52 2011 +0100 > > Handle timestamps after handling links Thanks for tracking this down. I just pushed two commits that should fix the problem. The first reverts commit ca69b556241ae904c5f291c98a6453f4ce830557 Author: Jason Dunsmore Date: Tue Feb 1 17:46:57 2011 +0100 Fix bug when exporing inactive timestamps. * org-html.el (org-html-handle-time-stamps): fix bug when exporing inactive timestamps. This commit addressed the problem introduced by 163cd58ffd6461c98a96b1b63a3cf082b2825a52 but in a way that is incompatible with the "right" fix. My faulty commit not just changed the order of handling links and handling timestamps but also prevented the left angle bracket of an active timestamp from beeing protected from conversion to a HTML character entity (i.e. <). The (hopefully) final fix moves expanding character entities after handling links and timestamps. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpW8pzTUle4k.pgp Description: PGP signature
[O] Re: can't export custom time stamps
I tracked down this problem to this commit: 163cd58ffd6461c98a96b1b63a3cf082b2825a52 is the first bad commit commit 163cd58ffd6461c98a96b1b63a3cf082b2825a52 Author: David Maus Date: Fri Jan 14 06:37:52 2011 +0100 Handle timestamps after handling links El Mon, 28 Feb 2011 21:19:27 +0100 Daniel Clemente va escriure: > > > Hi, I cannot export custom time stamps anymore. Maybe it's due to BIND, maybe > due to some other change. I attach some tests and instructions in case > someone has a similar problem. > > Thanks > > > > > > -8<-- > #+TITLE: Custom time stamps don't work > #+DATE: seen today with Org-mode version 7.4 (release_7.4.553.g83b7), Emacs > 24.0.50.1 from december 2010 > > Open this file and use =C-c e H=. Review and accept the usage of the 2 BIND > values in this buffer. See timestamps in HTML output. > > # This doesn't work (the time stamps remain intact: <2011-02-28> > instead of 28.m2.2011): > # > #+BIND: org-time-stamp-custom-formats ("<%d.m%m.%Y>" . "<%d.m%m.%Y %H:%M>") > # An invalid value produces no error; try this: #+BIND: > org-time-stamp-custom-formats 42 > # > # I think this was needed: > #+BIND: org-display-custom-times t > # > # This works if activated: it shows the custom time stamp while editing (but > not on export) > # #+STARTUP: customtime > > > > One timestamp: <2011-02-28 lun>. No > > Another: > > <2011-02-28 lun> > > -8<-- >