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: [Emacs-diffs] master 9ffb6ce 5/5: Quoting fixes in lisp/international and lisp/leim Date: Thu, 3 Sep 2015 18:04:42 +0300 Message-ID: <55E8618A.2000009@yandex.ru> References: <20150831061236.27796.57762@vcs.savannah.gnu.org> <55E3F434.2060507@yandex.ru> <55E496DC.1030608@cs.ucla.edu> <877foas9jh.fsf@gmail.com> <87vbbu4c5w.fsf@fencepost.gnu.org> <55E58F0B.4030006@yandex.ru> <87r3mi4a45.fsf@fencepost.gnu.org> <55E5B42F.3070806@yandex.ru> <87h9nbq032.fsf@gmail.com> <55E82D67.4000607@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 1441292717 17980 80.91.229.3 (3 Sep 2015 15:05:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 15:05:17 +0000 (UTC) Cc: Paul Eggert , Oleh Krehel , David Kastrup , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 17:05:05 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 1ZXW4V-0008R6-SG for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 17:05:04 +0200 Original-Received: from localhost ([::1]:48996 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXW4V-0004eN-7g for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 11:05:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXW4O-0004Wn-6O for emacs-devel@gnu.org; Thu, 03 Sep 2015 11:04:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXW4J-00071z-7j for emacs-devel@gnu.org; Thu, 03 Sep 2015 11:04:56 -0400 Original-Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:33436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXW4J-00071I-1A; Thu, 03 Sep 2015 11:04:51 -0400 Original-Received: by wiclk2 with SMTP id lk2so2118229wic.0; Thu, 03 Sep 2015 08:04:50 -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=MH17OtCYupTya8Yj5Y8U+Xc3qadK5mpzS2eByCVkm3A=; b=p2cuUTZCetnhejwRRDGH8lX5JM1OytsnvjIMOy5JcG+wJrjYGg+0dJtDG/wdsI6lvE 4Wwrb6Cchqz8E6FUTNh+P6ySUa2Cp7pN77DVJrdv+FSYQ7WE0ZchqcE3Z0G27Bi3Mgla IbYIzruD/cACh55UK8DaBg79ixRj8WLwoW07ChL2ODJEqj3gKcCG0p+VR/Iylhe+kgwB rprzJk+AgZF16vGLmtdHKKiTyM3lWTDFMSttYOLkWGEOih+MjSwM3xhXLK5ivcN+ufGV r6saYvJgIT77oHDWvELFoifen7fHuT2jIEvaMH7iqeUusnUPWvByL/GwB/cWkSN1Rqhl 9Egg== X-Received: by 10.194.57.229 with SMTP id l5mr16192640wjq.139.1441292690092; Thu, 03 Sep 2015 08:04:50 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id o10sm9445862wia.4.2015.09.03.08.04.48 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 03 Sep 2015 08:04:49 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.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::234 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:189509 Archived-At: On 09/03/2015 05:50 PM, Stefan Monnier wrote: > That's why he's recommending a command. You'd first yank and then (if > you needed) run the quote command, which quotes what you just yanked. > That's would be kind of like a "postfix argument". Ok. > It's been supported for ages, yes, but until recently it was *very* > rarely needed. IOW the need to write > > (add-hook \\='find-file-hook \\='auto-insert) > > is brand new in Emacs-25, and it sucks. Note that you also wouldn't need it here if quote-matching code uses sorward-sexp. > BTW, re-using existing quoting syntaxes from other systems (e.g. > markdown/org) is a good idea, when applicable. E.g. it would be > desirable to be able to take a docstring and easily convert it to > a valid org/markdown document. True. > > Either way, it would be weird to quote symbol references with ` ', but use >> `` `` for code expressions. > > I don't see why. For consistency, I'd say. Otherwise we probably risk more typos. Admittedly, I'm just guessing, but `` '' also looks a bit nicer to me.