* bug#24786: 25.1; Misleading documentation/news for text-quoting-style
@ 2016-10-24 19:33 Vasilij Schneidermann
2016-10-24 20:13 ` Eli Zaretskii
0 siblings, 1 reply; 3+ messages in thread
From: Vasilij Schneidermann @ 2016-10-24 19:33 UTC (permalink / raw)
To: 24786
I've just fixed a complex Emacs Lisp program using `error' in batch mode
where messages of the "Exception: 'foo'" kind were turned into
"Exception: ‘foo’", leading to a crash in the test rig written in as it
did not expect non-ASCII output. I find this inacceptable behavior.
Why should printing one thing print something entirely different from
what has been specified?
I've learned that there is a `text-quoting-style' variable that controls
this behavior, however both its docstring and the corresponding news
entry suggest that there is no way to disable the post-processing. On
top of that they don't mention that the simplest way to make things look
like they previously did is to set it to `grave`. Is there any reason
this is not documented? More importantly, if that is the truth, why is
there no flag to disable that post-processing?
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#24786: 25.1; Misleading documentation/news for text-quoting-style
2016-10-24 19:33 bug#24786: 25.1; Misleading documentation/news for text-quoting-style Vasilij Schneidermann
@ 2016-10-24 20:13 ` Eli Zaretskii
2016-10-24 21:30 ` Vasilij Schneidermann
0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2016-10-24 20:13 UTC (permalink / raw)
To: Vasilij Schneidermann; +Cc: 24786
> From: Vasilij Schneidermann <v.schneidermann@gmail.com>
> Date: Mon, 24 Oct 2016 21:33:12 +0200
>
> I've just fixed a complex Emacs Lisp program using `error' in batch mode
> where messages of the "Exception: 'foo'" kind were turned into
> "Exception: ‘foo’", leading to a crash in the test rig written in as it
> did not expect non-ASCII output. I find this inacceptable behavior.
> Why should printing one thing print something entirely different from
> what has been specified?
>
> I've learned that there is a `text-quoting-style' variable that controls
> this behavior, however both its docstring and the corresponding news
> entry suggest that there is no way to disable the post-processing. On
> top of that they don't mention that the simplest way to make things look
> like they previously did is to set it to `grave`. Is there any reason
> this is not documented? More importantly, if that is the truth, why is
> there no flag to disable that post-processing?
Did you look at the state of affairs on the emacs-25 branch? If not,
please do: I think at least some of these problems were fixed there.
If they are still not fixed, or you cannot figure out how to fix them,
please tell the details: where did you read or saw behavior that
disallows turning off the conversion of quotes. FWIW, I see this in
the doc string:
‘grave’ means quote with grave accent and apostrophe `like this'.
which seems to be what you want, no?
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#24786: 25.1; Misleading documentation/news for text-quoting-style
2016-10-24 20:13 ` Eli Zaretskii
@ 2016-10-24 21:30 ` Vasilij Schneidermann
0 siblings, 0 replies; 3+ messages in thread
From: Vasilij Schneidermann @ 2016-10-24 21:30 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 24786-done
> Did you look at the state of affairs on the emacs-25 branch? If not,
> please do: I think at least some of these problems were fixed there.
> If they are still not fixed, or you cannot figure out how to fix them,
> please tell the details: where did you read or saw behavior that
> disallows turning off the conversion of quotes.
Thanks for the hint, I'm on Emacs 25.1 where the behavior is as
described. As you've pointed out, 25.2 does not take
`text-quoting-style' into account for both `message' and
`format-message', additionally to that the (incompatible) change has
been documented and the docstring updated to clarify that `grave` is the
setting to disable post-processing.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-10-24 21:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-24 19:33 bug#24786: 25.1; Misleading documentation/news for text-quoting-style Vasilij Schneidermann
2016-10-24 20:13 ` Eli Zaretskii
2016-10-24 21:30 ` Vasilij Schneidermann
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.