[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] latex-export + columnview: misinterpretation of section prefixes
From: |
Lele Gaifax |
Subject: |
Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis |
Date: |
Fri, 24 Jun 2016 14:08:39 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.95 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
> Lele Gaifax <address@hidden> writes:
>
>> One minor issue: previously I used a custom setting for the variable
>> `org-time-clocksum-format`, to print something like "2gg 03:10" instead of
>> "2d
>> 03:10". With the version currently distributed with Emacs 25.1 it was used
>> for
>> both the "effort" and "clocksum" columns, now only on the latter (matching
>> name and documentation). Is there an equivalent setting for the "effort"
>> sum, to get a table with the two columns sharing the same style?
>
> I don't think so, but I may be wrong. Anyway, you can define your own
> summary function (and formatter) in Org colums. See
> `org-columns-summary-types' for details.
This is a simple file, made with the version of org-mode that comes from
current Emacs 25 branch:
# -*- coding: utf-8 -*-
#+TITLE: Test with Emacs 25.0.95 org-mode
#+COLUMNS: %40ITEM(Item) %13Effort(Effort){:} %CLOCKSUM(Work)
* This is a test
CLOCK: [2016-06-21 mar 13:40]--[2016-06-24 ven 13:43] => 72:03
#+BEGIN: columnview :hlines 1 :id global
| Item | Effort | Work |
|------------------+----------+----------|
| * This is a test | 1gg 6:00 | 3gg 0:03 |
| ** Task A | 10:00 | |
| ** Task B | 10:00 | |
| ** Task C | 10:00 | |
#+END:
** Task A
:PROPERTIES:
:Effort: 10:00
:END:
** Task B
:PROPERTIES:
:Effort: 10:00
:END:
** Task C
:PROPERTIES:
:Effort: 10:00
:END:
# Local Variables:
# org-time-clocksum-format: (:days "%dgg " :hours "%d" :require-hours t
:minutes ":%02d" :require-minutes t)
# End:
This is the equivalent, made with current master development org-mode:
# -*- coding: utf-8 -*-
#+TITLE: Test with current master revision of org-mode
#+COLUMNS: %40ITEM(Item) %13Effort(Effort){:} %CLOCKSUM(Work)
* This is a test
:LOGBOOK:
CLOCK: [2016-06-21 mar 13:40]--[2016-06-24 ven 13:43] => 72:03
:END:
#+BEGIN: columnview :hlines 1 :id global
| Item | Effort | Work |
|----------------+--------+----------|
| This is a test | 30:00 | 3gg 0:03 |
| Task A | 10:00 | |
| Task B | 10:00 | |
| Task C | 10:00 | |
#+END:
** Task A
:PROPERTIES:
:Effort: 10:00
:END:
** Task B
:PROPERTIES:
:Effort: 10:00
:END:
** Task C
:PROPERTIES:
:Effort: 10:00
:END:
# Local Variables:
# org-time-clocksum-format: (:days "%dgg " :hours "%d" :require-hours t
:minutes ":%02d" :require-minutes t)
# End:
Can you reproduce the case?
>> BTW, in lisp/org-colview.el there is what seems a typo in the name of the
>> function `org-columns-hscoll-title`: since accordingly with "git grep" it is
>> referenced in two places and only in that source, is the following
>> acceptable?
>
> Sure. Could you provide a proper commit message and send the patch using
> "git format-patch" command? See
> <http://orgmode.org/worg/org-contribute.html#patches> for details.
Sure, I will do that ASAP!
Thank you,
ciao, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
address@hidden | -- Fortunato Depero, 1929.
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis, Lele Gaifax, 2016/06/22
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis, Nicolas Goaziou, 2016/06/22
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis, Lele Gaifax, 2016/06/22
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis, Nicolas Goaziou, 2016/06/22
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis, Lele Gaifax, 2016/06/23
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis, Nicolas Goaziou, 2016/06/24
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis,
Lele Gaifax <=
- [O] [PATCH] org-colview.el: Fix typo in function name, Lele Gaifax, 2016/06/24
- Re: [O] [PATCH] org-colview.el: Fix typo in function name, Nicolas Goaziou, 2016/06/24
- Re: [O] [PATCH] org-colview.el: Fix typo in function name, Lele Gaifax, 2016/06/24
- Re: [O] [PATCH] org-colview.el: Fix typo in function name, Nicolas Goaziou, 2016/06/24
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis, Nicolas Goaziou, 2016/06/24
- Re: [O] latex-export + columnview: misinterpretation of section prefixes as emphasis, Lele Gaifax, 2016/06/24