From: David Edmondson <dme@dme.org>
To: David Mazieres expires 2021-01-31 CET
<mazieres-z2z3si8gksd2wu49pq2srsd9ae@temporary-address.scs.stanford.edu>,
notmuch@notmuchmail.org
Subject: Re: Problems with unicode characters under emacs and Xorg
Date: Mon, 02 Nov 2020 10:09:32 +0000 [thread overview]
Message-ID: <cunh7q82hpf.fsf@vroomfondel.hh.sledj.net> (raw)
In-Reply-To: <87o8kg15dv.fsf@ta.scs.stanford.edu>
On Monday, 2020-11-02 at 01:21:00 -08, dm-list-email-notmuch@scs.stanford.edu wrote:
> David Edmondson <dme@dme.org> writes:
>
>> I haven't seen this. Threads with a lot of complex HTML content (lots of
>> nested tables, for example) can take a long time to render for me, but
>> that is generally interruptable.
>>
>> Could you share one of these messages, or a sufficiently similar test
>> case?
>
> Thanks for the reply. I can send one of these emails to you privately
> if necessary, as it might contain semi-sensitive information. However,
> I think all you need is the subject line. For example:
>
> Subject: =?UTF-8?B?RGF2aWQ6IEhvdy1UbyBIaXJlIHRoZSBCZXN0IFJlbW9kZWxpbmcgQ29udHJhY3RvciDwn5Od?=
>
> That subject line alone triggers the problem, because any search
> returning that thread triggers the problem. When decoded, the subject
> line ends with unicode code point 0x1F4DD (MEMO). Indeed, if I open up
> a fresh emacs, and, independent of notmuch, type "C-x 8 RET memo RET",
> it causes the emacs to hang for a minute or so.
This works fine for me, and I get an appropriate character (not just the
hex box).
According to `describe-char' it's rendered using the Symbola font. Do
you have that installed? (It's the "font-symbola" package on Debian I
believe.)
For some time I've had:
(set-fontset-font t 'symbol "Symbola" nil 'prepend)
in ~/.emacs.el, but I just tested without and it doesn't seem to be
required.
> Arguably this is a limitation of emacs or fontconfig, or I've installed
> too many fonts on my system, or I've installed too few fonts (because
> after all that computation it just renders a box with hext digits 01F4DD
> in it instead of showing the MEMO icon). However, the problem only
> happens with notmuch, because notmuch is the only emacs functionality I
> need that renders anything other than a very limited set of unicode
> characters. So if there's any way either to workaround the problem, or
> to copy whatever other notmuch users are doing (is there some particular
> unicode font I should just install on my system?), I would be very
> happy.
>
> Thanks,
> David
dme.
--
I walk like a building, I never get wet.
next prev parent reply other threads:[~2020-11-02 10:09 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-02 6:57 Problems with unicode characters under emacs and Xorg David Mazieres
2020-11-02 8:49 ` David Edmondson
2020-11-02 9:21 ` dm-list-email-notmuch
2020-11-02 10:09 ` David Edmondson [this message]
2020-11-02 10:32 ` dm-list-email-notmuch
2020-11-02 12:26 ` David Mazieres
2020-11-02 12:55 ` David Edmondson
2020-11-03 21:59 ` Tomi Ollila
2020-11-03 22:19 ` dm-list-email-notmuch
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://notmuchmail.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cunh7q82hpf.fsf@vroomfondel.hh.sledj.net \
--to=dme@dme.org \
--cc=mazieres-z2z3si8gksd2wu49pq2srsd9ae@temporary-address.scs.stanford.edu \
--cc=notmuch@notmuchmail.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 public inbox
https://yhetil.org/notmuch.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).