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: Sun, 23 Aug 2015 02:08:31 +0300 Message-ID: <55D900EF.7090000@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> <55D223CA.4080109@yandex.ru> <55D22A1F.8040508@cs.ucla.edu> <55D22CF4.9030608@yandex.ru> <55D2747D.10809@cs.ucla.edu> <55D317A9.6000805@yandex.ru> <55D42210.9070703@cs.ucla.edu> <55D48503.3020406@yandex.ru> <55D50159.2030104@cs.ucla.edu> <55D62B31.3010100@cs.ucla.edu> <55D8A3E9.3070704@yandex.ru> <55D8C3E8.2010707@cs.ucla.edu> <55D8E4F3.6060406@yandex.ru> <55D8FB22.4080503@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 1440284932 20885 80.91.229.3 (22 Aug 2015 23:08:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Aug 2015 23:08:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 23 01:08:48 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 1ZTHu3-0001sb-K4 for ged-emacs-devel@m.gmane.org; Sun, 23 Aug 2015 01:08:47 +0200 Original-Received: from localhost ([::1]:48594 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTHu2-00085f-2M for ged-emacs-devel@m.gmane.org; Sat, 22 Aug 2015 19:08:46 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTHty-00085K-Q0 for emacs-devel@gnu.org; Sat, 22 Aug 2015 19:08:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTHtv-0003sq-K3 for emacs-devel@gnu.org; Sat, 22 Aug 2015 19:08:42 -0400 Original-Received: from mail-lb0-x22d.google.com ([2a00:1450:4010:c04::22d]:33235) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTHtv-0003si-BN for emacs-devel@gnu.org; Sat, 22 Aug 2015 19:08:39 -0400 Original-Received: by lbbsx3 with SMTP id sx3so61603395lbb.0 for ; Sat, 22 Aug 2015 16:08:38 -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=7bYHktUfELJbhzK228vPJG45iiAvb5BrdzxjXAVxlm0=; b=IXhEVXjnmWuqEIyR13x5+x0NzzfT3kee5IypyN102qIKHnJXxdfLuC05kAON/UoytY gw9MnoQwOZjF+11RrVyIeZ27H0QBGAaxWLOKFF3c/dOVZVruZvqjZy08k0huTNWQI6V6 xnbF2Oh1+OFp5as3NeE+LuT25CqOvArxM+GF0GxhyymaHjHWT9nqnGKxZDOYRtgRdWxE n00ZVg25C9yoTSdfcR2Y27T/Q4e9Iz2RwGF/50fd5brq/jkSfp62NCyxS6ma8mAbJ0MS fvSOgWgjHhNWd7QulfFwaiqwW6egOP4unOmjwoKnIPGkHhE0/HAd2MbRjyFVDkfZd+Pm iyQA== X-Received: by 10.112.139.133 with SMTP id qy5mr13765976lbb.60.1440284918568; Sat, 22 Aug 2015 16:08:38 -0700 (PDT) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id cm12sm3660414lbd.2.2015.08.22.16.08.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 22 Aug 2015 16:08:37 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: <55D8FB22.4080503@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22d 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:189073 Archived-At: On 08/23/2015 01:43 AM, Paul Eggert wrote: > For example: > > (format "Moving file ‘%s’ to ‘%s’" src dest) > (message "Moving file ‘%s’ to ‘%s’" src dest) > (error "Cannot move file ‘%s’ to ‘%s’" src dest) > > All three uses generate ambiguous output if SRC and DEST can contain > arbitrary characters, and this is true even if we fiddle with the format > strings’ quoting styles. The difference is that ambiguity in the latter two uses can't really cause a program to lose correctness (unless someone is catching and parsing the error's message). An ambiguity in `format' can cause an unexpected error due to a program, say, being unable to open a file.