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: Wed, 22 Apr 2015 16:37:14 -0700 Organization: UCLA Computer Science Department Message-ID: <553830AA.9040601@cs.ucla.edu> References: <1429555155-4695-1-git-send-email-eggert@cs.ucla.edu> <5535974D.9050207@cs.ucla.edu> <5535C7F3.7020107@cs.ucla.edu> <83618p5y9w.fsf@gnu.org> 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 1429745901 23570 80.91.229.3 (22 Apr 2015 23:38:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Apr 2015 23:38:21 +0000 (UTC) Cc: 20385@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 01:38:10 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 1Yl4DZ-0006gk-J2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 01:38:09 +0200 Original-Received: from localhost ([::1]:37381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yl4DY-0004EF-TA for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 19:38:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yl4DV-0004E8-7h for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 19:38:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yl4DS-0003Bu-1S for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 19:38:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47114) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yl4DR-0003Bq-UX for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 19:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yl4DR-00073K-NY for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 19:38: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: Wed, 22 Apr 2015 23:38: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.142974584227058 (code B ref 20385); Wed, 22 Apr 2015 23:38:01 +0000 Original-Received: (at 20385) by debbugs.gnu.org; 22 Apr 2015 23:37:22 +0000 Original-Received: from localhost ([127.0.0.1]:36890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yl4Cn-00072L-UX for submit@debbugs.gnu.org; Wed, 22 Apr 2015 19:37:22 -0400 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:49912) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yl4Cm-000727-T5 for 20385@debbugs.gnu.org; Wed, 22 Apr 2015 19:37:21 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4646DA6000F; Wed, 22 Apr 2015 16:37:15 -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 ndX721iI273z; Wed, 22 Apr 2015 16:37:14 -0700 (PDT) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id A25FDA6000E; Wed, 22 Apr 2015 16:37:14 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <83618p5y9w.fsf@gnu.org> 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:101896 Archived-At: Eli Zaretskii wrote: > So if we want this to become our default, we need changes in > ispell.el, to replace ’ with ' before we sent it to the speller. Although a change like that might make sense, it appears to go beyond what's needed for doc strings. I was thinking of something more modest: change Emacs so that if you're editing an Elisp or C string, then when you type `like-this' it's by default changed to ‘like-this’. This would not need to happen everywhere, but it would be the default when editing Emacs source code because we'd put the appropriate setting into .dir-locals.el. Or were you thinking about spell-checking doc strings? If so, I don't see how changing the quoting style affects how the spell-checker works. It wouldn't affect the way I spell-check code, anyway. Could you give an example?