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 13:45:55 +0300 Message-ID: <55D9A463.1070203@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> <55D900EF.7090000@yandex.ru> <55D909AA.90401@cs.ucla.edu> <55D98036.9070206@yandex.ru> <55D9970B.1010906@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 1440328976 18492 80.91.229.3 (23 Aug 2015 11:22:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Aug 2015 11:22:56 +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 13:22:55 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 1ZTTMV-0001eX-0p for ged-emacs-devel@m.gmane.org; Sun, 23 Aug 2015 13:22:55 +0200 Original-Received: from localhost ([::1]:35722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTTMU-0003kb-0c for ged-emacs-devel@m.gmane.org; Sun, 23 Aug 2015 07:22:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34684) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTSmu-0006cu-R7 for emacs-devel@gnu.org; Sun, 23 Aug 2015 06:46:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTSmq-0001Un-Qd for emacs-devel@gnu.org; Sun, 23 Aug 2015 06:46:08 -0400 Original-Received: from mail-la0-x235.google.com ([2a00:1450:4010:c03::235]:36359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTSmq-0001UB-IS for emacs-devel@gnu.org; Sun, 23 Aug 2015 06:46:04 -0400 Original-Received: by labjy4 with SMTP id jy4so12810998lab.3 for ; Sun, 23 Aug 2015 03:46:03 -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=KirWyxW+KNzOiROTlterE8qh+IdpnyWLy1RIQyOLpY4=; b=AqhHPdtP6UTC0esw6EkOd3LrCk+fWABXebXNXxkxoTQyHsnLWiBNKkAxOqYijngBbv BZHUkRBcrv+vJldlH6E0OimYqTtYTIeAuvOg1xJK/7whZSlYUXUsjPV1thsTsbvsPFqx bqSMKtNxXf25Bta+D/k0yj64+nYveD8TWvDlQ9Ob19rqLMdJ7jEfbe/t4tsZY3lLyLpG 1CuRULahqIem59SQiO0QpnE03Xka9nS1M6JckGq3mbr/lTjGxChzVJ3PtAtMjet9uv3c g3baV1f8PKZFnjsw6tyF72DptmMc1uCTRUjjPxbetGt9QqAvH0R0wmetwvAGNnQrKCsi /3hQ== X-Received: by 10.152.179.170 with SMTP id dh10mr15341594lac.22.1440326763773; Sun, 23 Aug 2015 03:46:03 -0700 (PDT) Original-Received: from [192.168.1.190] ([178.252.127.222]) by smtp.googlemail.com with ESMTPSA id w9sm4086440laj.21.2015.08.23.03.46.02 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 23 Aug 2015 03:46:02 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Thunderbird/40.0 In-Reply-To: <55D9970B.1010906@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::235 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:189083 Archived-At: On 08/23/2015 12:48 PM, Paul Eggert wrote: > Ah, it sounds like you're worried about misuses like (format filename), > where FILENAME might contain arbitrary characters including curved > quotes. However, code like that has always been buggy, as FILENAME may > include %% (or % followed by something else, of course) and the > %-sequences would be misinterpreted too. They can, but they usually don't. Or the caller could be wise and escape '%'. On the other hand, I thought we wanted to encourage more usage of unicode everywhere, probably even including filenames. I can imagine a filename with ‘’ in it without trying too hard: think of an MP3 file the name of which reflects the song's title. And take a classical piece, with a complex title. They have quotes on occasion. It's not limited to filenames, those are just the first thing that came to mind.