From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Newsgroups: gmane.emacs.devel Subject: Re: Contributors and maintainers Date: Wed, 21 Oct 2015 21:58:31 +0200 Message-ID: <871tcot2mw.fsf@T420.taylan> References: <87si59wj42.fsf@T420.taylan> <56250803.5080601@cs.ucla.edu> <87a8ren5ys.fsf@T420.taylan> <56259BB1.3070908@cs.ucla.edu> <878u6ykmvt.fsf@T420.taylan> <87h9llvo98.fsf@members.fsf.org> <5626622A.3090707@yandex.ru> <87zizdijbp.fsf@T420.taylan> <56267302.7050606@yandex.ru> <87io61igyu.fsf@T420.taylan> <56267CDF.6010201@yandex.ru> <87wpuhh15s.fsf@T420.taylan> <562683B9.1060305@yandex.ru> <83y4exe71v.fsf@gnu.org> <87zizcfzna.fsf@T420.taylan> <83r3koe2nj.fsf@gnu.org> <874mhkffvr.fsf@T420.taylan> <83y4ewur5b.fsf@gnu.org> <87r3kodtml.fsf@T420.taylan> <83k2qgunk0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1445457523 17570 80.91.229.3 (21 Oct 2015 19:58:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Oct 2015 19:58:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 21 21:58:43 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 1ZozWz-0004BY-D5 for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 21:58:41 +0200 Original-Received: from localhost ([::1]:53749 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZozWy-0002QQ-Iq for ged-emacs-devel@m.gmane.org; Wed, 21 Oct 2015 15:58:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56532) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZozWu-0002QF-Gx for emacs-devel@gnu.org; Wed, 21 Oct 2015 15:58:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZozWt-0003OI-2T for emacs-devel@gnu.org; Wed, 21 Oct 2015 15:58:36 -0400 Original-Received: from mail-wi0-x235.google.com ([2a00:1450:400c:c05::235]:36756) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZozWs-0003OE-Pc; Wed, 21 Oct 2015 15:58:35 -0400 Original-Received: by wicfx6 with SMTP id fx6so107022293wic.1; Wed, 21 Oct 2015 12:58:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=vlTn+fqNNIuo7++Cf9+126kXVkXd0aNTp5kQReKo1Ew=; b=sAFi2a5qYsrYd6QVMDpnPYYaTqta/EMD4sxyXV4f5HunU8W3UBnE+oqG0BJkJ/FevB 3UN919SKn6Vbl63B3uRIspx4lHivGA1tnkfh7OThWCgTFgzij+h0Bzbry+Br714dgHn2 vaEy0ht+BBbS5v1jQ7d9ZW+KoSP2NLy26Tzh6LP1xolrhFPHoQb3tUx/SAbbPdMFD/ya GMVOYPEe51i5E18OX3A+zqzR1kN2r9Mkx84tsq6QGJlzRfIFVPqN55KndjgqLgUS8fnm QFDOws/DtLYozTNxLAGDpwC/bNL7YPbxCH8hesWSFyGtaTciAGxcvv8o1TMYMgZj0N+V CT0Q== X-Received: by 10.180.39.162 with SMTP id q2mr22963130wik.12.1445457514056; Wed, 21 Oct 2015 12:58:34 -0700 (PDT) Original-Received: from T420.taylan ([2a02:908:c32:4740:221:ccff:fe66:68f0]) by smtp.gmail.com with ESMTPSA id fr10sm25073572wib.14.2015.10.21.12.58.32 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Oct 2015 12:58:32 -0700 (PDT) In-Reply-To: <83k2qgunk0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 21 Oct 2015 20:41:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c05::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:192327 Archived-At: Eli Zaretskii writes: >> From: taylanbayirli@gmail.com (Taylan Ulrich Bay=C4=B1rl=C4=B1/Kammer) >> Cc: emacs-devel@gnu.org >> Date: Wed, 21 Oct 2015 19:22:10 +0200 >>=20 >> >> Can you please show a previous quote by you which serves to show that >> >> you understood the reason I did not want to use shell-quote-argument, >> >> and where you directly addressed that exact reason (either with a cha= nge >> >> to shell-quote-argument, *or* an explanation of why you disagree with >> >> that exact reason)? >> > >> > Everything I wrote serves to show that. I always responded to your >> > arguments. >> > >> >> When you show such a quote, then maybe we can look at it and see how = it >> >> could be that you feel my concern has been addressed, yet I don't. >> > >> > Not only I feel that your concerns has been addressed, everyone else >> > here does. >>=20 >> It would be great if you could provide a quote like I mentioned. > > OK. Here are some: Thanks. :-) > Quote #1: > > > > On POSIX shells, shell-quote-argument is just as safe as > > > shqq--quote-string, and on non-POSIX shells it works better. So it'= s a > > > win, in both readability and in portability, to use > > > shell-quote-argument. > >=20 > > Fixing it does not seem easy at all given I can't trust > > shell-quote-argument. > > You can trust it. > > > And please be realistic in the amount of trust we can put on the > > complicated implementations for non-Unix shells. I can't judge them > > myself since I don't know the syntax of those shells at all. Does > > anyone here know their syntax comprehensively, or checked the > > implementation against the documentation of those shells? > > Yes, we do. Yes, we have. This coincided with Random832's demonstration of it being broken for csh, and mentioning that the semantics are questionable on Windows if I got it right, as well as a mention of a past bug about newline handling for POSIX shells. So I'm afraid you were short of lying to me. And please don't get me wrong but the annoyed and dismissive tone really made it obvious that not much thought was put into the response in first place, so the factual inaccuracy was not exactly a surprise. > Quote #2: > > > > It might be simpler, but it's wrong, because the result is only > > > correct for Posix shells. > > > > > > Please do use shell-quote-argument instead. > >=20 > > It's also simpler than the POSIX section of shell-quote-argument. > > Simpler doesn't mean correct. > > > (defun shell-quote-argument (argument) > > [...] (cond [...] (t > > (if (equal argument "") > > "''" > > ;; Quote everything except POSIX filename characters. > > ;; This should be safe enough even for really weird shells. > > (replace-regexp-in-string > > "\n" "'\n'" > > (replace-regexp-in-string "[^-0-9a-zA-Z_./\n]" "\\\\\\&" argum= ent)))))) > >=20 > > I wonder what "really weird shells" this refers to? > > The set of characters special to an arbitrary shell is not known in > advance. > > > Certainly not csh, the mechanism it uses for newlines doesn't work > > there. > > What did you try that didn't work with csh? This is unrelated to the main concern of lacking safety guarantees. It's also not a response to me. > Quote #3: > > > Quoting RMS, coincidentally from a couple days ago: > >=20 > > The policy is non-GNU systems are secondary, and lower priority t= han > > the GNU system, but we are glad to include support for them in GNU > > packages if users contribute the necessary code -- provided that > > code isn't a maintenance problem for us. > >=20 > > The maintenainers of any particular package are the ones who judge > > whether that code is a maintenance problem, since they are the on= es > > it would be a problem for. > > I don't see how this is relevant for the issue at hand, since the > necessary code (the shell-quote-argument function) was already > contributed to Emacs years ago, and is used in many places in core > Emacs. There's no extra effort needed to support more platforms, just > replace one function with another. > > > I generally don't want to take responsibility of my code being used on > > non-GNU/non-POSIX systems, but if I can share the responsibility then > > that's fine. > > You are sharing the responsibility with a long line of Emacs > developers, all of whom use this function. I don't see anything you > should worry about, really. This tries to push on me a responsibility I cannot take because I don't use MS Windows and don't know its shell syntax, and asserts that I should stop worrying, i.e. flat-out dismissing my concern. > As you see, each response is directly related to your text that I > cite. I cannot prove to you that I understood what you were saying, > but you can ask any neutral person to read this and tell you what they > think about that. From my side, I can assure you I completely > understood everything that you said. It seems that we cannot even agree on whether an English sentence does or doesn't address a concern raised in another. English is not my mother-tongue either, but I think both our English is perfectly good. Given that, I genuinely have no idea how we can be this badly unable to communicate. I rest my case. Taylan