From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Suhail Singh Newsgroups: gmane.emacs.bugs Subject: bug#74844: 29.4; m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry Date: Thu, 12 Dec 2024 20:31:23 -0500 Message-ID: <87zfl0bc7o.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20388"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Stefan Monnier To: 74844@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 13 02:32:44 2024 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 1tLuXr-0005Aj-Rq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 13 Dec 2024 02:32:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tLuXP-0004Ui-HJ; Thu, 12 Dec 2024 20:32:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLuXE-0004U6-7u for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 20:32:06 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLuXC-0005Am-RK for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 20:32:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=W+ByiCUatWDb+urcGYysDtC0fWEhYTj2RWEy3UbRW+A=; b=Md9UHXQJ8xbQ+hRzU2ARixlqddc/RZ+G2aR8Q25sVYhEKWf9My4Qyx8eaCr8PAilE8Ut6lE3EgSnrIOAfKizgeMrjFgJnK2QrnIFio3ov/h+50Uhm6i65uk/rJBP0wOLaTqG1YgKi6dddR1JuL7PVWoI9Y1ZwL3beLfwgNararK/RMXPf8uFQqbED8jmHcL5gyd6b9VlxzL9g/fG1DYY0ARdqW8H9u0FyWBF9zNtB/JPFFz6RojnanMV5+mtxO/swSaH5PoXqipcQOcSVhhx0Fr5xK6thlK68GYBhWvIc2/kC3gy1fDpZTOp4RJKWd+hXPZs3DwN3VMCvlrLs5aHEw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tLuXB-0005ZP-TV for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 20:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Suhail Singh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Dec 2024 01:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74844 X-GNU-PR-Package: emacs X-Debbugs-Original-To: Emacs bugs Original-Received: via spool by submit@debbugs.gnu.org id=B.173405352021402 (code B ref -1); Fri, 13 Dec 2024 01:32:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 Dec 2024 01:32:00 +0000 Original-Received: from localhost ([127.0.0.1]:40991 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLuX4-0005Yz-7h for submit@debbugs.gnu.org; Thu, 12 Dec 2024 20:32:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:40580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tLuWz-0005Yk-On for submit@debbugs.gnu.org; Thu, 12 Dec 2024 20:31:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tLuWz-0004TK-4y for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 20:31:49 -0500 Original-Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tLuWp-00059X-Tb for bug-gnu-emacs@gnu.org; Thu, 12 Dec 2024 20:31:47 -0500 Original-Received: by mail-qk1-x743.google.com with SMTP id af79cd13be357-7b6d2ff5048so125552785a.3 for ; Thu, 12 Dec 2024 17:31:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1734053497; x=1734658297; darn=gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=W+ByiCUatWDb+urcGYysDtC0fWEhYTj2RWEy3UbRW+A=; b=ezxVKV+gu3Mao2xUG7buBxd66sM73VeEwtogUqjt+5oFQ7tR2kG4+Wq96VhffoogJV 0m1Yp6FQc4zBDAWPJ1Fu6rQ7Bnys7Lqr2K0NUOqbP6jtW5R9iiYnwgwHZr27MzHjFwPm BtHPqcUa6bxz42TnjK7GiCoLl7/uq1ZFvkl5hhXMFEoPnofgM+EgpwGU72pXhX4A7lXo WifjxuT6WYWsTkzhsOQzIbxI3SL2eOPv8Qn5/zh8lViQYwJRaEhKqW5EF5t57/nsSs7p o6UmpUdqhKp9Y9TjctSsjqX2I2GDxDK5Bj5I+EP6MhN8+6Cb9JIW0pPGRpGzdQisFo45 Q0hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1734053497; x=1734658297; h=content-transfer-encoding:mime-version:user-agent:message-id:date :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=W+ByiCUatWDb+urcGYysDtC0fWEhYTj2RWEy3UbRW+A=; b=UOgid3m5igjb/Lvwi3Ypqcvi4ui+wlGns5YDaUa+KGzA9fUmLOYmHEZLX24ePgtjDp CEWlbwAtMcOjvS3Q93cEna2UhPo8Egl1yWPg5VpqHzUdUI18SoGw2tBdrN+RfjsDh349 VrFrJG5P63Bu3MVXUpUZdDq4NMK9dr8aFzYG57/A4Ke7eA63WH5rIKD1s4UwXS0bI+wF AIDH4wDVIo6idoko6QISQ+TJbjm7adrUQ9ByP/NMQEdHRRlxJ0t26zAh867JqzvtQG+b rVY04loqiQj+dFmPei7lwOO0BSSPKBRZgOsK7lEugvafCO8VwfHBdakZKB5vo2XeNY9J zfNw== X-Gm-Message-State: AOJu0Yyf3xqenZZqIQpBcLIywUCst3bhwS3HVzzWLJiN0Pew1PZ8nVeB vEEgeW/MwgEiX8WrzJrg14u69No7F7A7q4BP5eMW6/TAmeQnlD3cHgzt4aCw X-Gm-Gg: ASbGnctDd1uzrANmmssl2Qangj9nAxFaqTpGvGGD88NIxE3wJ0wG+mjHk/sN7g6L3O6 KHWstrBUBpVaQAGQt7DtsqjalUP5PVRWs/dZPEF9pSOaULZ+jesTg+gwSI+0MuwCU6Tvm+zcFD7 8N/00KG+4xioJ1nGFkYuOQYhUDV1J/+/O10h4BAkE2FIC5aveW5UBZvP4fmqRi1Vr+CEn0x1Ewu OCFR/HNTPxURGYxrfjl23Vhm/pCVsYGnhux06aNJU9gWetDJO1/ X-Google-Smtp-Source: AGHT+IFktRs3sLf5HiWRsuxNCvEEb4qt82LZ4ATFd3Vch9x5j7WGR22pbpJFSzikYodg1rdu1Ka5cw== X-Received: by 2002:a05:620a:4802:b0:7b6:742d:c01e with SMTP id af79cd13be357-7b6fbf14ac5mr142382685a.25.1734053495832; Thu, 12 Dec 2024 17:31:35 -0800 (PST) Original-Received: from gnus ([70.26.179.129]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-46799116a93sm12880181cf.21.2024.12.12.17.31.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2024 17:31:34 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::743; envelope-from=suhailsingh247@gmail.com; helo=mail-qk1-x743.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:296953 Archived-At: The Texinfo entry in the "dir" and "m-buffer-doc.info" files are malformed. As a consequence the font-locking as well as the completion for the Info-menu command are broken in the Top directory. CC-ing Stefan given his familiarity with documentation generation for the ELPA package in question (based on git commits). The @direntry for Texinfo is of the form =E2=80=98* DIRNAME: NODE.=E2=80=99= where =E2=80=98NODE=E2=80=99 is usually just =E2=80=98(FILENAME)=E2=80=99. In the case of m-buffer it o= ught to be something like "* m-buffer: (m-buffer-doc)." However, the @direntry as noted in the "dir" and "m-buffer-doc.info" files is "* m-buffer.doc." As a result, `Info-follow-nearest-node' (bound to RET in Info-mode-map) is unable to determine the appropriate node when point is on the m-buffer-doc entry. Digging deeper, the failure is due to the following code resulting in nil: #+begin_src emacs-lisp (Info-get-token (point) "\\* +" "\\* +\\(.*\\): ") #+end_src Fixing the direntry in the "dir" and "m-buffer-doc-info" files resolves the issue. Given that the documentation is generated from m-buffer-doc.org via ox-texinfo, presumably the issue lies in the incorrect usage of the obsolete TEXINFO_DIR_TITLE keyword. Presumably the fix would be to use the TEXINFO_FILENAME and, possibly, the TEXINFO_DIR_NAME keywords. However, for some reason I am unable to generate the documentation locally. As such I am not submitting a patch. Hope this helps. In GNU Emacs 29.4 (build 2, x86_64-suse-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.2) System Description: openSUSE Tumbleweed Configured using: 'configure --disable-build-details --without-pop --with-mailutils --with-native-compilation --without-hesiod --with-gameuser=3D:games --with-kerberos --with-kerberos5 --with-file-notification=3Dinotify --with-modules --enable-autodepend --prefix=3D/usr --mandir=3D/usr/share/man --infodir=3D/usr/share/info --datadir=3D/usr/sha= re --localstatedir=3D/var --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --with-file-notification=3Dyes --libdir=3D/usr/lib64 --enable-locallisppath=3D/usr/share/emacs/29.4/site-lisp:/usr/share/emacs/= site-lisp --with-x --with-xim --with-sound --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-dbus --with-webp --with-xft --with-imagemagick --without-gpm --with-x-toolkit=3Dgtk3 --with-pgtk --with-toolkit-scroll-bars --x-includes=3D/usr/include --x-libraries=3D/usr/lib64 --with-libotf --with-m17n-flt --with-cairo --with-xwidgets --build=3Dx86_64-suse-linux --with-dumping=3Dpdumper 'CFLAGS=3D-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3D3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=3Dreturn-type -flto=3Dauto -g -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -fno-optimize-sibling-calls -DPDMP_BASE=3D'\''"emacs-wayland"'\''' LDFLAGS=3D-Wl,-O2' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM XWIDGETS GTK3 ZLIB Important settings: value of $LC_NUMERIC: POSIX value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t isearch-fold-quotes-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr info emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings icons subr-x rx cl-seq cl-macs gv cl-extra help-mode cl-loaddefs cl-lib bytecomp byte-compile ispell rmc delsel lpr easy-mmode pcase iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads xwidget-internal dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 101816 9593) (symbols 48 7600 0) (strings 32 23316 1856) (string-bytes 1 792835) (vectors 16 16145) (vector-slots 8 336083 17636) (floats 8 31 20) (intervals 56 4892 0) (buffers 984 12))