emacs-devel
[Top][All Lists]
Advanced

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

Re: character sets as they relate to “Raw” string literals for elisp


From: Alan Mackenzie
Subject: Re: character sets as they relate to “Raw” string literals for elisp
Date: Sat, 9 Oct 2021 13:08:35 +0000

Hello, Eli.

On Sat, Oct 09, 2021 at 14:49:28 +0300, Eli Zaretskii wrote:
> > Date: Sat, 9 Oct 2021 10:57:53 +0000
> > Cc: emacs-devel@gnu.org, rms@gnu.org, juri@linkov.net, db48x@db48x.net,
> >   stefankangas@gmail.com, yuri.v.khan@gmail.com, monnier@iro.umontreal.ca
> > From: Alan Mackenzie <acm@muc.de>

> > > But Emacs already automatically translates those punctuation
> > > characters at display time in your case, ....

> > Not satisfactorally.  All these characters have homoglyph face on them,
> > which is ugly and I don't like.  (It would be confusing, and thus worse,
> > without this face.)

> > --- (EM DASH) appears as an inverse question mark on my screen.  So do
> > several other punctuation marks, I think.

> That means the display-time replacement doesn't happen, I think.  What
> is your terminal-coding-system?

M-: default-terminal-coding-system says utf-8-unix.  I haven't set this
in my site-start.el or .emacs.

I have my font set to Latin-1.  More precisely,

    consolefont="lat1-16"

in my /etc/conf.d/consolefont.

> > > so what exactly is the problem you want to solve?

> > I want to be able to search for @code{foo} by typing the six keys:

> >     C-s ` f o o '

> > , like I could with previous versions of Texinfo.  I want this by having
> > these characters in the buffer, not by some clumsy workaround in isearch
> > (which I think was tried some time ago, but wasn't really satisfactory).

> Then please talk to the Texinfo developers to provide a kind of output
> that leaves the quotes and other punctuation intact, ....

I will try, but I doubt that will bring anything.  It's such an obvious
thing to want that it must have been brought up in the Texinfo mailing
lists lots of times in the last few years.  I think the maintainer is
hostile to ASCII punctuation characters.

> .... while keeping the non-ASCII characters in names in their UTF-8
> encoding (which will, of course, show as inverted question marks on
> your console).  Emacs cannot do anything to satisfy your request, as
> long as the Info files are as they are, and I will object to us
> changing the contents of the Info files in the buffer.

Like I said, if I want this fixed I'll probably need to fix it myself,
even if only for me personally.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

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