all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#74042: [PATCH] Accept texi2any for version identification
@ 2024-10-27  8:35 Mats Lidell
  2024-10-27  9:20 ` Eli Zaretskii
  2024-10-27  9:47 ` Stefan Kangas
  0 siblings, 2 replies; 9+ messages in thread
From: Mats Lidell @ 2024-10-27  8:35 UTC (permalink / raw)
  To: 74042

[-- Attachment #1: Type: text/plain, Size: 709 bytes --]

Hi,

Although according to docs texi2any is identical to makeinfo it outputs its
name in the first line which the version check in
`Info-file-supports-index-cookies' does not account for. The submitted patch
allows both makeinfo and texi2any to be in the version string.

In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.2) of 2024-10-27 built on ethel
Repository revision: 523aade3ea11c188e30e3889f031d1848129cf82
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101013
System Description: Gentoo Linux

Configured using:
 'configure --prefix=/home/matsl --with-mailutils --with-native-compilation --with-tree-sitter'


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Accept-texi2any-for-version-identification.patch --]
[-- Type: text/patch, Size: 783 bytes --]

From 53c87778acb33d82f6fff64048e1e9d6372e5238 Mon Sep 17 00:00:00 2001
From: Mats Lidell <mats.lidell@lidells.se>
Date: Sun, 27 Oct 2024 09:11:16 +0100
Subject: [PATCH] Accept texi2any for version identification

---
 lisp/info.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/info.el b/lisp/info.el
index 1ad1677c6ce..6a5fe6f1fbc 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -667,7 +667,7 @@ Info-file-supports-index-cookies
 	  (goto-char (point-min))
 	  (condition-case ()
 	      (if (and (re-search-forward
-			"makeinfo[ \n]version[ \n]\\([0-9]+.[0-9]+\\)"
+			"\\(?:makeinfo\\|texi2any\\)[ \n]version[ \n]\\([0-9]+.[0-9]+\\)"
 			(line-beginning-position 4) t)
 		       (not (version< (match-string 1) "4.7")))
 		  (setq found t))
-- 
2.45.2


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

end of thread, other threads:[~2024-10-28  3:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-27  8:35 bug#74042: [PATCH] Accept texi2any for version identification Mats Lidell
2024-10-27  9:20 ` Eli Zaretskii
2024-10-27 17:50   ` Mats Lidell
2024-10-27 19:18     ` Eli Zaretskii
2024-10-27 21:01       ` Stefan Kangas
2024-10-27 21:33       ` Mats Lidell
2024-10-28  3:23         ` Eli Zaretskii
2024-10-27  9:47 ` Stefan Kangas
2024-10-27 10:11   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.