emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lele Gaifax <lele@metapensiero.it>
To: emacs-orgmode@gnu.org
Subject: Re: latex-export + columnview: misinterpretation of section prefixes as emphasis
Date: Thu, 23 Jun 2016 08:36:54 +0200	[thread overview]
Message-ID: <87k2hgfm2h.fsf@metapensiero.it> (raw)
In-Reply-To: 87vb119cjj.fsf@saiph.selenimh

Nicolas Goaziou <mail@nicolasgoaziou.fr> 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.

  reply	other threads:[~2016-06-23  6:37 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-31  3:38 latex-export + columnview: misinterpretation of section prefixes as emphasis Juan Pechiar
     [not found] ` <D96E521D-17DE-4725-AD9A-363522C9B1E9@tsdye.com>
     [not found]   ` <20100531130409.GE27574@soloJazz.com>
2010-05-31 16:57     ` Thomas S. Dye
2010-06-01  7:32 ` Carsten Dominik
2010-06-01 10:51   ` Tim Burt
2010-06-01 13:34     ` Carsten Dominik
2010-06-01 14:52       ` tcburt
2016-06-22 18:45 ` Lele Gaifax
2016-06-22 19:56   ` Nicolas Goaziou
2016-06-22 20:16     ` Lele Gaifax
2016-06-22 20:46       ` Nicolas Goaziou
2016-06-23  6:36         ` Lele Gaifax [this message]
2016-06-24  9:38           ` Nicolas Goaziou
2016-06-24 12:08             ` Lele Gaifax
2016-06-24 12:26               ` [PATCH] org-colview.el: Fix typo in function name Lele Gaifax
2016-06-24 12:49                 ` Nicolas Goaziou
2016-06-24 13:06                   ` Lele Gaifax
2016-06-24 14:01                     ` Nicolas Goaziou
2016-06-24 12:47               ` latex-export + columnview: misinterpretation of section prefixes as emphasis Nicolas Goaziou
2016-06-24 13:03                 ` Lele Gaifax

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=87k2hgfm2h.fsf@metapensiero.it \
    --to=lele@metapensiero.it \
    --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).