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

[-- 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

       reply	other threads:[~2010-01-09 20:56 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 ` Eric S Fraga [this message]
2010-01-10 10:21   ` Re: 23.1; hl-line-mode appears to not be compatible with line prefix text properties B Smith-Mannschott

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=87iqbbknfo.wl%ucecesf@ucl.ac.uk \
    --to=ucecesf@ucl.ac.uk \
    --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).