unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: emacs-devel@gnu.org
Subject: How to opt out of curly-quote spamming altogether?
Date: Sun, 23 Aug 2015 21:16:18 -0700 (PDT)	[thread overview]
Message-ID: <a4c77735-a9de-400e-88f2-243c66e24836@default> (raw)

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.



             reply	other threads:[~2015-08-24  4:16 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-24  4:16 Drew Adams [this message]
2015-08-24 15:22 ` How to opt out of curly-quote spamming altogether? 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a4c77735-a9de-400e-88f2-243c66e24836@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).