From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#20385: [PROPOSED PATCH] Support quoting 'like this' in doc strings Date: Mon, 20 Apr 2015 18:30:46 -0700 (PDT) Message-ID: <77abfc96-99e2-4abf-b876-8bdd7ab58746@default> References: <1429555155-4695-1-git-send-email-eggert@cs.ucla.edu> <5535974D.9050207@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1429579948 7353 80.91.229.3 (21 Apr 2015 01:32:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Apr 2015 01:32:28 +0000 (UTC) Cc: 20385@debbugs.gnu.org To: Stefan Monnier , Paul Eggert Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 21 03:32:15 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 1YkN2s-0004py-R4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Apr 2015 03:32:15 +0200 Original-Received: from localhost ([::1]:55870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkN2r-0006r0-Ls for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Apr 2015 21:32:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53888) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkN2m-0006nL-RD for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 21:32:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkN2h-000344-R8 for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 21:32:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkN2h-000340-N6 for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 21:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YkN2h-0001uq-CQ for bug-gnu-emacs@gnu.org; Mon, 20 Apr 2015 21:32:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Apr 2015 01:32:03 +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.14295798736208 (code B ref 20385); Tue, 21 Apr 2015 01:32:03 +0000 Original-Received: (at 20385) by debbugs.gnu.org; 21 Apr 2015 01:31:13 +0000 Original-Received: from localhost ([127.0.0.1]:34069 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkN1q-0001bk-BB for submit@debbugs.gnu.org; Mon, 20 Apr 2015 21:31:11 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:38391) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkN1c-0001WJ-SM for 20385@debbugs.gnu.org; Mon, 20 Apr 2015 21:30:58 -0400 Original-Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t3L1UlFG012052 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Apr 2015 01:30:47 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0021.oracle.com (8.13.8/8.13.8) with ESMTP id t3L1Uldg012762 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 21 Apr 2015 01:30:47 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t3L1UljQ017473; Tue, 21 Apr 2015 01:30:47 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0021.oracle.com [156.151.31.71] 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:101803 Archived-At: > > Indent each line via =E2=80=98indent-according-to-mode=E2=80=99. >=20 > Yes, I like the way it looks and the way it's even less ambiguous than > `...'. So I think it's the *right* solution. But I've resisted going > this way so far because of the difficulty to type those things. IOW, > I think we need some clever way to type them in with very little effort. Typing them is one problem, for sure. Then there is the problem of using them in Lisp (and other programming language) code. Will Emacs Lisp start using =E2=80=98 the same way it uses `, and =E2=80=99= the same way it uses '? If not, then some of the ` marks in the manual will change to =E2=80=98 and some not, etc. It's doable, but you would do well to imagine the repercussions for users before going down that road. And that's only once you've solved the "clever way to type them" question. I'd suggest not worrying about this problem now - it will be there when you're done fixing other things. ;-) Things like making it possible in Isearch to handle certain groups of chars (=E2=80=98 and `, for instance) as equivalence classes. That is a harder nut to crack, but also one that is genuinely worthwhile cracking. (And no, that is not related to `...' -> =E2=80=98...=E2=80=99. Just menti= oning it as something more important to fix, with a bigger payoff.)