emacs-devel
[Top][All Lists]
Advanced

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

RE: bug#23425: master branch: `message' wrongly corrupts ' to curly quot


From: Drew Adams
Subject: RE: bug#23425: master branch: `message' wrongly corrupts ' to curly quote.
Date: Wed, 7 Jun 2017 13:56:25 -0700 (PDT)

(Removed the bug list from CC.  The discussion does not now
seem to be only about a specific bug.  But if it is, then it
belongs only on the bug list and not also on emacs-devel.) 

> > the change you propose will force me to write every `message'
> > call like this in my packages:
> 
> > (if (< emacs-version 26)
> >     (message "Hello, `world'!")
> >   (message "Hello, %`world%'!"))
> 
> That would clearly be unacceptable.

Truly unacceptable.  There are probably thousands of `message'
calls like the first one.  (My code alone might have thousands
of them. ;-))

There should be no reason to have to do such a thing.

It is equally unacceptable, IMO, if Emacs does not respect the
chars ` and ' as they are, but stupidly substitutes curly quotes
for them.  This is true for `message' but for so much more than
just `message'.

Someone should really consider putting a stop to this and reverse
course.  This problem exists since Emacs 25.1 (Emacs 24.5 is the
last vestige of sanity in this regard).

It REALLY does not make any sense that you write
(message "Hello, `world'!") and you get Hello, ‘world’!.

I have a hard time believing that this virus got past the
maintainers.  (But this is not the first time I've had a hard
time believing that some changes have actually been made.)

> No, I don't think so.  But it is probably feasible to put advice on
> `message' in older Emacsen.  This advice would strip the % from %`
> and %'.
> 
> It should be borne in mind that the handling of ` and ' by `message' in
> Emacs-25 is in any case incompatible with earlier versions of Emacs.

That's the origin of the currently discussed problem.  And it is
a real problem in its own right.



reply via email to

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