all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#4053: 23.1; hl-line-mode appears to not be compatible with line prefix text properties
@ 2009-08-05 22:49 Eric S Fraga
  0 siblings, 0 replies; 5+ messages in thread
From: Eric S Fraga @ 2009-08-05 22:49 UTC (permalink / raw
  To: bug-gnu-emacs


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


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

Thanks,
eric


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2009-08-03 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=athena' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_GB.ISO-8859-15
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-9-unix
  default-enable-multibyte-characters: t

Major mode: Summary

Minor modes in effect:
  iswitchb-mode: t
  display-time-mode: t
  show-paren-mode: t
  global-hl-line-mode: t
  delete-selection-mode: t
  recentf-mode: t
  diff-auto-refine-mode: t
  icomplete-mode: t
  global-highlight-changes-mode: t
  highlight-changes-visible-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  size-indication-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:

(not relevant)

Recent messages:

(not relevant)






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#4053: 23.1; hl-line-mode appears to not be compatible with line prefix text properties
@ 2010-01-09 19:56 Chong Yidong
  2010-01-09 20:55 ` Eric S Fraga
  2011-07-11 19:53 ` bug#4053: " Glenn Morris
  0 siblings, 2 replies; 5+ messages in thread
From: Chong Yidong @ 2010-01-09 19:56 UTC (permalink / raw
  To: Eric S Fraga; +Cc: 4053, Carsten Dominik

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.






^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 23.1; hl-line-mode appears to not be compatible with line prefix text properties
  2010-01-09 19:56 bug#4053: 23.1; hl-line-mode appears to not be compatible with line prefix text properties Chong Yidong
@ 2010-01-09 20:55 ` Eric S Fraga
  2010-01-10 10:21   ` B Smith-Mannschott
  2011-07-11 19:53 ` bug#4053: " Glenn Morris
  1 sibling, 1 reply; 5+ 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] 5+ 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 ` Eric S Fraga
@ 2010-01-10 10:21   ` B Smith-Mannschott
  0 siblings, 0 replies; 5+ 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] 5+ messages in thread

* bug#4053: 23.1; hl-line-mode appears to not be compatible with line prefix text properties
  2010-01-09 19:56 bug#4053: 23.1; hl-line-mode appears to not be compatible with line prefix text properties Chong Yidong
  2010-01-09 20:55 ` Eric S Fraga
@ 2011-07-11 19:53 ` Glenn Morris
  1 sibling, 0 replies; 5+ messages in thread
From: Glenn Morris @ 2011-07-11 19:53 UTC (permalink / raw
  To: 4053-done


This bug is being closed because we need more information to proceed and
it has not been provided. If you reply with the requested information it
can be reopened if needed.

You can view the whole report at http://debbugs.gnu.org/BUGNUMBER

Chong Yidong wrote:

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





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-11 19:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-09 19:56 bug#4053: 23.1; hl-line-mode appears to not be compatible with line prefix text properties Chong Yidong
2010-01-09 20:55 ` Eric S Fraga
2010-01-10 10:21   ` B Smith-Mannschott
2011-07-11 19:53 ` bug#4053: " Glenn Morris
  -- strict thread matches above, loose matches on Subject: below --
2009-08-05 22:49 Eric S Fraga

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.