all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Org capture + datetree + language specification
Date: Wed, 13 Jul 2016 16:10:47 -0400	[thread overview]
Message-ID: <87zipls3i0.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: 87zipljy79.fsf@gmail.com

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

      reply	other threads:[~2016-07-13 20:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-13 16:32 Org capture + datetree + language specification Dominik Schrempf
2016-07-13 20:10 ` Nick Dokos [this message]

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

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

  git send-email \
    --in-reply-to=87zipls3i0.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.