From mboxrd@z Thu Jan 1 00:00:00 1970 From: B Smith-Mannschott Subject: Re: Re: 23.1; hl-line-mode appears to not be compatible with line prefix text properties Date: Sun, 10 Jan 2010 11:21:56 +0100 Message-ID: <28c656e21001100221t6fc90f76l3dd49a1c04068794@mail.gmail.com> References: <87fx6fhx1v.fsf@stupidchicken.com> <87iqbbknfo.wl%ucecesf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTuvs-0004Tt-9W for emacs-orgmode@gnu.org; Sun, 10 Jan 2010 05:22:04 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTuvn-0004RC-GL for emacs-orgmode@gnu.org; Sun, 10 Jan 2010 05:22:03 -0500 Received: from [199.232.76.173] (port=33798 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTuvn-0004R0-0c for emacs-orgmode@gnu.org; Sun, 10 Jan 2010 05:21:59 -0500 Received: from mail-ew0-f214.google.com ([209.85.219.214]:37975) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NTuvm-0005r9-ID for emacs-orgmode@gnu.org; Sun, 10 Jan 2010 05:21:58 -0500 Received: by ewy6 with SMTP id 6so20075561ewy.9 for ; Sun, 10 Jan 2010 02:21:56 -0800 (PST) In-Reply-To: <87iqbbknfo.wl%ucecesf@ucl.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric S Fraga Cc: Chong Yidong , org-mode mailing list , Carsten Dominik On Sat, Jan 9, 2010 at 21:55, Eric S Fraga wrote: > At Sat, 09 Jan 2010 14:56:28 -0500, > Chong Yidong wrote: >> >> Hi Eric, >> >> > I use org-mode extensively. =C2=A0In a recent upgrade to org-mode, tex= t >> > properties are used to display the text automatically indented. >> > However, this use of line prefix text properties, in particular, seems >> > to interact badly with hl-line-mode. =C2=A0Specifically, the highlight= ing >> > done by hl-line-mode starts at an indented position, not at the >> > physical start of the line, and continues onto the next screen line to >> > line up with the start position. >> > >> > A sample screenshot of this erroneous behaviour can be found (for a >> > short while, at least) at >> > >> > =C2=A0 =C2=A0 =C2=A0 http://www.homepages.ucl.ac.uk/~ucecesf/tmp/inden= t-highlight.png >> >> Org mode has been updated in Emacs since your bug report. =C2=A0Would it= be >> possible for you to test if the bug still exists with the latest Emacs >> bzr repository? =C2=A0If that's inconvenient, could you please provide a >> precise step-by-step recipe for reproducing this problem? >> >> Thanks. > > Chong, > > using the latest emacs from the bzr repository is not very convenient > at all. =C2=A0Sorry. =C2=A0However, I can easily reproduce the problem: t= ake the > attached org file (very short). =C2=A0Visit this file in Emacs with lates= t > org. =C2=A0Then turn on global-hl-line-mode or hl-line-mode (either or > both). =C2=A0Move the cursor to the first line after the "Introduction" > heading and you should see the highlighting extend to the white space > of the next line. > > The screenshot is still in the location indicated above and the > current behaviour is the same as when that screenshot was generated. > > Thanks, > eric I see the described problem using (not quite latest, but pretty close): - Emacs 23.1.91.1 (x86_64-darwin10.2.0, X toolkit) (bzr tag EMACS_PRETEST_23_1_91; revno 99220; Wed 2009-12-30 21:14:46 -050= 0) - org-version 6.33f (from my local elisp customization, 23.1.91.1 actually ships with 6.33x) // ben