Package: install-info Version: 6.8-6+b1 Severity: normal X-Debbugs-Cc: none, Barak A. Pearlmutter <b...@debian.org> The directory file /usr/share/info/dir entry for emacs itself is messed up, even after a clean regeneration.
Note the strange characters here that mess up the entry: $ cat -v /usr/share/info/dir | egrep -2 '[(]emacs[)]' * Magit: (magit). Using Git from Emacs with Magit. * With-Editor: (with-editor). Using the Emacsclient as $EDITOR. ^ZM-^L}[^EM-^KM-6M-bd^E* Emacs: (emacs). The extensible self-documenting text editor. * Emacs FAQ: (efaq). Frequently Asked Questions about Emacs. * Haskell Mode: (haskell-mode). Haskell Development Environment for Emacs(en) I'd also note that /usr/sbin/update-info-dir does not ignore *~ files, but it *does* ignore symbolic links. $ egrep find /usr/sbin/update-info-dir find "$INFODIR" -type f | while read file ; do $ ls -l /usr/share/info/emacs.info.gz lrwxrwxrwx 1 root root 31 Sep 26 2019 /usr/share/info/emacs.info.gz -> /etc/alternatives/emacs.info.gz In fact, one might wonder why the above "find" looks for anything other than *.info.gz files. One might also wonder whether install-info.c needs to be rewritten from scratch in something sane, but I digress. In any case, tracing through the construction of /usr/share/info/dir by hot-wiring update-info-dir to pause after each invocation of install-info, I found that the "bad" material is installed by processing of /usr/share/info/mutt-alias.info.gz, which is installed because emacs-goodies-el depends on elpa-mutt-alias, even though I do not have mutt installed. -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (530, 'testing'), (520, 'proposed-updates'), (510, 'stable-updates'), (500, 'stable'), (450, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 6.0.0-4-amd64 (SMP w/8 CPU threads; PREEMPT) Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8), LANGUAGE=en_IE:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) Versions of packages install-info depends on: ii libc6 2.36-5 install-info recommends no packages. install-info suggests no packages. -- no debconf information