emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [SOLVED] Q: placement of initialization for org-time-stamp-formats


From: hj-orgmode-1
Subject: Re: [SOLVED] Q: placement of initialization for org-time-stamp-formats
Date: Mon, 6 Jul 2020 12:35:41 +0200


On 7/3/20 3:51 PM, Robert Pluim wrote:
On Fri, 3 Jul 2020 15:18:40 +0200, hj-orgmode-1@hj.proberto.com said:
     hj-orgmode-1>  Hello again.

     hj-orgmode-1>  After a lot of searching and trying, I finally figured one 
thing that
     hj-orgmode-1> seems to work: ( I am no lisp programmer, so I don't know 
what
     hj-orgmode-1> negative side effects might this have) ; I've added into
     hj-orgmode-1> dotspacemacs/user-config section inside .spacemacs :

     hj-orgmode-1>  (add-hook 'org-load-hook
     hj-orgmode-1>           (lambda ()
     hj-orgmode-1>             (setq org-time-stamp-formats '("<%Y-%m-%d %a>"
     hj-orgmode-1> . "<%Y-%m-%d %a %H:%M:%S %Z>")) ))

     hj-orgmode-1>  Does that look like this should have no undesirable side 
effects?

Thatʼs normally written

     (with-eval-after-load "org"
       (setq org-time-stamp-formats '("<%Y-%m-%d %a>" . "<%Y-%m-%d %a%H:%M:%S 
%Z>")))

Robert


Thank you!! Your suggestion is working very well!!

 H.J.





reply via email to

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