GNU bug report logs - #31597
27.0.50; Annoying ' to ’ translation

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Fri, 25 May 2018 20:47:02 UTC

Severity: normal

Merged with 21588

Found in versions 25.0.50, 27.0.50

Done: Kaushal Modi <kaushal.modi <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Alan Mackenzie <acm <at> muc.de>
To: Helmut Eller <eller.helmut <at> gmail.com>
Cc: 31597 <at> debbugs.gnu.org
Subject: bug#31597: 27.0.50; Annoying ' to ’ translation
Date: 27 May 2018 09:32:15 -0000
Hello, Helmut.

In article <mailman.494.1527281229.1292.bug-gnu-emacs <at> gnu.org> you wrote:
> Executing this command:

>  emacs -Q -batch -eval "(error \"can't parse input\")"

> prints

>  can’t parse input

> I would expect to see "can't parse input" instead.

> Had I wanted to see a "can’t parse input" in the output, I would have
> written "can’t parse input" in the source.  Emacs should not do this
> translation by default; this new behavior is a misfeature.

Yes.  It's a misfeature indeed.  It's already caused a lot of bad
feeling amongst Emacs developers.  The person behind the change, Paul
Eggert, simply pushed it through without first securing agreement from
Emacs as a whole, and had the political skills to prevent a consensus on
the matter prevailing.  I think he regards it as "modern and desirable"
to display what he thinks the programmer wanted, rather than what the
programmer actually wrote.

As for actually polling users, such as yourself, first?  Hmmm.

> It's extremely annoying that the behavior of such basic functions as
> error and message has changed so drastically from previous Emacs
> versions.  People who like this automagic translation should be forced
> to customize text-quoting-style not the people who want the traditional
> and much more predictable behavior.

Yes.  But no, such a strategem would be "incompatible" with the way
things were when rushed through for Emacs 25.  I did my best to make the
nil value of text-quoting-style mean "do nothing", but was overruled,
again on grounds of "compatibility".

So, you're not the first to suffer from this misfeature, and you'll
certainly not be the last.  I think it vanishingly unlikely that it will
be fixed.

Sorry.

> In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
>  of 2018-05-07 built on caladan
> Repository revision: 6e362a32bc9d21f73a0f29ca6f45481edeea6f29
> Windowing system distributor 'The X.Org Foundation', version 11.0.11902000
> System Description: Debian GNU/Linux 9 (stretch)
> Configured using:
>  'configure --with-xpm=no --with-gif=no --with-tiff=no --with-jpeg=no
>  --without-pop'

> Configured features:
> PNG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB
> TOOLKIT_SCROLL_BARS GTK3 X11 THREADS LIBSYSTEMD

> Important settings:
>   value of $LANG: C.UTF-8
>   locale-coding-system: utf-8-unix

-- 
Alan Mackenzie (Nuremberg, Germany).





This bug report was last modified 6 years and 362 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.