emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting timestamps in html
@ 2013-06-21 20:41 John Hendy
  2013-06-21 20:47 ` John Hendy
  0 siblings, 1 reply; 6+ messages in thread
From: John Hendy @ 2013-06-21 20:41 UTC (permalink / raw)
  To: emacs-orgmode

I have the following options line in my file header:

#+options: <:t num:t author:t tags:t toc:nil tasks:t todo:t

Sample file:

#+begin_src org
#+options: <:t num:t author:t tags:t toc:nil tasks:t todo:t

* Task list

** todo task 1
   DEADLINE: <2013-06-21 Fri>

** todo task 2
   SCHEDULED: <2013-06-24 Mon>
#+end_src

I'm not getting any time stamps in my output file, though. Any
suggestions on where to start looking for the issue?


Thanks,
John

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Exporting timestamps in html
  2013-06-21 20:41 Exporting timestamps in html John Hendy
@ 2013-06-21 20:47 ` John Hendy
  2013-06-21 20:54   ` John Hendy
  0 siblings, 1 reply; 6+ messages in thread
From: John Hendy @ 2013-06-21 20:47 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Jun 21, 2013 at 3:41 PM, John Hendy <jw.hendy@gmail.com> wrote:
> I have the following options line in my file header:
>
> #+options: <:t num:t author:t tags:t toc:nil tasks:t todo:t
>
> Sample file:
>
> #+begin_src org
> #+options: <:t num:t author:t tags:t toc:nil tasks:t todo:t
>
> * Task list
>
> ** todo task 1
>    DEADLINE: <2013-06-21 Fri>
>
> ** todo task 2
>    SCHEDULED: <2013-06-24 Mon>
> #+end_src
>
> I'm not getting any time stamps in my output file, though. Any
> suggestions on where to start looking for the issue?

Just wanted to look at =org-export-date-timestamp-format= and noted this:

#+begin_src help

org-export-date-timestamp-format is a variable defined in `org-exp.el'.
Its value is nil
Original value was "%Y-%m-%d"

Documentation:
Time string format for Org timestamps in the #+DATE option.

You can customize this variable.

This variable was introduced, or its default value was changed, in
version 24.1 of Emacs.

#+end_src

I'm on emacs 24.3.1... is this variable having a setting of nil
preventing export of timestamps? Since I didn't do this myself, does
the above mean that Emacs might have introduced something that affects
this Org export option?


Thanks,
John

>
>
> Thanks,
> John

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Exporting timestamps in html
  2013-06-21 20:47 ` John Hendy
@ 2013-06-21 20:54   ` John Hendy
  2013-06-21 21:58     ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: John Hendy @ 2013-06-21 20:54 UTC (permalink / raw)
  To: emacs-orgmode

On Fri, Jun 21, 2013 at 3:47 PM, John Hendy <jw.hendy@gmail.com> wrote:
> On Fri, Jun 21, 2013 at 3:41 PM, John Hendy <jw.hendy@gmail.com> wrote:
>> I have the following options line in my file header:
>>
>> #+options: <:t num:t author:t tags:t toc:nil tasks:t todo:t
>>
>> Sample file:
>>
>> #+begin_src org
>> #+options: <:t num:t author:t tags:t toc:nil tasks:t todo:t
>>
>> * Task list
>>
>> ** todo task 1
>>    DEADLINE: <2013-06-21 Fri>
>>
>> ** todo task 2
>>    SCHEDULED: <2013-06-24 Mon>
>> #+end_src
>>
>> I'm not getting any time stamps in my output file, though. Any
>> suggestions on where to start looking for the issue?
>
> Just wanted to look at =org-export-date-timestamp-format= and noted this:
>
> #+begin_src help
>
> org-export-date-timestamp-format is a variable defined in `org-exp.el'.
> Its value is nil
> Original value was "%Y-%m-%d"
>
> Documentation:
> Time string format for Org timestamps in the #+DATE option.
>
> You can customize this variable.
>
> This variable was introduced, or its default value was changed, in
> version 24.1 of Emacs.
>
> #+end_src
>
> I'm on emacs 24.3.1... is this variable having a setting of nil
> preventing export of timestamps? Since I didn't do this myself, does
> the above mean that Emacs might have introduced something that affects
> this Org export option?

One more update... I had the idea to try a regular timestamp, and
those export, even though SCHEDULED and DEADLINE do not. Lastly, I
used a minimal config and emacs -Q and get the same behavior:

#+begin_src min-config
(add-to-list 'load-path "~/.elisp/org.git/contrib/lisp")
(add-to-list 'load-path "~/.elisp/org.git/lisp/")
#+end_src

Same file as above, and not getting deadline/scheduled timestamps exported.


John

>
>
> Thanks,
> John
>
>>
>>
>> Thanks,
>> John

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Exporting timestamps in html
  2013-06-21 20:54   ` John Hendy
