From: Axel Kielhorn <org-mode@axelkielhorn.de>
To: Org-Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Clocktable language customization not working as expected
Date: Sat, 4 Oct 2014 09:34:59 +0200 [thread overview]
Message-ID: <D01E69A8-AB99-4F0A-BB6C-78E7662E384A@axelkielhorn.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 756 bytes --]
Moin!
I'm using org to keep track of my work time.
Since I work at a german company I would like to generate a clock table report in german.
(It is not supported yet, but that will be a one line patch.)
To test the customization I switched to french, which is supported.
First try:
Setting the document language to fr, nothing changed
Second try:
Adding ~:land fr~ to the clock table options, surprising result: no language at all.
Third try:
Setting the language via ~Org Clocktable Defaults~: this actually works.
Result:
Switching languages actually works, but the interface is strange.
I'm using org-mode from ELPA and Emacs 24.3 (Same results with 24.3.91)
Is there anything broken in my setup or is this a bug?
Axel
[-- Attachment #2: clocktable ECM.org --]
[-- Type: application/octet-stream, Size: 1932 bytes --]
#+TITLE: Clocktable ECM
#+AUTHOR: Axel Kielhorn
#+LANGUAGE: fr
* Gesamtarbeitszeit :noexport:
** Projekt 12301
*** time 1
:CLOCK:
CLOCK: [2014-10-03 Fri 14:09]--[2014-10-03 Fri 14:11] => 0:02
:END:
*** time 2
:CLOCK:
CLOCK: [2014-10-03 Fri 15:03]--[2014-10-03 Fri 15:04] => 0:01
:END:
** Projekt 12302
*** time 3
:CLOCK:
CLOCK: [2014-10-03 Fri 14:11]--[2014-10-03 Fri 14:13] => 0:02
:END:
*** time 4
:CLOCK:
CLOCK: [2014-10-03 Fri 14:13]--[2014-10-03 Fri 14:39] => 0:26
:END:
* Zusammenfassung
** Gesamtarbeitszeit
Document language: no effect
#+BEGIN: clocktable :maxlevel 2 :scope file
#+CAPTION: Clock summary at [2014-10-04 Sat 09:09]
| Headline | Time | |
|---------------------+--------+------|
| *Total time* | *0:31* | |
|---------------------+--------+------|
| Gesamtarbeitszeit | 0:31 | |
| \emsp Projekt 12301 | | 0:03 |
| \emsp Projekt 12302 | | 0:28 |
#+END:
Clocktable language: not working
#+BEGIN: clocktable :maxlevel 2 :scope file :lang fr
#+CAPTION: [2014-10-04 Sat 09:09]
| | | |
|---------------------+--------+------|
| *nil* | *0:31* | |
|---------------------+--------+------|
| Gesamtarbeitszeit | 0:31 | |
| \emsp Projekt 12301 | | 0:03 |
| \emsp Projekt 12302 | | 0:28 |
#+END:
Customize Org Clocktable Defaults: working
#+BEGIN: clocktable :maxlevel 2 :scope file
#+CAPTION: Horodatage sommaire à [2014-10-04 Sat 09:12]
| En-tête | Durée | |
|---------------------+--------+------|
| *Durée totale* | *0:31* | |
|---------------------+--------+------|
| Gesamtarbeitszeit | 0:31 | |
| \emsp Projekt 12301 | | 0:03 |
| \emsp Projekt 12302 | | 0:28 |
#+END:
next reply other threads:[~2014-10-04 7:48 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-04 7:34 Axel Kielhorn [this message]
2014-10-06 21:15 ` Clocktable language customization not working as expected Andrea Rossetti
2014-10-07 4:38 ` Axel Kielhorn
2014-10-11 12:51 ` Bastien
2014-10-11 18:28 ` Axel Kielhorn
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=D01E69A8-AB99-4F0A-BB6C-78E7662E384A@axelkielhorn.de \
--to=org-mode@axelkielhorn.de \
--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 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).