From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Spurious literal interpretation in :LOGBOOK: sections Date: Thu, 30 Jan 2014 12:02:48 +0100 Message-ID: <8738k591gn.fsf@bzg.ath.cx> References: <87ha8o2qin.fsf@iro.umontreal.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8pOd-0001HO-AP for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 06:03:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8pOX-0003rX-LW for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 06:02:59 -0500 Received: from mail-lb0-x234.google.com ([2a00:1450:4010:c04::234]:63932) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8pOX-0003rP-Dg for emacs-orgmode@gnu.org; Thu, 30 Jan 2014 06:02:53 -0500 Received: by mail-lb0-f180.google.com with SMTP id n15so2369288lbi.39 for ; Thu, 30 Jan 2014 03:02:52 -0800 (PST) In-Reply-To: <87ha8o2qin.fsf@iro.umontreal.ca> (=?iso-8859-1?Q?=22Fran=E7o?= =?iso-8859-1?Q?is?= Pinard"'s message of "Tue, 28 Jan 2014 08:18:56 -0500") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?iso-8859-1?Q?Fran=E7ois?= Pinard Cc: emacs-orgmode@gnu.org Hi François, François Pinard 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