From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: How to opt out of curly-quote spamming altogether? Date: Sun, 23 Aug 2015 21:16:18 -0700 (PDT) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1440428015 19232 80.91.229.3 (24 Aug 2015 14:53:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Aug 2015 14:53:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 24 16:53:23 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZTt7e-0004Kg-9z for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2015 16:53:18 +0200 Original-Received: from localhost ([::1]:48915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTt7d-0001wv-ST for ged-emacs-devel@m.gmane.org; Mon, 24 Aug 2015 10:53:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTjBJ-0005wg-0i for emacs-devel@gnu.org; Mon, 24 Aug 2015 00:16:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTjBF-0006mI-RW for emacs-devel@gnu.org; Mon, 24 Aug 2015 00:16:24 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:51283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTjBF-0006lm-KN for emacs-devel@gnu.org; Mon, 24 Aug 2015 00:16:21 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7O4GJR5031063 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Aug 2015 04:16:19 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t7O4GJ8B018520 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Mon, 24 Aug 2015 04:16:19 GMT Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t7O4GIhS029095 for ; Mon, 24 Aug 2015 04:16:19 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189100 Archived-At: 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.