all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: NS port crashes when interacting with the profiler on the menu bar
Date: Sat, 16 Jun 2018 12:45:52 +0100	[thread overview]
Message-ID: <20180616114552.GB45123@breton.holly.idiocy.org> (raw)
In-Reply-To: <CAKDRQS46o+6zzrtSYRcJH0y+1+XHBtQVS72DrtNxN9of_YVrBQ@mail.gmail.com>

On Fri, Jun 15, 2018 at 01:51:58AM +0100, Jimmy Yuen Ho Wong wrote:
> I've finally isolated my problem with this code block:
> 
> (set-fontset-font "fontset-default" 'unicode "Apple Color Emoji" nil
> 'append)
> 
> (use-package all-the-icons
>   :config
>   (add-hook 'after-change-major-mode-hook
>             (lambda ()
>               (let* ((icon (all-the-icons-icon-for-mode major-mode))
>                      (face-prop (and (stringp icon) (purecopy
> (get-text-property 0 'face icon)))))
>                 (when (and (stringp icon) (not (string= major-mode icon))
> face-prop)
>                   (setq mode-name icon))))))

I can’t get all-the-icons to work (it’s looking for memoize?), but I
notice it comes with a bunch of fonts.

Do you have those fonts installed? If so, does completely removing the
set-fontset-font line for Apple Color Emoji still result in a crash?
-- 
Alan Third



  reply	other threads:[~2018-06-16 11:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAKDRQS7Dz=CPF+2vbim2T1x-CePJZvETCUcS31kgKVLSOY9pcQ@mail.gmail.com>
2018-06-12 19:39 ` NS port crashes when interacting with the profiler on the menu bar Alan Third
2018-06-12 20:02   ` Jimmy Yuen Ho Wong
2018-06-13 19:57     ` Alan Third
2018-06-15  0:51       ` Jimmy Yuen Ho Wong
2018-06-16 11:45         ` Alan Third [this message]
2018-06-17 15:54           ` Jimmy Yuen Ho Wong

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=20180616114552.GB45123@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=emacs-devel@gnu.org \
    --cc=wyuenho@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 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.