unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Nejc Vivod <nvivod@gmail.com>, 27872@debbugs.gnu.org
Subject: bug#27872: 26.0.50; freeze when opening file with emojis
Date: Sun, 30 Jul 2017 16:06:05 +0100	[thread overview]
Message-ID: <20170730150605.GA19287@breton.holly.idiocy.org> (raw)
In-Reply-To: <83wp6q0zl4.fsf@gnu.org>

On Sun, Jul 30, 2017 at 05:27:35PM +0300, Eli Zaretskii wrote:
> > From: Nejc Vivod <nvivod@gmail.com>
> > Date: Sun, 30 Jul 2017 16:19:45 +0200
> > Cc: 27872@debbugs.gnu.org
> > 
> > I thought I did, but I might be mistaken. Re-sending the backtrace.
> 
> Thanks.
> 
> Alan, I don't think I understand how you reached your conclusion: all
> the loops involved in the code shown in the backtrace are fixed-size
> loops, so they've got to end at some point.  Am I missing something?

No, I just saw that the last piece of Emacs code in the backtrace was
macfont_list and figured it was probably something to do with that,
but presumably the loop could be somewhere else.

On macOS there is specific code for displaying colour emojis, but it’s
been disabled. I don’t see any emojis at all, just a blank space the
same size as the colour emoji should be.

I don’t know if Macs come with non‐colour emoji capable fonts by
default, all other Mac apps display the colour ones so I can’t even
see a way to test.

If I call describe-char on the hamburger I get:

             position: 146 of 146 (99%), column: 0
            character: 🍔 (displayed as 🍔) (codepoint 127828, #o371524, #x1f354)
    preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x1F354
               script: symbol
               syntax: w 	which means: word
             category: .:Base
             to input: type "C-x 8 RET 1f354" or "C-x 8 RET HAMBURGER"
          buffer code: #xF0 #x9F #x8D #x94
            file code: #xF0 #x9F #x8D #x94 (encoded by coding system utf-8-unix)
              display: no font available

Character code properties: customize what to show
  name: HAMBURGER
  general-category: So (Symbol, Other)
  decomposition: (127828) ('🍔')

There are text properties here:
  fontified            nil

I don’t know if any of this is relevant.
-- 
Alan Third





  reply	other threads:[~2017-07-30 15:06 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-29 22:44 bug#27872: 26.0.50; freeze when opening file with emojis Nejc Vivod
2017-07-30  2:41 ` Eli Zaretskii
2017-07-30 11:55 ` Alan Third
2017-07-30 12:10   ` Nejc Vivod
2017-07-30 12:34     ` Alan Third
2017-07-30 12:42       ` Nejc Vivod
2017-07-30 13:04         ` Alan Third
2017-07-30 13:09           ` Nejc Vivod
2017-07-30 18:51             ` Eli Zaretskii
2017-07-30 14:17           ` Eli Zaretskii
2017-07-30 14:19             ` Nejc Vivod
2017-07-30 14:27               ` Eli Zaretskii
2017-07-30 15:06                 ` Alan Third [this message]
2017-07-30 15:29                   ` Eli Zaretskii
2017-07-30 19:27                     ` Alan Third
2017-07-30 21:53                       ` Nejc Vivod
2017-07-30 22:07                         ` Alan Third
2017-07-31  3:07                           ` Eli Zaretskii
2020-08-16 16:34                             ` Lars Ingebrigtsen
2020-08-16 17:03                               ` Andreas Schwab
2017-07-30 14:12   ` 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=20170730150605.GA19287@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=27872@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=nvivod@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).