unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Kévin Le Gouguec" <kevin.legouguec@gmail.com>
To: 50519@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>
Subject: bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode is nil
Date: Sat, 11 Sep 2021 16:17:04 +0200	[thread overview]
Message-ID: <87czpf42ov.fsf@gmail.com> (raw)

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





             reply	other threads:[~2021-09-11 14:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-11 14:17 Kévin Le Gouguec [this message]
2021-09-13  7:40 ` bug#50519: 28.0.50; describe-fontset bug when indent-tabs-mode is nil Lars Ingebrigtsen
2021-09-13  8:36   ` Kévin Le Gouguec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87czpf42ov.fsf@gmail.com \
    --to=kevin.legouguec@gmail.com \
    --cc=50519@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).