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, 30 Jun 2015 23:14:36 +0300 Message-ID: <5592F8AC.8080009@yandex.ru> References: <20150615142237.GA3517@acm.fritz.box> <87y4jkhqh5.fsf@uwakimon.sk.tsukuba.ac.jp> <557F3C22.4060909@cs.ucla.edu> <5580D356.4050708@cs.ucla.edu> <87si9qonxb.fsf@gnu.org> <5581C29E.1030101@yandex.ru> <558D6A3D.1070706@yandex.ru> <558DD6EA.4090306@yandex.ru> <558F497A.8050304@yandex.ru> <55926A9E.40901@yandex.ru> <5592A3D7.9060608@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 1435695305 1169 80.91.229.3 (30 Jun 2015 20:15:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Jun 2015 20:15:05 +0000 (UTC) Cc: acm@muc.de, stephen@xemacs.org, Paul Eggert , rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 30 22:15:04 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 1ZA1vq-0000ly-0u for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2015 22:15:02 +0200 Original-Received: from localhost ([::1]:48581 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1vp-0003yr-Aj for ged-emacs-devel@m.gmane.org; Tue, 30 Jun 2015 16:15:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58828) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1vm-0003ym-2s for emacs-devel@gnu.org; Tue, 30 Jun 2015 16:14:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZA1vh-0000Ih-Ec for emacs-devel@gnu.org; Tue, 30 Jun 2015 16:14:58 -0400 Original-Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:35688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZA1vh-0000IE-7u; Tue, 30 Jun 2015 16:14:53 -0400 Original-Received: by wiga1 with SMTP id a1so107969430wig.0; Tue, 30 Jun 2015 13:14:52 -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=eUE9iOZQ+Hobgc6wkn1tTWadvMkoXQdvod1jC9YSq6s=; b=T4SyNWyGYbaYMN/+QKMrkU/kQCdMWCbcnVCCwYqp9Q76uKlrb8SYYMUuQ3xzqIshrO k6BJIixgBeoILSTvSQ7qDrRUETtLL1FlUf6U5vL4jdTDVN1U48oLD01yjxRh2jK08EhD RvHE5mUPcIa025k2QCn1Uo9YWpiWrT9T9gNjq4RnnxgYskTxs0hyWclVZXqqAb9+PZB/ 2aZ2drL0VPFoFBFMppLcbep1py+hfa2I9ro55Ze5kz/PJnCUobMJ5zMJDHxdi6p4YgkQ B6quubsDuOmYk9PmCPgRoegZ9zEKJGOtYyovJzn0e9+GgqIICsRdDcrFz0tBeO0cv/sA Y7nw== X-Received: by 10.180.9.111 with SMTP id y15mr35548833wia.18.1435695292185; Tue, 30 Jun 2015 13:14:52 -0700 (PDT) Original-Received: from [192.168.1.2] ([82.102.93.54]) by mx.google.com with ESMTPSA id s1sm12269971wik.4.2015.06.30.13.14.49 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 30 Jun 2015 13:14:51 -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:c05::233 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:187692 Archived-At: On 06/30/2015 08:41 PM, Stefan Monnier wrote: >> We can (and that's what my first proposal did), but it'll require >> changing a certain amount of existing docstrings, > > Why? [ Assuming we still accept "\=". ] Simply because must \ occur more frequently than \=. Also, depending on how "we still accept" is handled, we might have to double the backslashes in some of occurrences of \=\= (e.g. if the \ escaping is handled in Lisp later). > AFAICT they're already escaped (with \=), so that would not be worse, or > am I missing something? See above. With the my first proposed patch, at least, you'd have to change the current thus, \\=\\=\\=\\= puts \\=\\= into the output, to something like thus, \\\\=\\=\\\\=\\= puts \\\\=\\= into the output, >> Adding a yet-another quoting method is not ideal either. > > That's a downside, but \ is "the standard quoting method", so I think > overall it could be counted as removing an escaping method rather than > adding one. If both are retained, even if they're both implemented in substitute-command-keys, I think they're bound to interact in interesting and unexpected ways.