On 2024-01-07 15:07, Karl Berry wrote:
I'm using makeinfo 7.1. Maybe that is the difference?
Yes, thanks, that explains it. I installed the attached patch to work
around the quoting style glitch. With the patch, things should work fine
the next time you run autoupdate with a changed doc/install.texi.
Wouldn't it be better for INSTALL to be (entirely) 7-bit ASCII instead
of UTF-8, given the existence of INSTALL.UTF-8? Otherwise, what's the
point of INSTALL.UTF-8?
The idea was that there are two variants, INSTALL.ISO (which is ASCII
only) and INSTALL.UTF-8 (which uses UTF-8). INSTALL was originally a
copy of INSTALL.ISO, but in June we changed this because support for
UTF-8 is now universal and searching for apostrophes is not all that
common in that file.
it's a lot easier to grep ASCII.
True, but people don't normally use commands like ‘grep "'" INSTALL’.
I also found directed quotes to be an irritation when using Emacs.
However, there's a partial workaround. Put this into your init file:
(setq search-default-mode 'char-fold-to-regexp)
With this setting, interactive searching for ' will also find directed
single quotes, and likewise for similar glitches. You can also use M-s '
within an interactive search to toggle char-fold-to-regexp. This may
help to reduce (though of course not eliminate) the irritation. For
more, see:
https://www.gnu.org/software/emacs/manual/html_node/emacs/Lax-Search.html
From 267184ec9a060c088e1feab717120e43911485e5 Mon Sep 17 00:00:00 2001
From: Paul Eggert <egg...@cs.ucla.edu>
Date: Sun, 7 Jan 2024 16:54:12 -0800
Subject: [PATCH] doc: adjust to texinfo 7.1
* doc/Makefile (MAKEINFO): Adjust to texinfo 7.1, where makeinfo
by default outputs ASCII approximations to characters.
---
ChangeLog | 6 ++++++
doc/Makefile | 8 +++++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 4e2f4b73fb..8bfff58a1c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2024-01-07 Paul Eggert <egg...@cs.ucla.edu>
+
+ doc: adjust to texinfo 7.1
+ * doc/Makefile (MAKEINFO): Adjust to texinfo 7.1, where makeinfo
+ by default outputs ASCII approximations to characters.
+
2024-01-02 Bruno Haible <br...@clisp.org>
strverscmp: Work around bug in musl libc 1.2.3 and in Cygwin.
diff --git a/doc/Makefile b/doc/Makefile
index 19e3c34dde..2cb1dc2e77 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -9,9 +9,11 @@ doc = gnulib
lang_env = env LANG= LC_MESSAGES= LC_ALL= LANGUAGE=
makeinfo_prog = makeinfo
-# The customization variable CHECK_NORMAL_MENU_STRUCTURE is necessary with
-# makeinfo versions ≥ 6.8.
-MAKEINFO = $(lang_env) $(makeinfo_prog) -c CHECK_NORMAL_MENU_STRUCTURE=1
+# ASCII_DASHES_AND_QUOTES=0 is needed for makeinfo versions ≥ 7.1.
+# CHECK_NORMAL_MENU_STRUCTURE=1 is needed for makeinfo versions ≥ 6.8.
+MAKEINFO = $(lang_env) $(makeinfo_prog) \
+ -c ASCII_DASHES_AND_QUOTES=0 \
+ -c CHECK_NORMAL_MENU_STRUCTURE=1
manual_opts = --no-split --reference-limit=2000
TEXI2HTML = $(MAKEINFO) $(manual_opts) --html
--
2.40.1