GNU bug report logs -
#23425
master branch: `message' wrongly corrupts ' to curly quote.
Previous Next
Reported by: Alan Mackenzie <acm <at> muc.de>
Date: Mon, 2 May 2016 15:26:02 UTC
Severity: normal
Tags: notabug, wontfix
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #240 received at 23425 <at> debbugs.gnu.org (full text, mbox):
Hello again, Clément.
On Wed, Jun 07, 2017 at 15:27:02 -0400, Clément Pit-Claudel wrote:
> On 2017-06-07 15:13, Alan Mackenzie wrote:
> > Rubbish! What Clément pointed out is that the part of styled_format
> > which counts format constructs and argumnts would need to be modified.
> > This would be trivial.
> Uh? What I pointed out was that new code wouldn't work with old Emacsen.
> Maybe I misunderstood your proposal? As far as I can tell, 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.
> Am I missing something?
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.
> Clément.
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 7 years and 337 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.