From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: 23.1; hl-line-mode appears to not be compatible with line prefix text properties Date: Sat, 09 Jan 2010 20:55:55 +0000 Message-ID: <87iqbbknfo.wl%ucecesf@ucl.ac.uk> References: <87fx6fhx1v.fsf@stupidchicken.com> Reply-To: Eric S Fraga Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="Multipart_Sat_Jan__9_20:55:55_2010-1" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTiLx-0004ux-5h for emacs-orgmode@gnu.org; Sat, 09 Jan 2010 15:56:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTiLs-0004rk-Hh for emacs-orgmode@gnu.org; Sat, 09 Jan 2010 15:56:08 -0500 Received: from [199.232.76.173] (port=54883 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTiLs-0004rY-DN for emacs-orgmode@gnu.org; Sat, 09 Jan 2010 15:56:04 -0500 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:43771) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NTiLr-0004Tm-W2 for emacs-orgmode@gnu.org; Sat, 09 Jan 2010 15:56:04 -0500 In-Reply-To: <87fx6fhx1v.fsf@stupidchicken.com> 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: Chong Yidong Cc: org-mode mailing list , Carsten Dominik --Multipart_Sat_Jan__9_20:55:55_2010-1 Content-Type: text/plain; charset=US-ASCII At Sat, 09 Jan 2010 14:56:28 -0500, Chong Yidong wrote: > > Hi Eric, > > > I use org-mode extensively. In a recent upgrade to org-mode, text > > 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. Specifically, the highlighting > > 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 > > > > http://www.homepages.ucl.ac.uk/~ucecesf/tmp/indent-highlight.png > > Org mode has been updated in Emacs since your bug report. Would it be > possible for you to test if the bug still exists with the latest Emacs > bzr repository? If 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. Sorry. However, I can easily reproduce the problem: take the attached org file (very short). Visit this file in Emacs with latest org. Then turn on global-hl-line-mode or hl-line-mode (either or both). Move 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 --Multipart_Sat_Jan__9_20:55:55_2010-1 Content-Type: application/octet-stream Content-Disposition: attachment; filename="indent.org" Content-Transfer-Encoding: 7bit # -*- mode: org; mode: auto-fill; -*- #+TITLE: test.org #+AUTHOR: Eric S Fraga #+EMAIL: e.fraga@ucl.ac.uk #+DATE: 2008-10-07 Tue #+LANGUAGE: en #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t TeX:t LaTeX:t skip:nil d:nil tags:not-in-toc #+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCUDE_TAGS: noexport #+LINK_UP: #+LINK_HOME: #+DRAWERS: HIDDEN hidden extra details #+STARTUP: lognotedone lognoteclock-out #+STARTUP: indent # org file to test out org as I learn it. * Introduction The introduction, most obviously introduces material in an introductory manner. --Multipart_Sat_Jan__9_20:55:55_2010-1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --Multipart_Sat_Jan__9_20:55:55_2010-1--