emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: hj-orgmode-1@hj.proberto.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Q: placement of initialization for org-time-stamp-formats
Date: Fri, 03 Jul 2020 15:51:23 +0200	[thread overview]
Message-ID: <m2o8owu2p0.fsf@gmail.com> (raw)
In-Reply-To: <e893009d-43e7-f1d4-ffc3-3204c011f9c4@XXXXXXXXX.XXX> (hj-orgmode's message of "Fri, 3 Jul 2020 15:18:40 +0200")

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


  reply	other threads:[~2020-07-03 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01  0:19 hj-orgmode-1
2020-07-03 13:18 ` hj-orgmode-1
2020-07-03 13:51   ` Robert Pluim [this message]
2020-07-06 10:35     ` [SOLVED] " hj-orgmode-1

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2o8owu2p0.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=hj-orgmode-1@hj.proberto.com \
    --subject='Re: Q: placement of initialization for org-time-stamp-formats' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).