bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: today's Gnulib autoupdate changed quoting style in INSTALL?


From: Paul Eggert
Subject: Re: today's Gnulib autoupdate changed quoting style in INSTALL?
Date: Sun, 7 Jan 2024 17:38:43 -0800
User-agent: Mozilla Thunderbird

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

Attachment: 0001-doc-adjust-to-texinfo-7.1.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]