GNU bug report logs - #10395
24.0.92; line-prefix text inherits face properties from the preceding line rather than following text

Previous Next

Package: emacs;

Reported by: David Edmondson <dme <at> dme.org>

Date: Thu, 29 Dec 2011 05:18:03 UTC

Severity: normal

Merged with 4281

Found in version 24.0.92

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 10395 <at> debbugs.gnu.org (full text, mbox):

From: David Edmondson <dme <at> dme.org>
To: Eli Zaretskii <eliz <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>,
	Chong Yidong <cyd <at> stupidchicken.com>, Miles Bader <miles <at> gnu.org>
Cc: 10395 <at> debbugs.gnu.org
Subject: Re: bug#10395: 24.0.92;
	line-prefix text inherits face properties from the preceding line
	rather than following text
Date: Tue, 03 Jan 2012 10:15:36 +0000
[Message part 1 (text/plain, inline)]
On Sat, 31 Dec 2011 16:09:41 +0200, Eli Zaretskii <eliz <at> gnu.org> wrote:
> IOW, why would the user expect that the line-prefix be rendered using
> the face that begins _after_ the prefix?  This would be unlike
> anything else in the Emacs display operation.  Is this case really
> different?  What if the different face starts on some character that
> is not the line's first character -- would you, David, expect the
> line-prefix use that different face? if not, why do so when the
> different face begins at the line's beginning?

Your explanation makes sense and setting properties on the string used
for the line-prefix/wrap-prefix does indeed produce the desired result
(thanks!).

Perhaps I should update the bug to read 'why is the line-prefix at point
== 1 shown with the properties of the following character', though. Is
there special code for handling that case?
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 13 years and 37 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.