all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Edmondson <dme@dme.org>
To: Eli Zaretskii <eliz@gnu.org>,
	Stefan Monnier <monnier@iro.umontreal.ca>,
	Chong Yidong <cyd@stupidchicken.com>, Miles Bader <miles@gnu.org>
Cc: 10395@debbugs.gnu.org
Subject: 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	[thread overview]
Message-ID: <cunlipp6qif.fsf@hotblack-desiato.hh.sledj.net> (raw)
In-Reply-To: <83obuosuhm.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

On Sat, 31 Dec 2011 16:09:41 +0200, Eli Zaretskii <eliz@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?

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

  reply	other threads:[~2012-01-03 10:15 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-28 12:47 bug#10395: 24.0.92; line-prefix text inherits face properties from the preceding line rather than following text David Edmondson
2011-12-29 14:02 ` Eli Zaretskii
2011-12-31 14:09 ` Eli Zaretskii
2012-01-03 10:15   ` David Edmondson [this message]
2012-01-03 11:12     ` Eli Zaretskii
2012-01-07  7:30   ` Chong Yidong
2012-01-07  8:12     ` Eli Zaretskii
2012-03-22  7:32     ` Chong Yidong
2012-03-22 17:11       ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=cunlipp6qif.fsf@hotblack-desiato.hh.sledj.net \
    --to=dme@dme.org \
    --cc=10395@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=eliz@gnu.org \
    --cc=miles@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 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.