From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lele Gaifax Subject: Re: latex-export + columnview: misinterpretation of section prefixes as emphasis Date: Fri, 24 Jun 2016 14:08:39 +0200 Message-ID: <871t3mvlfc.fsf@metapensiero.it> References: <20100531033853.GD27574@soloJazz.com> <87y45xgj0d.fsf@metapensiero.it> <87d1n9atgu.fsf@saiph.selenimh> <87inx1gesq.fsf@metapensiero.it> <87vb119cjj.fsf@saiph.selenimh> <87k2hgfm2h.fsf@metapensiero.it> <87bn2r7wps.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60021) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGPup-0002dz-KE for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 08:08:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGPuk-0003kl-Jm for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 08:08:55 -0400 Received: from plane.gmane.org ([80.91.229.3]:33244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGPuk-0003kU-Cd for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 08:08:50 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bGPuh-0002wJ-2S for emacs-orgmode@gnu.org; Fri, 24 Jun 2016 14:08:47 +0200 Received: from 151.62.87.238 ([151.62.87.238]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2016 14:08:47 +0200 Received: from lele by 151.62.87.238 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 24 Jun 2016 14:08:47 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Lele Gaifax 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 > 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. lele@metapensiero.it | -- Fortunato Depero, 1929.