From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings Date: Thu, 23 Apr 2015 12:42:08 -0700 Organization: UCLA Computer Science Department Message-ID: <55394B10.6030205@cs.ucla.edu> References: <20150423122720.17494.qmail@mail.muc.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1429818209 18544 80.91.229.3 (23 Apr 2015 19:43:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 19:43:29 +0000 (UTC) To: Alan Mackenzie , 20385@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 21:43:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1YlN1h-0001D3-Jg for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 21:43:09 +0200 Original-Received: from localhost ([::1]:41803 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlN1h-000396-0E for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 15:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48762) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlN1d-00038B-9n for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 15:43:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlN1a-0005Aa-2d for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 15:43:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlN1Z-0005AW-VY for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 15:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlN1Z-0004cE-P7 for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 15:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Apr 2015 19:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20385 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20385-submit@debbugs.gnu.org id=B20385.142981813717691 (code B ref 20385); Thu, 23 Apr 2015 19:43:01 +0000 Original-Received: (at 20385) by debbugs.gnu.org; 23 Apr 2015 19:42:17 +0000 Original-Received: from localhost ([127.0.0.1]:38033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlN0q-0004bH-Ev for submit@debbugs.gnu.org; Thu, 23 Apr 2015 15:42:16 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:35963) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlN0p-0004b2-6B for 20385@debbugs.gnu.org; Thu, 23 Apr 2015 15:42:15 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 9C056A6000F; Thu, 23 Apr 2015 12:42:09 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ultqP9LJUhyH; Thu, 23 Apr 2015 12:42:09 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 018ADA60002; Thu, 23 Apr 2015 12:42:09 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <20150423122720.17494.qmail@mail.muc.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101948 Archived-At: On 04/23/2015 05:27 AM, Alan Mackenzie wrote: > I hate it when proprietary programs pull this > trick. If we do anything like smartquotes, it should be an option that you can turn off, and there should be a more-traditional-but-still-easy way to insert curved single quotes. For the latter, perhaps we could have M-( insert "‘’" when in a string or comment. M-( is already documented to have a precondition that point is not in a string or comment, so this would be an upward-compatible extension. Or perhaps you could suggest better bindings. This sort of thing might be good enough that we wouldn't need smartquotes after all.