@ 2013-06-21 21:58     ` Nicolas Goaziou
  2013-07-09 17:52       ` John Hendy
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2013-06-21 21:58 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

Hello,

John Hendy <jw.hendy@gmail.com> writes:

> One more update... I had the idea to try a regular timestamp, and
> those export, even though SCHEDULED and DEADLINE do not. Lastly, I
> used a minimal config and emacs -Q and get the same behavior:
>
> #+begin_src min-config
> (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp")
> (add-to-list 'load-path "~/.elisp/org.git/lisp/")
> #+end_src
>
> Same file as above, and not getting deadline/scheduled timestamps
> exported.

See `org-export-with-planning'.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Exporting timestamps in html
  2013-06-21 21:58     ` Nicolas Goaziou
@ 2013-07-09 17:52       ` John Hendy
  2013-07-09 20:00         ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: John Hendy @ 2013-07-09 17:52 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

On Fri, Jun 21, 2013 at 4:58 PM, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
> Hello,
>
> John Hendy <jw.hendy@gmail.com> writes:
>
>> One more update... I had the idea to try a regular timestamp, and
>> those export, even though SCHEDULED and DEADLINE do not. Lastly, I
>> used a minimal config and emacs -Q and get the same behavior:
>>
>> #+begin_src min-config
>> (add-to-list 'load-path "~/.elisp/org.git/contrib/lisp")
>> (add-to-list 'load-path "~/.elisp/org.git/lisp/")
>> #+end_src
>>
>> Same file as above, and not getting deadline/scheduled timestamps
>> exported.
>
> See `org-export-with-planning'.

Will do. Given that I apparently have it off (sorry, haven't had time
to check yet), is the purpose of <:t/nil to purely allow plain
timestamps by default and let the user opt-in to scheduled/deadlines?


Best regards,
John


>
>
> Regards,
>
> --
> Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Exporting timestamps in html
  2013-07-09 17:52       ` John Hendy
@ 2013-07-09 20:00         ` Nicolas Goaziou
  0 siblings, 0 replies; 6+ messages in thread
From: Nicolas Goaziou @ 2013-07-09 20:00 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

Hello,

John Hendy <jw.hendy@gmail.com> writes:

> Will do. Given that I apparently have it off (sorry, haven't had time
> to check yet), is the purpose of <:t/nil to purely allow plain
> timestamps by default and let the user opt-in to scheduled/deadlines?

<:t (or `org-export-with-timestamps') is about isolated timestamps. Time
stamps in the middle of some text are always exported.

Otherwise, you're right, users may opt-in scheduled/deadlines.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-09 20:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-21 20:41 Exporting timestamps in html John Hendy
2013-06-21 20:47 ` John Hendy
2013-06-21 20:54   ` John Hendy
2013-06-21 21:58     ` Nicolas Goaziou
2013-07-09 17:52       ` John Hendy
2013-07-09 20:00         ` Nicolas Goaziou

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).