GNU bug report logs - #50519
28.0.50; describe-fontset bug when indent-tabs-mode is nil

Previous Next

Package: emacs;

Reported by: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>

Date: Sat, 11 Sep 2021 14:18:02 UTC

Severity: normal

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50519 in the body.
You can then email your comments to 50519 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to larsi <at> gnus.org, bug-gnu-emacs <at> gnu.org:
bug#50519; Package emacs. (Sat, 11 Sep 2021 14:18:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kévin Le Gouguec <kevin.legouguec <at> gmail.com>:
New bug report received and forwarded. Copy sent to larsi <at> gnus.org, bug-gnu-emacs <at> gnu.org. (Sat, 11 Sep 2021 14:18:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; describe-fontset bug when indent-tabs-mode is nil
Date: Sat, 11 Sep 2021 16:17:04 +0200
Hi,

Unless I'm bisecting this wrong, 2021-08-20 "Fix printing of C-@ in
`describe-fontset'" (ac2cecbd83) introduced a regression when
indent-tabs-mode is nil:

$ emacs -Q
M-: (custom-set-variables '(indent-tabs-mode nil))
M-x describe-fontset RET fontset-default RET

⇒ print-fontset-element: Args out of range: #<buffer *Help*>, 1465, 1466

IIUC setting indent-tabs-mode to nil changes describe-vector's output
(since it eventually calls Findent_to), which I guess fools
print-fontset-element?

I haven't taken the time to fully understand how print-fontset-element
and mule--kbd-at operate, so I don't know if the correct fix would be
tweaking some regexp(s) or let-binding indent-tabs-mode to t somewhere.


In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.16.0)
 of 2021-08-23 built on amdahl30
Repository revision: 00edc8329a6277f2e5b5204efbe503e2b7957006
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: openSUSE Tumbleweed

Configured using:
 'configure --with-xwidgets --with-cairo --with-gconf'

Configured features:
ACL CAIRO DBUS FREETYPE GCONF GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ
JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM XWIDGETS GTK3 ZLIB

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=local
  locale-coding-system: utf-8-unix




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50519; Package emacs. (Mon, 13 Sep 2021 07:41:01 GMT) Full text and rfc822 format available.

Message #8 received at 50519 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
Cc: 50519 <at> debbugs.gnu.org
Subject: Re: bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode
 is nil
Date: Mon, 13 Sep 2021 09:40:35 +0200
Kévin Le Gouguec <kevin.legouguec <at> gmail.com> writes:

> $ emacs -Q
> M-: (custom-set-variables '(indent-tabs-mode nil))
> M-x describe-fontset RET fontset-default RET
>
> ⇒ print-fontset-element: Args out of range: #<buffer *Help*>, 1465, 1466

Yup, this should be fixed now.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug marked as fixed in version 28.1, send any further explanations to 50519 <at> debbugs.gnu.org and Kévin Le Gouguec <kevin.legouguec <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 13 Sep 2021 07:41:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50519; Package emacs. (Mon, 13 Sep 2021 08:37:01 GMT) Full text and rfc822 format available.

Message #13 received at 50519 <at> debbugs.gnu.org (full text, mbox):

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 50519 <at> debbugs.gnu.org
Subject: Re: bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode
 is nil
Date: Mon, 13 Sep 2021 10:36:30 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Yup, this should be fixed now.

Confirmed, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 11 Oct 2021 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 189 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.