From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 8F8yKO3an1/DCQAA0tVLHw (envelope-from ) for ; Mon, 02 Nov 2020 10:09:49 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id cKweJO3an19iXgAAB5/wlQ (envelope-from ) for ; Mon, 02 Nov 2020 10:09:49 +0000 Received: from mail.notmuchmail.org (nmbug.tethera.net [144.217.243.247]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (2048 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 068F394021E for ; Mon, 2 Nov 2020 10:09:47 +0000 (UTC) Received: from nmbug.tethera.net (localhost [127.0.0.1]) by mail.notmuchmail.org (Postfix) with ESMTP id 8949520315; Mon, 2 Nov 2020 05:09:38 -0500 (EST) Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by mail.notmuchmail.org (Postfix) with ESMTPS id ACA1A1F9EC for ; Mon, 2 Nov 2020 05:09:35 -0500 (EST) Received: by mail-wr1-x42d.google.com with SMTP id b8so13887662wrn.0 for ; Mon, 02 Nov 2020 02:09:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dme-org.20150623.gappssmtp.com; s=20150623; h=to:subject:in-reply-to:references:from:date:message-id:mime-version; bh=tT54Dm7uGGK1IwgO3L+jLs0z3RkWZuAeZlyoWipdKgM=; b=RD92u3ikfZ+mgvi8c80so6z8mHWB3G37MVHHU8BIk1XYWrFTKqxIIsCirDSYdxX/36 wVgpy4wHOkfXE3+/tw2B33Szl865L+fPjZw8jKruylC2aCOVZeKxPBcNFdcZaHX8CK/g jcqJyrlq/z9e7oLH+o2wXsPeBjryAqMje+nzh7rrEPEtAjoUWdD1FXqTbuomwAyzs/XX S23CwYeP3pB9d3yHipulnZzLL3PVCvPM3qZZwycVaGZ9PTyjCzQtXHVg0OMpy3BL+FzV xAf2kAGLWx1Lkr0Ib7w2ZusSylYzgBKXsBy5X/TY0SJysRUO0jwgCKxcXinbMsFf6cVx mIOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:in-reply-to:references:from:date :message-id:mime-version; bh=tT54Dm7uGGK1IwgO3L+jLs0z3RkWZuAeZlyoWipdKgM=; b=LTcdRl8zwT2QWTWl+S6vs6frR79guH1U8xnlbgz273To7sPegIXCgemtXjWdU0TkGe qEP6AWpPzihpT4gUc3ry22zVMIJjZGXtvxej4STNGoGoru+0r5fzHrE2Cgqj5GX0V+dN OLuA7gyBWN5m1PAHo79p/Tc133mABmQJjhrT7+eH6nUWjVP1OUV2u0SpKkyVpGGbpDng rw41mmQ+l5mPhCDM6JyptRW1BhgyST/8MgKde43zW1Blt+m8dt32oB75PJHRE000MAVt tiK1d8MSV2JUjwGvyHAX21EWrjeI+5OVY4cglWEUBQh2tf6Skzas0phy0XAhklX2vHY4 tctQ== X-Gm-Message-State: AOAM533aF7S5pWkaz414xRdIdMvbJcom6guGR8H2rS5L6ILYwcdfWLUx jWDRlBjn/QkHE/Gq7TOcBE5wJpse+zgnqhO/ X-Google-Smtp-Source: ABdhPJxbYlRTQ0dRFTFGGfbVZiWLMgYScf/TlQ6cD4hUlQG4S1WVuBnZvT6VAfDVbr0zm0RgO2YMkg== X-Received: by 2002:adf:ffc7:: with SMTP id x7mr19585571wrs.168.1604311774136; Mon, 02 Nov 2020 02:09:34 -0800 (PST) Received: from disaster-area.hh.sledj.net (8.a.e.d.0.0.0.0.0.0.0.0.4.6.0.0.0.4.1.7.1.7.b.b.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:bb71:7140:64::dea8]) by smtp.gmail.com with ESMTPSA id r18sm23635791wrj.50.2020.11.02.02.09.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 02:09:33 -0800 (PST) Received: from localhost (disaster-area.hh.sledj.net [local]) by disaster-area.hh.sledj.net (OpenSMTPD) with ESMTPA id 16cb7adf; Mon, 2 Nov 2020 10:09:32 +0000 (UTC) To: David Mazieres expires 2021-01-31 CET , notmuch@notmuchmail.org Subject: Re: Problems with unicode characters under emacs and Xorg In-Reply-To: <87o8kg15dv.fsf@ta.scs.stanford.edu> References: <87pn4w9rex.fsf@ta.scs.stanford.edu> <87o8kg15dv.fsf@ta.scs.stanford.edu> X-HGTTG: vroomfondel From: David Edmondson Date: Mon, 02 Nov 2020 10:09:32 +0000 Message-ID: MIME-Version: 1.0 Message-ID-Hash: N5ETX6ZPH4XO47WCUTUP7IKEAXXK5VN5 X-Message-ID-Hash: N5ETX6ZPH4XO47WCUTUP7IKEAXXK5VN5 X-MailFrom: dme@dme.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-notmuch.notmuchmail.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.1 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (body hash did not verify) header.d=dme-org.20150623.gappssmtp.com header.s=20150623 header.b=RD92u3ik; dmarc=none; spf=pass (aspmx1.migadu.com: domain of notmuch-bounces@notmuchmail.org designates 144.217.243.247 as permitted sender) smtp.mailfrom=notmuch-bounces@notmuchmail.org X-Spam-Score: -0.01 X-TUID: YLeArvmUQiS5 On Monday, 2020-11-02 at 01:21:00 -08, dm-list-email-notmuch@scs.stanford.edu wrote: > David Edmondson 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.