From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55068: 29.0.50; crashes when trying to set default font Date: Mon, 23 May 2022 20:40:02 +0800 Message-ID: <87ee0kmnh9.fsf@yahoo.com> References: <87pmk4oadj.fsf@no.workgroup> <875ylwpmrn.fsf@gnus.org> <835ylw7amy.fsf@gnu.org> <87ilpwmpej.fsf@gnus.org> <87h75go3c2.fsf@yahoo.com> <87v8twl9nf.fsf@gnus.org> <87leusmnz0.fsf@yahoo.com> <87r14kl934.fsf@gnus.org> Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28781"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: Eli Zaretskii , 55068@debbugs.gnu.org, telegraph@gmx.net To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 23 14:41:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nt7N3-0007Ho-9y for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 May 2022 14:41:13 +0200 Original-Received: from localhost ([::1]:39092 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nt7N1-00060Y-Om for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 May 2022 08:41:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47668) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt7Ms-0005yX-PH for bug-gnu-emacs@gnu.org; Mon, 23 May 2022 08:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53691) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nt7Ms-00072A-Gu for bug-gnu-emacs@gnu.org; Mon, 23 May 2022 08:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nt7Ms-00061y-F6 for bug-gnu-emacs@gnu.org; Mon, 23 May 2022 08:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 May 2022 12:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55068 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo confirmed Original-Received: via spool by 55068-submit@debbugs.gnu.org id=B55068.165330962123116 (code B ref 55068); Mon, 23 May 2022 12:41:02 +0000 Original-Received: (at 55068) by debbugs.gnu.org; 23 May 2022 12:40:21 +0000 Original-Received: from localhost ([127.0.0.1]:47588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt7MC-00060m-VJ for submit@debbugs.gnu.org; Mon, 23 May 2022 08:40:21 -0400 Original-Received: from sonic315-20.consmr.mail.ne1.yahoo.com ([66.163.190.146]:34316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nt7M8-00060R-3Q for 55068@debbugs.gnu.org; Mon, 23 May 2022 08:40:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1653309610; bh=fxjEv/PIjpqHJKJKfzbI6TOSTGSyNbhD9pTXrym0StU=; h=From:To:Cc:Subject:References:Date:In-Reply-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gxJ.fHNIex3T.w RGyo9o1WzxIuSEmuYBNXw3eJhwHLdVT20Yny6VFClmhf2GHL1CrGczm0M7aZIyF0P9_ZTjO3SrXA 2U7IlokWn5fpKTFMIh7Od4Npn4jsOHmumSNz10.7qV_k236S0STChjlkghSb_Qcs3xSWv4u.vGuC 1jAuvEvKGZF5xVWkMi4D3hzIbmqqKXqwlXzAbmRdBk2vr9De7K2r8TORvQARGdznJTcpu9nVqWcj eP5DqJJXbBgD0QtxBEfmhIMW2ybQm3p49jvxz6ZLPYkFpIJeqJJ76vL6EchnEq5kraxhbXFfwaIi mbK7YnpDSi5_DVeNw3PtCXgH3ojBtl3VJG1xcQ5Qzswc5IiJAsXpcSclDsF.qqvoMLzsMzpp75PC 7m7zMKZy7Oh2xwSpYZVe.NzurieyXhVsPC_7qyzRLEi5yLeOo0apFMDcKDqQEmxWOuQ9Rl7ONWMg 5oiR_wIbXD5DhwwW9KxSSE5mMBwx3oJn8Zt_C.b.0dFDX8mzsrNoCKpkput6y7vVxfuO33BaRcIk mKavc_m1ODd605wrBC7HctCt6bGIwkBcS_65LXBqPJbWkFFanWj4fV3df014MNt0XS5xeGh8C6N1 VMbpGkrwyOlSF3C59ApUVZ7dTwt5F3hD3ujXXSM5.F X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic315.consmr.mail.ne1.yahoo.com with HTTP; Mon, 23 May 2022 12:40:10 +0000 Original-Received: by hermes--canary-production-sg3-7959d4d9bd-bjkcg (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID aebbe91c88ecea39da6b676836f86801; Mon, 23 May 2022 12:40:07 +0000 (UTC) In-Reply-To: <87r14kl934.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 23 May 2022 14:36:15 +0200") X-Mailer: WebService/1.1.20225 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:232968 Archived-At: Lars Ingebrigtsen writes: > Nope; no crashes with that patch, thanks. > > (Side note: It is pretty slow, though -- popping up and closing the menu > both takes about five seconds on this laptop, so perhaps it should limit > the number of entries in one way or another. And... the family names > aren't sorted alphabetically? And it looks like I'm getting several > instances of each family -- it's so slow that it's a bit painful to > scroll through, but I'm getting several instances of "Lato", for > instance, at arbitrary places in the list.) Yes, I agree completely. Allocating 20 MB to generate a popup menu also seems excessive, but we don't have a way of "lazy-loading" menus at present. But for now let's just avoid the crash. I will try to think up something later that doesn't involve selecting through many different layers of menus. Thanks for testing.