From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: how to turn off automatic curly-quoting? Date: Mon, 3 Aug 2015 14:06:41 -0700 Organization: UCLA Computer Science Department Message-ID: <55BFD7E1.7090202@cs.ucla.edu> References: <36f6e67e-45d9-4eca-8302-ad9a06d138f1@default> <83fv41v6fh.fsf@gnu.org> <5681a732-5741-4f56-b3d7-cb1edb739d32@default> <55BEA291.70402@cs.ucla.edu> <83a8u8v1zk.fsf@gnu.org> <55BF9B8C.6010300@cs.ucla.edu> <7197418a-d51f-4d0e-a01c-188d27a0f21f@default> <55BFBA12.4070505@cs.ucla.edu> <41ca0ff6-3c02-4202-9dd4-bb3192a6c417@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1438636034 6521 80.91.229.3 (3 Aug 2015 21:07:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Aug 2015 21:07:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 03 23:07:04 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 1ZMMwp-0004dg-Tm for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2015 23:07:04 +0200 Original-Received: from localhost ([::1]:60495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMwo-0000cd-VO for ged-emacs-devel@m.gmane.org; Mon, 03 Aug 2015 17:07:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMwb-0000cY-2K for emacs-devel@gnu.org; Mon, 03 Aug 2015 17:06:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMMwW-0007OI-02 for emacs-devel@gnu.org; Mon, 03 Aug 2015 17:06:49 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:60436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMMwV-0007OB-Q7 for emacs-devel@gnu.org; Mon, 03 Aug 2015 17:06:43 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0C1C61601A7; Mon, 3 Aug 2015 14:06:43 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id STvdLsxpFzRA; Mon, 3 Aug 2015 14:06:42 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 4E843160255; Mon, 3 Aug 2015 14:06:42 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id hX8cXMXmveoe; Mon, 3 Aug 2015 14:06:41 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id D10101601E9; Mon, 3 Aug 2015 14:06:41 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: <41ca0ff6-3c02-4202-9dd4-bb3192a6c417@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:188367 Archived-At: On 08/03/2015 12:33 PM, Drew Adams wrote: > Without context it's hard to know just what is the fix in each case. They're all doc strings in the Emacs source code. You can find them with 'grep -r'. The three functions and variables in question are custom-add-see-also, calendar-iso-to-absolute, comint-inhibit-carriage-motion. These are just examples of course. > I don't see `ISO year' in either the Emacs manual or the Elisp manual. The manual is a different topic. Its info and PDF files switched to curved quotes some time ago (this is in Emacs 24.5). Its source files continue to quote `like this'. None of the stuff in this email thread affects the manual or how it's edited or displayed. > The use of "..." for anything other than code strings is also a bad > idea, IMO. That's a style issue. Other GNU projects often use American-style straight double-quotes when quoting ordinary English text "like this", and use British-style straight apostrophes when quoting code '(like this)'; this style is simple and easy to explain and you'll see quite a few instances of it in Emacs too. However, for historical reasons Emacs often quotes English text and/or code with grave accent and apostrophe `like this'. If I could wave a magic wand and change the Emacs style to resemble that of other GNU projects, without offending existing developers, I'd do it. Unfortunately no magic wands are available and in the meantime we need to deal with the quoting that Emacs code actually uses.