unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How to opt out of curly-quote spamming altogether?
@ 2015-08-24  4:16 Drew Adams
  2015-08-24 15:22 ` Eli Zaretskii
  2015-08-24 15:26 ` Paul Eggert
  0 siblings, 2 replies; 16+ messages in thread
From: Drew Adams @ 2015-08-24  4:16 UTC (permalink / raw)
  To: emacs-devel

Could someone please remind me how to completely turn OFF the
aberrant and ubiquitous curly-quote virus?

(I have `electric-quote-mode' OFF, but that does not help with
existing doc etc.)

Even just to paste text from the manuals into an Emacs
StackExchange question or answer I now need to manually change
each pasted curly quote into a backtick, in order to get SE's
own code-inline highlighting (`...`).  (Previously I needed to
change only the apostrophe of `...' into a backtick.)

Naturally, I looked in NEWS for an option or mode, to turn this
OFF.  But naturally, NEWS is not yet fully written for this
"feature" (it likely will not be fully written until soon before
the release).

NEWS does mention, misleadingly, the "New minor mode
electric-quote-mode for quoting 'like this' and "like this"" -
as if turning that mode off would eliminate such quotation.
Presumably the final wording will make clear that, per the doc
string, this mode is only about "replacing [classic quoting]
with [curly-quoting] _as you type_".

There are at least 4 locations in NEWS where the new curly-quoting
is advertised, but I found nothing that tells me clearly how to
opt out of its spamming altogether.

I did find, buried in the NEWS entry "substitute-command-keys
now replaces quotes", mention of option `help-quote-translation',
whose doc string gives the impression that simply changing the
value will change the quote-style behavior: "Left and right quotes
are determined by new custom variable 'help-quote-translation'.
(This should not be only under a `substitute-command-keys' entry.)

But that is apparently not the case in general.  AFAICT, that
option has no effect on the quotation style used in the manuals.
They still show curly quotes, even though the option value is
now 96.  (As I said previously, the option values should not be
characters, which are shown to users as integers.  They should
be meaningful, easy to recognize strings or symbols.)

`help-quote-translation' does seem to prevent curly quotes in
*Help* buffers, so at least there's that.  But I'm looking for
a switch to turn this virus OFF everywhere - to return to
Classic Emacs.  Surely such a simple ON/OFF switch exists?
Perhaps info about it was buried in some of the voluminous
missives back and forth here, but a simple reminder would be
greatly appreciated.  Thank you.



^ permalink raw reply	[flat|nested] 16+ messages in thread
[parent not found: <<a4c77735-a9de-400e-88f2-243c66e24836@default>]
[parent not found: <<c1f42565-e538-49e6-b246-07e43dab673a@default>]

end of thread, other threads:[~2015-08-25  4:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24  4:16 How to opt out of curly-quote spamming altogether? Drew Adams
2015-08-24 15:22 ` Eli Zaretskii
2015-08-24 15:26 ` Paul Eggert
2015-08-24 17:06   ` Drew Adams
     [not found] <<a4c77735-a9de-400e-88f2-243c66e24836@default>
     [not found] ` <<83fv38hfsx.fsf@gnu.org>
2015-08-24 16:34   ` Drew Adams
2015-08-24 16:45     ` Eli Zaretskii
2015-08-24 17:09     ` Paul Eggert
2015-08-24 17:29       ` Drew Adams
2015-08-24 18:44         ` Paul Eggert
     [not found]   ` <<c8408881-dddb-4661-9e7f-6ec42d9bf5fa@default>
     [not found]     ` <<837fokhby1.fsf@gnu.org>
2015-08-24 17:06       ` Drew Adams
2015-08-24 17:25         ` Eli Zaretskii
     [not found] <<c1f42565-e538-49e6-b246-07e43dab673a@default>
     [not found] ` <<834mjoha4r.fsf@gnu.org>
2015-08-24 17:57   ` Drew Adams
2015-08-24 18:05     ` Eli Zaretskii
2015-08-24 18:36     ` David Kastrup
2015-08-24 21:44       ` Drew Adams
2015-08-25  4:25         ` David Kastrup

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).