[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#74844: m-buffer: Broken Top Directory node in Info manual due to mal
From: |
Stefan Monnier |
Subject: |
bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry |
Date: |
Fri, 13 Dec 2024 16:50:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> However, the @direntry as
> noted in the "dir" and "m-buffer-doc.info" files is "* m-buffer.doc."
Hmm... yup.
I pushed to Emacs a fix for the generation of that Texinfo element in
`ox-texinfo.el` and to `m-buffer` I pushed another change which tries to
workaround that bug (for when it's used with an older Emacs).
The patch for `ox-texinfo.el` is below. It's "obviously safe", but
I suspect it's too late for Emacs-30. Eli?
Stefan
diff --git a/lisp/org/ox-texinfo.el b/lisp/org/ox-texinfo.el
index 6adee9fca3f..deceeca8947 100644
--- a/lisp/org/ox-texinfo.el
+++ b/lisp/org/ox-texinfo.el
@@ -826,9 +826,7 @@ org-texinfo-template
;; `dn' is presumed to be just the DIRNAME part, so generate
;; either `* DIRNAME: (FILENAME).' or `* FILENAME.', whichever
;; is shortest.
- ((and dn (not (equal dn file)))
- (format "* %s: (%s)." dn (or file dn)))
- (t (format "* %s." file)))))
+ (t (format "* %s: (%s)." (or dn file) (or file dn))))))
(concat "@dircategory " dircat "\n"
"@direntry\n"
(let ((dirdesc
- bug#74844: 29.4; m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Suhail Singh, 2024/12/12
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry,
Stefan Monnier <=
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Eli Zaretskii, 2024/12/14
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Stefan Monnier, 2024/12/14
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Eli Zaretskii, 2024/12/14
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Stefan Monnier, 2024/12/14
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Eli Zaretskii, 2024/12/15
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Stefan Monnier, 2024/12/15
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Eli Zaretskii, 2024/12/15
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Stefan Monnier, 2024/12/15
- bug#74844: m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Ihor Radchenko, 2024/12/22
bug#74844: 29.4; m-buffer: Broken Top Directory node in Info manual due to malformed Texinfo direntry, Suhail Singh, 2024/12/14