all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Raphael 'kena' Poss <knz@thaumogen.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 39390@debbugs.gnu.org
Subject: bug#39390: 28.0.50; prettify-symbols-mode confuses display when start/end faces are different
Date: Sun, 2 Feb 2020 21:00:53 +0100	[thread overview]
Message-ID: <27701089-4429-f345-6ecd-4f11d3124a8c@thaumogen.net> (raw)
In-Reply-To: <837e14iynq.fsf@gnu.org>

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

On 02-02-2020 20:20, Eli Zaretskii wrote:
> The composition process needs that all of the
> characters to be composed have the same face.  That face is put on the
> characters by font-lock mode, not by prettify-symbols-mode. [...]
> Without all the characters to be replaced
> having the same font-lock face, you will not be able to "convince"
> prettify-symbols-mode to replace them

I think this wasn't clear in my original bug report: the replacement
*does* occur -- the display shows the result of the substitution upon
first display. (see first attached screenshot).

It even properly switches back and forth between the composition and
original form with unprettify-at-point. (see second attachment)

The problem is that the *redisplays* (e.g. as triggered by moving the
highlight around with hl-line-mode) mess up the lines around the
replacement. See third and fourth screenshots.

If you are telling me that (compose-region) should never have agreed to
operate on a range of symbols with different faces, then I have
counter-evidence that it does. If you are telling me that it shouldn't,
then maybe that's where the bug really lies.



-- 
Raphael 'kena' Poss

[-- Attachment #2: Screenshot_2020-02-02_20-58-58.png --]
[-- Type: image/png, Size: 21665 bytes --]

[-- Attachment #3: Screenshot_2020-02-02_20-59-18.png --]
[-- Type: image/png, Size: 31679 bytes --]

[-- Attachment #4: Screenshot_2020-02-02_20-59-39.png --]
[-- Type: image/png, Size: 29112 bytes --]

[-- Attachment #5: Screenshot_2020-02-02_20-59-58.png --]
[-- Type: image/png, Size: 28522 bytes --]

  reply	other threads:[~2020-02-02 20:00 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-02 14:45 bug#39390: 28.0.50; prettify-symbols-mode confuses display when start/end faces are different Raphael 'kena' Poss
2020-02-02 17:18 ` Eli Zaretskii
2020-02-02 17:56   ` Raphael 'kena' Poss
2020-02-02 18:03     ` Eli Zaretskii
2020-02-02 18:28       ` Raphael 'kena' Poss
2020-02-02 19:20         ` Eli Zaretskii
2020-02-02 20:00           ` Raphael 'kena' Poss [this message]
2020-02-02 20:09             ` Eli Zaretskii
2020-02-02 20:26               ` Raphael 'kena' Poss
2020-02-03 15:50                 ` Eli Zaretskii
2020-02-04 22:07                   ` Raphael 'kena' Poss
2020-02-16 17:46                     ` Eli Zaretskii
2020-02-16 18:37                       ` Raphael 'kena' Poss
2020-02-16 19:29                         ` Eli Zaretskii
2020-02-16 19:34                           ` Eli Zaretskii
2020-02-16 19:40                             ` Raphael 'kena' Poss
2020-02-16 20:23                               ` Eli Zaretskii
2020-02-17  2:47                                 ` Raphael 'kena' Poss
2020-02-17 11:17                                   ` Tassilo Horn
2020-02-17 12:35                                     ` Raphael 'kena' Poss
2020-02-17 15:59                                       ` Tassilo Horn
2020-02-17 16:06                                         ` Raphael 'kena' Poss
2020-02-17 17:30                                         ` Eli Zaretskii
2020-02-17 18:37                                           ` Raphael 'kena' Poss
2020-02-17 19:24                                             ` Eli Zaretskii
2020-02-17 19:28                                               ` Raphael 'kena' Poss
2020-02-17 20:14                                                 ` Eli Zaretskii
2020-02-17 17:11                                     ` Eli Zaretskii
2020-02-17 17:13                                   ` 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=27701089-4429-f345-6ecd-4f11d3124a8c@thaumogen.net \
    --to=knz@thaumogen.net \
    --cc=39390@debbugs.gnu.org \
    --cc=eliz@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 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.