Eli Zaretskii wrote:
Date: Sat, 9 Oct 2021 15:43:14 +0000 From: Alan Mackenzie <[email protected]>C-s ` f o o ' .. This no longer works for me in current Texinfo because what used to be ASCII punctuation characters in info, ` and ', have been replaced by Unicode curly quotes, which don't exist on my keyboard. Thus I cannot search for `foo' in any reasonable way in Emacs. Also, the display of these Unicode punctuation characters is awkward and ugly on my Linux console. The Emacs maintainer, Eli Zaretskii, has expressed his opposition to implementing a workaround inside Emacs.To clarify: I'm opposed to changing the characters present in Info files into some other characters when reading the files into Emacs, because replacing the Unicode characters generated by makeinfo with ASCII will generally interfere with file offsets recorded in the Info tag tables. I do NOT oppose to changing the visual display of the Unicode characters so as to allow them to be seen on terminals that cannot display the original Unicode characters (similarly to what the stand-alone Info reader does), but Alan isn't satisfied with that.
From my viewpoint, it seems that Alan wants some kind of equivalence table, such that ASCII backtick and single quote will match the Unicode curly quotes when typed into an I-search. This might be a generally useful feature, particularly if it is implemented as a variable that can be made mode-local or buffer-local, with a global default customizable by the user, as it would enable searching for characters not actually on the user's keyboard.
-- Jacob
