unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode is nil
@ 2021-09-11 14:17 Kévin Le Gouguec
  2021-09-13  7:40 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Kévin Le Gouguec @ 2021-09-11 14:17 UTC (permalink / raw)
  To: 50519; +Cc: Lars Ingebrigtsen

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode is nil
  2021-09-11 14:17 bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode is nil Kévin Le Gouguec
@ 2021-09-13  7:40 ` Lars Ingebrigtsen
  2021-09-13  8:36   ` Kévin Le Gouguec
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-09-13  7:40 UTC (permalink / raw)
  To: Kévin Le Gouguec; +Cc: 50519

Kévin Le Gouguec <kevin.legouguec@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode is nil
  2021-09-13  7:40 ` Lars Ingebrigtsen
@ 2021-09-13  8:36   ` Kévin Le Gouguec
  0 siblings, 0 replies; 3+ messages in thread
From: Kévin Le Gouguec @ 2021-09-13  8:36 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 50519

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Yup, this should be fixed now.

Confirmed, thanks!





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-13  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-11 14:17 bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode is nil Kévin Le Gouguec
2021-09-13  7:40 ` Lars Ingebrigtsen
2021-09-13  8:36   ` Kévin Le Gouguec

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).