emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [BUG] org-toggle-time-stamp-overlays does not work in #+DATE line


From: Matt Lundin
Subject: [O] [BUG] org-toggle-time-stamp-overlays does not work in #+DATE line
Date: Wed, 30 Jul 2014 22:07:18 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (gnu/linux)

Steps to replicate.

1. Evaluate the following:

(setq org-time-stamp-custom-formats '("<%B %e, %Y>" . "<%B %e, %Y>"))

2. Use the following sample org file. 

--8<---------------cut here---------------start------------->8---
#+DATE: [2014-07-30 Wed 22:05]

* Headline
  [2014-07-30 Wed 22:05]
--8<---------------cut here---------------end--------------->8---

3. M-x org-toggle-time-stamp-overlays

The buffer should look like this:

--8<---------------cut here---------------start------------->8---
#+DATE: [2014-07-30 Wed]

* Headline
  [2014-07-30 Wed]
--8<---------------cut here---------------end--------------->8---

4. M-x org-toggle-time-stamp-overlays

The buffer now looks like this:

--8<---------------cut here---------------start------------->8---
#+DATE: [2014-07-30 Wed 22:05]

* Headline
  [2014-07-30 Wed 22:05]
--8<---------------cut here---------------end--------------->8---

...thus preventing any easy editing of the timestamp in the #+DATE
line.

Best,
Matt



reply via email to

[Prev in Thread] Current Thread [Next in Thread]