From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#51578: 29.0.50; error on display-bindings when invoked from a tty Date: Wed, 03 Nov 2021 20:15:17 +0200 Message-ID: <83k0hpgl6y.fsf@gnu.org> References: <85sfwe54gc.fsf@airmail.cc> <83y265gvrc.fsf@gnu.org> <85ee7xru6t.fsf@airmail.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6701"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51578-done@debbugs.gnu.org To: Bird Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 03 19:16:15 2021 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 1miKo2-0001dv-Vy for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 19:16:15 +0100 Original-Received: from localhost ([::1]:40234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1miKo1-0002JU-Vt for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Nov 2021 14:16:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56368) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miKnq-0002Iy-9L for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 14:16:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1miKnq-0002TR-19 for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 14:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1miKnp-0000x4-T5 for bug-gnu-emacs@gnu.org; Wed, 03 Nov 2021 14:16:01 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Nov 2021 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51578 X-GNU-PR-Package: emacs Mail-Followup-To: 51578@debbugs.gnu.org, eliz@gnu.org, birdsite@airmail.cc Original-Received: via spool by 51578-done@debbugs.gnu.org id=D51578.16359633283593 (code D ref 51578); Wed, 03 Nov 2021 18:16:01 +0000 Original-Received: (at 51578-done) by debbugs.gnu.org; 3 Nov 2021 18:15:28 +0000 Original-Received: from localhost ([127.0.0.1]:41142 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miKnH-0000vs-Mr for submit@debbugs.gnu.org; Wed, 03 Nov 2021 14:15:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1miKnF-0000vb-IL for 51578-done@debbugs.gnu.org; Wed, 03 Nov 2021 14:15:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miKnA-0002Ly-7s; Wed, 03 Nov 2021 14:15:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=CgaDTFEr+/wAzOBtuTnSDa5hxHSPB5gA2ar/tCInIGU=; b=a5vew/B+RMFXEsHED06B BJtvKtGuazuzCwyOOe4gGpmnEfvWcshM3qqFDzLj51nK4vz3+BwyW2rujBEYlsVMjo3xW752DqGlB Fzny1GokpmByawPz+Zh27nLdvOjZswHXKpRPiCrOJkvzhZ9ecgjYDpgPIx4b9FLkyPoIxeyH1E5/C HmK1UvJVA9LkX+raZI6dRV2m46xM1Z+8BVkDmAOzwVJZP2L1O1sUHrieGdkafCmemYeNYXYJu59MV xNSLW4oXYtOCaAdKIX93OioyrUvyKr0PgEF4PQZw/VLfon6Y8pteDcgSlY3fctr1scapLRWI9VV+q w91Ea8mM1VJkaQ==; Original-Received: from [87.69.77.57] (port=2398 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1miKn9-0000mU-Pc; Wed, 03 Nov 2021 14:15:20 -0400 In-Reply-To: <85ee7xru6t.fsf@airmail.cc> (message from Bird on Wed, 03 Nov 2021 18:05:30 +0000) 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:218886 Archived-At: > From: Bird > Cc: 51578@debbugs.gnu.org > Date: Wed, 03 Nov 2021 18:05:30 +0000 > > Eli Zaretskii writes: > > >> When emacs -Q is ran in a tty(C-M-F2 on gnu/linux) and invokes > >> describe-bindings, an error occurs. the debug information is: > [snip] > > Thanks. Does the patch below help? > > > > diff --git a/lisp/outline.el b/lisp/outline.el > > index 2a6f475..5b20a42 100644 > > --- a/lisp/outline.el > > +++ b/lisp/outline.el > > @@ -961,7 +961,8 @@ outline--make-button > > " " (buffer-substring (point) (1+ (point)))))) > > > > (defun outline--valid-emoji-p (string) > > - (when-let ((font (car (internal-char-font nil ?😀)))) > > + (when-let ((font (and (display-multi-font-p) > > + (car (internal-char-font nil ?😀))))) > > (font-has-char-p font (aref string 0)))) > > > > (defun outline--valid-char-p (string) > Thanks! the above patch does work in a tty. Thanks, I've now installed it on the master branch. > Is it possible to always use that triange thingy (which is used in a > tty) instead of the emoji in describe-bindings? i much prefer those > compared to emojis ;) Yes, customize the option outline-minor-mode-buttons. And with that, I'm closing this bug report.