* Re: 23.1; hl-line-mode appears to not be compatible with line prefix text properties [not found] <87fx6fhx1v.fsf@stupidchicken.com> @ 2010-01-09 20:55 ` Eric S Fraga 2010-01-10 10:21 ` B Smith-Mannschott 0 siblings, 1 reply; 2+ messages in thread From: Eric S Fraga @ 2010-01-09 20:55 UTC (permalink / raw) To: Chong Yidong; +Cc: org-mode mailing list, Carsten Dominik [-- Attachment #1: Type: text/plain, Size: 1606 bytes --] 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 [-- Attachment #2: indent.org --] [-- Type: application/octet-stream, Size: 691 bytes --] # -*- 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. [-- Attachment #3: Type: text/plain, Size: 201 bytes --] _______________________________________________ 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 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Re: 23.1; hl-line-mode appears to not be compatible with line prefix text properties 2010-01-09 20:55 ` 23.1; hl-line-mode appears to not be compatible with line prefix text properties Eric S Fraga @ 2010-01-10 10:21 ` B Smith-Mannschott 0 siblings, 0 replies; 2+ messages in thread From: B Smith-Mannschott @ 2010-01-10 10:21 UTC (permalink / raw) To: Eric S Fraga; +Cc: Chong Yidong, org-mode mailing list, Carsten Dominik On Sat, Jan 9, 2010 at 21:55, Eric S Fraga <ucecesf@ucl.ac.uk> wrote: > 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 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 -0500) - org-version 6.33f (from my local elisp customization, 23.1.91.1 actually ships with 6.33x) // ben ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-01-10 10:22 UTC | newest] Thread overview: 2+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <87fx6fhx1v.fsf@stupidchicken.com> 2010-01-09 20:55 ` 23.1; hl-line-mode appears to not be compatible with line prefix text properties Eric S Fraga 2010-01-10 10:21 ` B Smith-Mannschott
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).