From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Upcoming loss of usability of Emacs source files and Emacs. Date: Tue, 23 Jun 2015 17:31:02 +0300 Message-ID: <55896DA6.3070801@yandex.ru> References: <557F3C22.4060909@cs.ucla.edu> <5580D356.4050708@cs.ucla.edu> <87si9qonxb.fsf@gnu.org> <5581C29E.1030101@yandex.ru> <87r3p9fxm2.fsf@uwakimon.sk.tsukuba.ac.jp> <87k2v0fiji.fsf@uwakimon.sk.tsukuba.ac.jp> <20150619090225.GA2743@acm.fritz.box> <87fv5kfrfa.fsf@uwakimon.sk.tsukuba.ac.jp> <83twtzhi9g.fsf@gnu.org> <877fqvfvby.fsf@uwakimon.sk.tsukuba.ac.jp> <83fv5jh8ls.fsf@gnu.org> <874mlzf71d.fsf@uwakimon.sk.tsukuba.ac.jp> <558945C2.2010203@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1435069911 20657 80.91.229.3 (23 Jun 2015 14:31:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jun 2015 14:31:51 +0000 (UTC) Cc: eggert@cs.ucla.edu, rms@gnu.org, emacs-devel@gnu.org, acm@muc.de, "Stephen J. Turnbull" , Eli Zaretskii To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 23 16:31:50 2015 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 1Z7PEq-0004UV-HR for ged-emacs-devel@m.gmane.org; Tue, 23 Jun 2015 16:31:48 +0200 Original-Received: from localhost ([::1]:45638 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7PEp-0007vP-Tj for ged-emacs-devel@m.gmane.org; Tue, 23 Jun 2015 10:31:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7PEY-0007ur-11 for emacs-devel@gnu.org; Tue, 23 Jun 2015 10:31:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z7PES-0000jE-5i for emacs-devel@gnu.org; Tue, 23 Jun 2015 10:31:29 -0400 Original-Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:36508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z7PER-0000Y3-UN; Tue, 23 Jun 2015 10:31:24 -0400 Original-Received: by wguu7 with SMTP id u7so11342056wgu.3; Tue, 23 Jun 2015 07:31:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=X4tN8GY6kZ8cyhwsMTWU8dc6ra57TroaJgPHFI7SDjE=; b=LS6qZBKGex+bGkBUNq9MxWNvdRwXR4KPvqTiyxooX0DxF2zRMB/FM0zGtkBUVmrf5b suCaY3IbvRfv0V5qfFTfU7qUIwbrCu8vRoFxyQC58jGC1Hr+o4p/lNjWp9Jck2c2MPFa FyyXYFfW2Ub63N0AuICa9/BjjSGJNqLzWJ5hYraLhOjxZazySq/pIHhtPP70Ew4ABCXQ MurL9THGYrs4R/2Q5a3tHp4I6MjW3dTqhhZ2PWTsEbE7CdyMxv9LA4kL0z7DslJjViyu CrCOr+w7ldTVOJb5vJnSnMNVrJARvryQbqONsKTGE5itE3QnkpPwpLus40IJTTU2fxi4 GR1A== X-Received: by 10.180.77.115 with SMTP id r19mr4133214wiw.9.1435069864610; Tue, 23 Jun 2015 07:31:04 -0700 (PDT) Original-Received: from [192.168.0.185] (static-nbl2-118.cytanet.com.cy. [212.31.107.118]) by mx.google.com with ESMTPSA id q9sm22695300wiz.23.2015.06.23.07.31.03 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Jun 2015 07:31:04 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::235 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:187418 Archived-At: On 06/23/2015 04:34 PM, Stefan Monnier wrote: > For me the main issue in source code's use of `...' is that > it's ambiguous. Using curly quotes is one way to solve this issue (tho > it should come with some escaping mechanism to make sure that the very > rare other uses of curly quotes in source code aren't ambiguous). Indeed. We will need an unambiguous escaping mechanism either way. > We could also keep using `...' in source code with some escaping > mechanism (better and more complete than the one we currently have). Would someone please just pick one? It seems the exact choice of this mechanism is irrelevant to the choice of which quotes to use. The obvious approach is to use backslashes, but then you'll have to use four of them to escape a single quote character in a docstring. > If we render using curly quotes, for aesthetic reasons, then using curly > quotes in the source code has also the advantage of eliminating magic > (font-lock or whatnot) between the two. And then when we switch to a different rendering, we'll be stuck with the curlies anyway, for compatibility reasons. A font-lock solution is nicer because it doesn't require any changes to the public Lisp API.