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: Thu, 23 Jun 2016 08:36:54 +0200 Message-ID: <87k2hgfm2h.fsf@metapensiero.it> References: <20100531033853.GD27574@soloJazz.com> <87y45xgj0d.fsf@metapensiero.it> <87d1n9atgu.fsf@saiph.selenimh> <87inx1gesq.fsf@metapensiero.it> <87vb119cjj.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]:46825) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFyGK-0000OP-Gd for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 02:37:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFyGF-0005x9-Gw for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 02:37:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:52438) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFyGF-0005x0-9R for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 02:37:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1bFyGC-000715-Q2 for emacs-orgmode@gnu.org; Thu, 23 Jun 2016 08:37:08 +0200 Received: from 151.62.3.59 ([151.62.3.59]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jun 2016 08:37:08 +0200 Received: from lele by 151.62.3.59 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 Jun 2016 08:37:08 +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: >> Do you know if/when it will be merged into Emacs? > > I don't know, but that will not happen before Emacs 25.1 release. Thanks anyway, I installed latest development sources and I appreciate the work that has been done in this (and many other) areas: the new colview produces a much nicer LaTeX! 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 tried to look around in the sources and in the doc but I missed it... 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? diff --git a/lisp/org-colview.el b/lisp/org-colview.el index e29f88a..6809305 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -438,9 +438,9 @@ for the duration of the command.") (org-add-props " " nil 'display '(space :align-to 0)) (org-add-props (substring title 0 -1) nil 'face 'org-column-title))) (setq org-columns-previous-hscroll -1) - (add-hook 'post-command-hook 'org-columns-hscoll-title nil 'local))) + (add-hook 'post-command-hook 'org-columns-hscroll-title nil 'local))) -(defun org-columns-hscoll-title () +(defun org-columns-hscroll-title () "Set the `header-line-format' so that it scrolls along with the table." (sit-for .0001) ; need to force a redisplay to update window-hscroll (when (not (= (window-hscroll) org-columns-previous-hscroll)) @@ -463,7 +463,7 @@ for the duration of the command.") (when (local-variable-p 'org-previous-header-line-format) (setq header-line-format org-previous-header-line-format) (kill-local-variable 'org-previous-header-line-format) - (remove-hook 'post-command-hook 'org-columns-hscoll-title 'local)) + (remove-hook 'post-command-hook 'org-columns-hscroll-title 'local)) (move-marker org-columns-begin-marker nil) (move-marker org-columns-top-level-marker nil) (org-with-silent-modifications Thanks a lot, bye, 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.