From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings Date: Tue, 21 Apr 2015 17:52:43 +0300 Message-ID: <83618p5y9w.fsf@gnu.org> References: <1429555155-4695-1-git-send-email-eggert@cs.ucla.edu> <5535974D.9050207@cs.ucla.edu> <5535C7F3.7020107@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1429628000 12358 80.91.229.3 (21 Apr 2015 14:53:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2015 14:53:20 +0000 (UTC) Cc: 20385@debbugs.gnu.org To: Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 16:53: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 1YkZXy-0000Sa-8l for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 16:53:10 +0200 Original-Received: from localhost ([::1]:58926 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkZXx-0004ew-OC for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 10:53:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkZXt-0004ek-DU for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 10:53:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkZXq-00025H-5i for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 10:53:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkZXq-00025C-38 for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 10:53:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YkZXp-0008AJ-LF for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 10:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Apr 2015 14:53: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.142962797531375 (code B ref 20385); Tue, 21 Apr 2015 14:53:01 +0000 Original-Received: (at 20385) by debbugs.gnu.org; 21 Apr 2015 14:52:55 +0000 Original-Received: from localhost ([127.0.0.1]:35405 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkZXi-00089y-WA for submit@debbugs.gnu.org; Tue, 21 Apr 2015 10:52:55 -0400 Original-Received: from mtaout26.012.net.il ([80.179.55.182]:38148) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkZXh-00089l-4H for 20385@debbugs.gnu.org; Tue, 21 Apr 2015 10:52:53 -0400 Original-Received: from conversion-daemon.mtaout26.012.net.il by mtaout26.012.net.il (HyperSendmail v2007.08) id <0NN500700W084A00@mtaout26.012.net.il> for 20385@debbugs.gnu.org; Tue, 21 Apr 2015 17:54:20 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout26.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN500NA0W2K4Z90@mtaout26.012.net.il>; Tue, 21 Apr 2015 17:54:20 +0300 (IDT) In-reply-to: <5535C7F3.7020107@cs.ucla.edu> X-012-Sender: halo1@inter.net.il 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:101821 Archived-At: > Date: Mon, 20 Apr 2015 20:45:55 -0700 > From: Paul Eggert > Cc: 20385@debbugs.gnu.org > > Stefan Monnier wrote: > > we need some clever way to type them in with very little effort. > > Something like smart-quotes-mode, say? > > https://github.com/gareth-rees/smart-quotes The solution that mode suggests for spell-checking will not work well with modern spellers (aspell and hunspell), because they don't have the curly apostrophe/quote character in their *.aff files' rules, like they do with the ASCII apostrophe. 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. Or maybe recommend users to install *.aff files that already support ’, assuming such dictionaries exist.