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 9ce1d38: Use curved quotes in core elisp diagnostics Date: Mon, 17 Aug 2015 21:11:22 +0300 Message-ID: <55D223CA.4080109@yandex.ru> References: <20150816160149.9416.80132@vcs.savannah.gnu.org> <55D1043C.3030909@yandex.ru> <55D15899.2070105@cs.ucla.edu> <55D1C9CE.2060407@yandex.ru> <55D20EDF.5070906@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1439900906 9116 80.91.229.3 (18 Aug 2015 12:28:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2015 12:28:26 +0000 (UTC) To: Paul Eggert , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 18 14:28:26 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 1ZRg07-0006uB-V7 for ged-emacs-devel@m.gmane.org; Tue, 18 Aug 2015 14:28:24 +0200 Original-Received: from localhost ([::1]:55944 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZROt7-0000Y1-Nk for ged-emacs-devel@m.gmane.org; Mon, 17 Aug 2015 14:12:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58253) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZROsb-0000Rf-3C for emacs-devel@gnu.org; Mon, 17 Aug 2015 14:11:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZROsX-0007n0-5l for emacs-devel@gnu.org; Mon, 17 Aug 2015 14:11:29 -0400 Original-Received: from mail-wi0-x22a.google.com ([2a00:1450:400c:c05::22a]:38815) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZROsW-0007mS-Tl for emacs-devel@gnu.org; Mon, 17 Aug 2015 14:11:25 -0400 Original-Received: by wicja10 with SMTP id ja10so87859975wic.1 for ; Mon, 17 Aug 2015 11:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=xwvTCZKW9KnjRt0rAz5QwH/Sn8qbxM+H1aBdc8vj1Mg=; b=XPs3MKDYXG3ftp26tfTcmdlxYKxKDKluRkniimkq63bA+8cE768hUpGLnyPwcaae+R HS5SIjpHH/jk3RF5GqAueYe5x6rHbpcm51tzO2AHNkN+ezNARgl/yNlW2jbR+Lkq8C+/ 65FDQc6zvF0erEecCnWt5ZeCFtYDCBYKEe6lPsnSXjzajQvwim4H/KbHrJcJUQfiwuP/ ApeHYfoTQak/jettszpDZ1S8sB+1KhPRPgBxJ8+xvyv51IWG2xSQXiK1LYMcFoqa+6+F 0LShrYdisjSvqELamQBOX1pCHhGBETbT5wwxshdcB+/D2lx0IpUrp9iwnCwvuhRtYJRr 9EsQ== X-Received: by 10.194.240.6 with SMTP id vw6mr5245307wjc.1.1439835084287; Mon, 17 Aug 2015 11:11:24 -0700 (PDT) Original-Received: from [10.9.0.103] (nat.webazilla.com. [78.140.128.228]) by smtp.googlemail.com with ESMTPSA id pn6sm22882376wjb.36.2015.08.17.11.11.22 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 17 Aug 2015 11:11:23 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: <55D20EDF.5070906@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::22a 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:188874 Archived-At: On 08/17/2015 07:42 PM, Paul Eggert wrote: > You mean, instead of this: > > (message "Buffer ā€˜%sā€™ is read only." buf) > > we do this: > > (message (concat "Buffer "uLSQM"%s"uRSQM" is read only.") buf) Alternatively, `format' could grow format sequences that output quotes. The main options are: %lq and %rq, or %qs (like GCC uses). In the latter case, it would be used like this: (message "Buffer %qs is read only." buf) or (format "See also %qs." 'car-safe) Looks rather clean to me, but requires explicit intent on the part of the caller. Which seems like another benefit to me. > By the way I considered many other possibilities, and you're welcome to > bring up other alternatives you're interested in. Maybe we can come up > with something better. The point of this change is to fix a real > problem, after all, not to stir up trouble. Honestly, the problem seems a lot less real to me than it does to you (like 1 out of 5). Failing to address it in a satisfactory manner, means, to me, that the work should be reverted, not blaze ahead. But, of course, the sunk costs are considerable now, and one would resist backpedaling just because of that. > No, just the grave accents in strings and comments, and any matching > apostrophes; this is a considerably lighter touch than what the above > remark implies. This might seem like a fine distinction to you (and it does indicate smaller odds of typing something wrong in the actual source code), but that's exactly what I meant. The discussion started with a certain fraction of developers disliking the idea of using curly quotes as markup, and that's where electric-quotes-mode leads.