From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Edmondson Newsgroups: gmane.emacs.bugs 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 Message-ID: References: <83obuosuhm.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1325585820 3791 80.91.229.12 (3 Jan 2012 10:17:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Jan 2012 10:17:00 +0000 (UTC) Cc: 10395@debbugs.gnu.org To: Eli Zaretskii , Stefan Monnier , Chong Yidong , Miles Bader Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 03 11:16:55 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri1QM-0001vK-PY for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jan 2012 11:16:54 +0100 Original-Received: from localhost ([::1]:46419 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1QJ-0003Dr-Ag for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Jan 2012 05:16:51 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:41553) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1QD-0003Cc-MM for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:16:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ri1QC-0007n3-Ld for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:16:45 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34254) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ri1QC-0007mx-Ir for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:16:44 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ri1TN-0000vX-Qs for bug-gnu-emacs@gnu.org; Tue, 03 Jan 2012 05:20:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Edmondson Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Jan 2012 10:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10395 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10395-submit@debbugs.gnu.org id=B10395.13255859473488 (code B ref 10395); Tue, 03 Jan 2012 10:20:01 +0000 Original-Received: (at 10395) by debbugs.gnu.org; 3 Jan 2012 10:19:07 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri1SU-0000uD-TB for submit@debbugs.gnu.org; Tue, 03 Jan 2012 05:19:07 -0500 Original-Received: from mail-ww0-f42.google.com ([74.125.82.42]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ri1SR-0000u4-6z for 10395@debbugs.gnu.org; Tue, 03 Jan 2012 05:19:04 -0500 Original-Received: by wgbds13 with SMTP id ds13so21891851wgb.3 for <10395@debbugs.gnu.org>; Tue, 03 Jan 2012 02:15:44 -0800 (PST) Original-Received: by 10.227.206.76 with SMTP id ft12mr50948411wbb.1.1325585744343; Tue, 03 Jan 2012 02:15:44 -0800 (PST) Original-Received: from hotblack-desiato.hh.sledj.net (host81-149-164-25.in-addr.btopenworld.com. [81.149.164.25]) by mx.google.com with ESMTPS id fq5sm32269474wbb.17.2012.01.03.02.15.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jan 2012 02:15:42 -0800 (PST) Original-Received: by hotblack-desiato.hh.sledj.net (Postfix, from userid 30000) id 5F62EA05D6; Tue, 3 Jan 2012 10:15:40 +0000 (GMT) In-Reply-To: <83obuosuhm.fsf@gnu.org> User-Agent: Notmuch/0.10.2+151~gbf1dc2b (http://notmuchmail.org) Emacs/24.0.92.1 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 03 Jan 2012 05:20:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:55378 Archived-At: --=-=-= Content-Type: text/plain On Sat, 31 Dec 2011 16:09:41 +0200, Eli Zaretskii 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? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iEYEARECAAYFAk8C1UgACgkQaezQq/BJZRaLHgCffdLKpPCb/bpp3WAJlEaNdkf5 YQcAn37bhqObUlefEyukmLwp7LveypLB =cUfV -----END PGP SIGNATURE----- --=-=-=--