* Org capture + datetree + language specification
@ 2016-07-13 16:32 Dominik Schrempf
2016-07-13 20:10 ` Nick Dokos
0 siblings, 1 reply; 2+ messages in thread
From: Dominik Schrempf @ 2016-07-13 16:32 UTC (permalink / raw)
To: Emacs Org Mode Mailing List
Hello,
usually, my Org mode documents are in English. However, now I need to
create an Org document in German. I would like to use Org Capture, to
create a date tree in German (but only for this document). Is there a
way to specify this?
Thank you,
Dominik
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Org capture + datetree + language specification
2016-07-13 16:32 Org capture + datetree + language specification Dominik Schrempf
@ 2016-07-13 20:10 ` Nick Dokos
0 siblings, 0 replies; 2+ messages in thread
From: Nick Dokos @ 2016-07-13 20:10 UTC (permalink / raw)
To: emacs-orgmode
Dominik Schrempf <dominik.schrempf@gmail.com> writes:
> usually, my Org mode documents are in English. However, now I need to
> create an Org document in German. I would like to use Org Capture, to
> create a date tree in German (but only for this document). Is there a
> way to specify this?
>
I don't know of any way to do that with a single emacs session. OTOH, if
you are willing to use a different emacs for the German document, then
starting a new emacs with
$ LANG=de_DE.utf8 emacs
and adding some calendar customizations to your init file (see
https://www.emacswiki.org/emacs/CalendarLocalization#toc10 for details)
should be enough. The agenda uses calendar functions to display dates
(hence the need for calendar customization), but org-datetree uses
format-time-string which (AFAICT) requires the different locale.
--
Nick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-07-13 20:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-13 16:32 Org capture + datetree + language specification Dominik Schrempf
2016-07-13 20:10 ` Nick Dokos
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).