emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Spurious literal interpretation in :LOGBOOK: sections
@ 2014-01-28 13:18 François Pinard
  2014-01-30 11:02 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: François Pinard @ 2014-01-28 13:18 UTC (permalink / raw)
  To: emacs-orgmode

Hi, Org fellows.

I noticed a few times this little rendering problem in Org, so it might
be worth reporting.

First note that I set org-hide-emphasis-markers to t, which I find to be
an extremely valuable option. :-)

In a :LOGBOOK: entry containing many CLOCK: lines, a literal in the
description following a CLOCK: may trigger an incorrect display of the
CLOCK: line.  The problem is that the " => " in the CLOCK: line
spuriously starts the display of a literal, that display ends at the end
of the literal in the description.  For example, in these lines:


CLOCK: [2014-01-27 lun 15:29]--[2014-01-27 lun 17:20] =>  1:51
  - Check for a =literal string= and be overwhelmingly happy!


the display would look as:


CLOCK: [2014-01-27 lun 15:29]--[2014-01-27 lun 17:20] >  1:51
  - Check for a literal string and be overwhelmingly happy!


using literal face from the ">" to the "string" word, included.

François

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Spurious literal interpretation in :LOGBOOK: sections
  2014-01-28 13:18 Spurious literal interpretation in :LOGBOOK: sections François Pinard
@ 2014-01-30 11:02 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2014-01-30 11:02 UTC (permalink / raw)
  To: François Pinard; +Cc: emacs-orgmode

Hi François,

François Pinard <pinard@iro.umontreal.ca> writes:

> First note that I set org-hide-emphasis-markers to t, which I find to be
> an extremely valuable option. :-)
>
> In a :LOGBOOK: entry containing many CLOCK: lines, a literal in the
> description following a CLOCK: may trigger an incorrect display of the
> CLOCK: line.  The problem is that the " => " in the CLOCK: line
> spuriously starts the display of a literal, that display ends at the end
> of the literal in the description.  For example, in these lines:
>
>
> CLOCK: [2014-01-27 lun 15:29]--[2014-01-27 lun 17:20] =>  1:51
>   - Check for a =literal string= and be overwhelmingly happy!
>
>
> the display would look as:
>
>
> CLOCK: [2014-01-27 lun 15:29]--[2014-01-27 lun 17:20] >  1:51
>   - Check for a literal string and be overwhelmingly happy!

The only thing I can think of right now is to adapt
`org-emphasis-regexp-components' to your needs -- but sure,
we need a more general fix here.

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-01-30 11:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-28 13:18 Spurious literal interpretation in :LOGBOOK: sections François Pinard
2014-01-30 11:02 ` Bastien

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).