emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: B Smith-Mannschott <bsmith.occs@gmail.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	org-mode mailing list <emacs-orgmode@gnu.org>,
	Carsten Dominik <carsten.dominik@gmail.com>
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	[thread overview]
Message-ID: <28c656e21001100221t6fc90f76l3dd49a1c04068794@mail.gmail.com> (raw)
In-Reply-To: <87iqbbknfo.wl%ucecesf@ucl.ac.uk>

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

      reply	other threads:[~2010-01-10 10:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28c656e21001100221t6fc90f76l3dd49a1c04068794@mail.gmail.com \
    --to=bsmith.occs@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=cyd@stupidchicken.com \
    --cc=e.fraga@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).