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 21:42:30 +0300 Message-ID: <83sibt492h.fsf@gnu.org> References: <1429555155-4695-1-git-send-email-eggert@cs.ucla.edu> <5535974D.9050207@cs.ucla.edu> <87vbgppbw6.fsf@violet.siamics.net> 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 1429641801 27895 80.91.229.3 (21 Apr 2015 18:43:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2015 18:43:21 +0000 (UTC) Cc: 20385@debbugs.gnu.org To: Ivan Shmakov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 20:43: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 1Ykd8Y-0004Dy-9h for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 20:43:10 +0200 Original-Received: from localhost ([::1]:59942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykd8X-0006nk-JW for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 14:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykd8V-0006nd-Dg for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 14:43:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ykd8Q-0003Lz-El for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 14:43:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45706) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykd8Q-0003Lp-C4 for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 14:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ykd8Q-0000P4-1e for bug-gnu-emacs@gnu.org; Tue, 21 Apr 2015 14:43:02 -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 18: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.14296417631505 (code B ref 20385); Tue, 21 Apr 2015 18:43:01 +0000 Original-Received: (at 20385) by debbugs.gnu.org; 21 Apr 2015 18:42:43 +0000 Original-Received: from localhost ([127.0.0.1]:35482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ykd87-0000OB-EI for submit@debbugs.gnu.org; Tue, 21 Apr 2015 14:42:43 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:40467) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ykd84-0000Nn-P2 for 20385@debbugs.gnu.org; Tue, 21 Apr 2015 14:42:41 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NN600O0062BKL00@mtaout27.012.net.il> for 20385@debbugs.gnu.org; Tue, 21 Apr 2015 21:37:36 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN600MOD6EN3H30@mtaout27.012.net.il>; Tue, 21 Apr 2015 21:37:36 +0300 (IDT) In-reply-to: <87vbgppbw6.fsf@violet.siamics.net> 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:101833 Archived-At: > From: Ivan Shmakov > Date: Tue, 21 Apr 2015 18:35:53 +0000 > > Apart from the already suggested smart-quotes-mode, there’s this > bit I personally use. (See also bug#16082.) > > (eval-after-load 'iso-transl > '(iso-transl-define-keys > '(("\"[" . [?“]) ("\"]" . [?”]) > ("'[" . [?‘]) ("']" . [?’])))) > > key binding > ――― ――――――― > A-' [ ‘ > A-' ] ’ > A-" [ “ > A-" ] ” > C-x 8 ' [ ‘ > C-x 8 ' ] ’ > C-x 8 " [ “ > C-x 8 " ] ” Why not do what texinfo.el does to insert ``..'' when you press " ? Isn't that simpler and easier on the user?