unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pip Cet <pipcet@gmail.com>
Cc: 36312@debbugs.gnu.org
Subject: bug#36312: 27.0.50; (message) in display spec condition causes emacs_abort()
Date: Thu, 20 Jun 2019 21:11:43 +0300	[thread overview]
Message-ID: <83pnn8p1nk.fsf@gnu.org> (raw)
In-Reply-To: <CAOqdjBcdwWK2Xx_uAKqtX6E5x7r3ysakoOnW5RVAWEz7qRv-RQ@mail.gmail.com> (message from Pip Cet on Thu, 20 Jun 2019 16:06:25 +0000)

> From: Pip Cet <pipcet@gmail.com>
> Date: Thu, 20 Jun 2019 16:06:25 +0000
> 
> In emacs -Q, evaluate
> 
> (let ((o (make-overlay (point) (point))))
>   (overlay-put o 'after-string (propertize " " 'display
>                        '(when (message "a")
>   . "b"))))
> 
> This causes a SIGABRT in the bidi stack code.

Thanks.

You do realize that calling 'message' in a display-spec form causes us
to re-enter redisplay in the middle of redisplay?  I didn't even know
we allowed that, but there's something new about our display code to
learn every day.

Should be fixed now.

P.S. Is there a chance fontification-functions will also call
'message'?  Because I think we have the same problem there.





  reply	other threads:[~2019-06-20 18:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-20 16:06 bug#36312: 27.0.50; (message) in display spec condition causes emacs_abort() Pip Cet
2019-06-20 18:11 ` Eli Zaretskii [this message]
2019-06-20 19:32   ` Pip Cet
2019-06-21  7:34     ` Eli Zaretskii
2019-06-21  8:13       ` Pip Cet
2019-06-21  8:39       ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83pnn8p1nk.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=36312@debbugs.gnu.org \
    --cc=pipcet@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).