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 14:22:15 +0300 Message-ID: <55E82D67.4000607@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> 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 1441279418 17959 80.91.229.3 (3 Sep 2015 11:23:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 11:23:38 +0000 (UTC) Cc: Paul Eggert , David Kastrup , Stefan Monnier , emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 13:23:28 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 1ZXSc3-00045h-Sr for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 13:23:28 +0200 Original-Received: from localhost ([::1]:47050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXSc3-00010R-Ds for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 07:23:27 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXSbo-0000zI-IQ for emacs-devel@gnu.org; Thu, 03 Sep 2015 07:23:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXSbl-0002LC-Bi for emacs-devel@gnu.org; Thu, 03 Sep 2015 07:23:12 -0400 Original-Received: from mail-lb0-f176.google.com ([209.85.217.176]:34408) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXSbl-0002Kj-5Q; Thu, 03 Sep 2015 07:23:09 -0400 Original-Received: by lbbmp1 with SMTP id mp1so22370509lbb.1; Thu, 03 Sep 2015 04:22:23 -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=S5/9VRjv1KKRv26lDcHjUnJAK/fXCpFj+cITSfKCAo0=; b=0Bif/26Qbhc+FeLAhqX71zmkoRwq34nTzUh3ZuzxOmb5NLGjugyRwLgP2CZABctJwX Egjd01UZ7hfR9FyYqys5ZjtVHyb+E7GLmagNqAFM9at4TumXwJ+yilxmsWLJe2d+Z5o+ 6y0gLji/RL4lF+ereLkdwg/V6G6TRnQdTRWt+AyJ/7+obNLkm4xvoqWZpRxG6/FrWXiO E1lBsaI8UKRzansvQRY0qyGI2LmWec23/ExVb5nN2ZfWCr/JXy4/5x8glaXy6hihbklo da1Pb2ArNII0a2p0wLeOCArIVr8uCslO56cYfRNrkskvkfV4xxhHvFV6wdQSqRvM4+8J KPJg== X-Received: by 10.152.179.107 with SMTP id df11mr20500782lac.95.1441279343070; Thu, 03 Sep 2015 04:22:23 -0700 (PDT) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id xl7sm6312885lbb.42.2015.09.03.04.22.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 Sep 2015 04:22:22 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: <87h9nbq032.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.217.176 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:189499 Archived-At: On 09/03/2015 01:16 PM, Oleh Krehel wrote: >> Like you said, any escaping syntax spells death for cut&paste. > > Cut and paste can still work: just add a `quote-last-yank' command and/or > `quote-region' command. But it's not always that you'll want to quote the pasted string, is it? > An issue that I have with \\= escaping syntax is that it's ugly. It looks a bit odd, but we're unlikely to get rid of it, since it's been supported for ages. > This variable is used when the function `auto-insert' is called, e.g. > when you do ``(add-hook 'find-file-hook 'auto-insert)''. Looks fine to me. > Note how ``(add-hook 'find-file-hook 'auto-insert)'' looks good enough > even in plain text form, with no extra highlighting. Much better than > (add-hook \\='find-file-hook \\='auto-insert). I think both options looks readable enough, but let's have two syntaxes if people find it that easier. > For code blocks, we could use an empty line followed by 4 spaces indent. Yup. Although we might catch some false positives that way. > I think there's value in having asymmetric delimiters, since that eases > the job of font-lock by a lot. Either way, it would be weird to quote symbol references with ` ', but use `` `` for code expressions.