From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] emacs-25 26b56dc: Fix some single quotes in documentation Date: Mon, 14 Mar 2016 13:19:42 -0400 Message-ID: <56E6F2AE.8020601@gmail.com> References: <20160314154123.2684.74715@vcs.savannah.gnu.org> <56E6E764.9090500@cs.ucla.edu> <89ba6063-e962-7590-39be-c4fb28f394ea@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UwpN4HwqpfprXPtVFLLVCT4j9lgMBfXBN" X-Trace: ger.gmane.org 1457976010 20245 80.91.229.3 (14 Mar 2016 17:20:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2016 17:20:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 18:19:54 2016 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 1afW9q-0002FF-HM for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2016 18:19:54 +0100 Original-Received: from localhost ([::1]:42661 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afW9p-0001Ax-Rt for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2016 13:19:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47865) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afW9m-0001Ar-KQ for emacs-devel@gnu.org; Mon, 14 Mar 2016 13:19:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afW9i-0003I0-Ik for emacs-devel@gnu.org; Mon, 14 Mar 2016 13:19:50 -0400 Original-Received: from mout.kundenserver.de ([212.227.17.24]:64632) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afW9i-0003Hl-9N for emacs-devel@gnu.org; Mon, 14 Mar 2016 13:19:46 -0400 Original-Received: from [18.26.2.123] ([18.26.2.123]) by mrelayeu.kundenserver.de (mreue101) with ESMTPSA (Nemesis) id 0LqD7g-1aAZ3B0eGG-00dkTs for ; Mon, 14 Mar 2016 18:19:45 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 In-Reply-To: <89ba6063-e962-7590-39be-c4fb28f394ea@yandex.ru> X-Provags-ID: V03:K0:4tRJav0aiWeFWChlxkhfxQBGXd1rCC+DqP4D8f21dU7n0vmOsbB b6FyA4pIn01joQdb68+8mmIVL297Br9RmcvC/IQ7Tp4OyZAlbpDba2wcXpmVpEARmITzM+Q KUptFlLyPT8Qd+4DQSe2JaTs4fgXiG0+00SYYJC7foyQt4k2+rAeBqi/ux89lVqlLbHampf nq9pnEcv8hpXBaH/kiOiQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:wELE0F7mu1g=:QCvaKj+swfDvABPF5h3jqr drk/DB2AqJGCi3xvjfMw2YfzodEMuN9fdBpsKV6qLdmxWDCUErT+6R/z4/8p7odiA/x1eXzNz Z+vLrSjNdiP+PpS8+gD9eO1dBRj0flMQ0JEV6M5kCd5ScJTaAqUWKaBp3CVUyG2AKoIgUGUgh XLwLvn2kr7/nDICrHfINIdU802HGPZRr/MEuTYMiK08Zqs+iggkF90S6T6lekEL0gdRP6ckeR xISM8/3Lp6tU6uIK8mPnk6kBB+h0MeOGgbv3Jy3HSLLwq+NgpEvMXTn0IiKeQrnZgGsgzVLGS g/l3o+dk6Q70SOgnYEC8JbAfPlT236DYQnzs5y/Jcmbl12L6bxJ44rp6S8RAGsZ8QV1sbfwGY mZ3GPTjMCHAO8qyEaCiIou/2x/bU8t6OSSa9GnX+JE/LeCRqHRE6eNVcwGSPuFTr+FLEAd5gc m3AXMDexn+wNjH7c2Di7bH9/UDF9tZRMGQ+lS6CGhFjbaypE56PgFnozNNZRCTaABKcSmwZuz s4BeGc0TeEZ6l/+fANyUb3TKwcq9o0MRcwZxCiLvHR/HaoGK6F32GcBiCEOuaLNSPZ5NBariA 6tN8JAz/Qo8gSykyyevG2a6m1udDNP8z5l/WZVTBh9v7VM1IaS0NHsb6Odf78VeQeVYEbK8AF R4JEbzJinJAEIc6nqFyf6UFqIuFVYTXN/ZnPWjLERUqUIZxeg5dX9VYqtNKINHT79DQc= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.17.24 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:201718 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --UwpN4HwqpfprXPtVFLLVCT4j9lgMBfXBN Content-Type: multipart/mixed; boundary="PMhVsViC9OJg4A20pGjGPOSVfwgvvITq9" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: emacs-devel@gnu.org Message-ID: <56E6F2AE.8020601@gmail.com> Subject: Re: [Emacs-diffs] emacs-25 26b56dc: Fix some single quotes in documentation References: <20160314154123.2684.74715@vcs.savannah.gnu.org> <56E6E764.9090500@cs.ucla.edu> <89ba6063-e962-7590-39be-c4fb28f394ea@yandex.ru> In-Reply-To: <89ba6063-e962-7590-39be-c4fb28f394ea@yandex.ru> --PMhVsViC9OJg4A20pGjGPOSVfwgvvITq9 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 03/14/2016 12:42 PM, Dmitry Gutov wrote: > On 03/14/2016 06:39 PM, John Wiegley wrote: >>>>>>> Paul Eggert writes: >> >>> Yes, and it's easy enough to do that, so I installed that further cha= nge. >> >> Thanks! >=20 > Will everyone have to put curly quotes into NEWS now? Or will Paul go a= nd follow up on every change? Hey Dmitry, This is a bit of a tangent, but I find the following function rather conv= enient for this: (defun quote-region (beg end) "Insert quotes aroung BEG..END." (interactive (if (region-active-p) (list (region-beginning) (region-end)) (list (point) nil))) (let ((quotes (pcase (read-char "Quote type?") (?\` `(?` . ?')) (?\' `(?=91 . ?=92)) (?\" `(?=93 . ?=94)) (?\[ `(?[ . ?])) (?\{ `(?{ . ?})) (c `(,c . ,c))))) (save-excursion (goto-char (or end beg)) (insert (cdr quotes))) (save-excursion (goto-char beg) (insert (car quotes))) (if end (goto-char (+ 2 end)) (goto-char (+ 1 beg))))) With (global-set-key (kbd "M-\"") 'quote-region), this allows me to press= =91M-" '=92 to insert a pair of =91=92, =91M-" "=92 for a pair of =93=94= , and =91M-" `=92 for a pair of `'. Cheers, Cl=E9ment. --PMhVsViC9OJg4A20pGjGPOSVfwgvvITq9-- --UwpN4HwqpfprXPtVFLLVCT4j9lgMBfXBN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJW5vKuAAoJEPqg+cTm90wjLHsP/2JUqL6dF2wD7AoBWUKjIAH8 iSsBkqzIzdA6RGFPL7tH3T76QWVZXNpGN3PiFYDptBLIm1VEubXhEDxcUVWQM7Gp GOFFAXtfL62nPcM9OFSfJL9oqHPQsYP5yzjDf2HgvAMrMAEFVPUZaK1hOUmkv/Jk bNnWK1YnWeKSpynW5N3y+Mo9W1VX/jRF9Quzupoo9Mv9vabakc+l5w8So+dRxDnu uG6FxZ4j+t6b+iGk3hjkKgY5PqLBYJZiskpVmC/+x60PCk03460tQ2Ugekg2eCre /1NrLWlEErisL5HvOPAVqK7NTTiefMGYhJ9XiUyuRtrK9zCmP3r6Y350yWvnOE5x eQ71uIvAKD4kIX9qGNX0F4HtB6a8oog0eRNLMbi7m3mFiw2EWANbwg8O1zlLOupp cM/0uf+F9fZtIalcM5PXUL/o4cADq/BJnsPkqPNC8+HmTIj7jcuyGtnAx6z5HgnE qWC3YD6ZcpsX4wQrWbFlH6jMfIOyvyeodFCl0DJfw5LPdQ3CI2AdoJMTM3Dvt3Ia sRf9Lx552mEqzMfPKURtROkOZIV8/aHA6aGu794xOntD4Bc6reWXDkkvzt55sT2k IrPrY0kUllVLSV9m3qxYNnseZUetqWjmksLlPTQ86H4BKPhiSIwfa6QDb30ao8+8 wnwLciDvqEqRvWE1konP =xqrL -----END PGP SIGNATURE----- --UwpN4HwqpfprXPtVFLLVCT4j9lgMBfXBN--