From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.devel Subject: Re: Small fix in `shell--unquote&requote-argument' - please review Date: Thu, 27 Oct 2016 15:41:54 +0300 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477572146 23775 195.159.176.226 (27 Oct 2016 12:42:26 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2016 12:42:26 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 14:42:22 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bzk0W-0004RJ-Dr for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2016 14:42:08 +0200 Original-Received: from localhost ([::1]:41189 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzk0Z-0001dK-02 for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2016 08:42:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzk0Q-0001d2-0P for emacs-devel@gnu.org; Thu, 27 Oct 2016 08:42:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzk0M-00081B-8U for emacs-devel@gnu.org; Thu, 27 Oct 2016 08:42:01 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:45386) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzk0M-0007zO-23 for emacs-devel@gnu.org; Thu, 27 Oct 2016 08:41:58 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 650E5208B1; Thu, 27 Oct 2016 08:41:56 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 27 Oct 2016 08:41:56 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.fm; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=RrezmJynJu4G2oXGpMSsFu8Xmmc=; b=YCJHzd xkAM/EcIjOMOHjQhutVd7Pzu4EeD7i0RKYxR+IHYuozGe60/VGPYKMxUpa5ZRLAL 53DvsaieDSHnrN4aM5isGkGauAOYqoz8Gv1wMd8nHaBYn8xJIAVQhAG0CifkvT+6 BV4Q/GkOnMmwPD2r8fhJKp0vsVS/ZXP+lbBBQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=RrezmJynJu4G2o XGpMSsFu8Xmmc=; b=LIXA0l+Y2tVvmROGNRTYiIDsrXb67XA8en8GE6fD1XSAfr zQGnUvD5f/8nY7m3acKEDHENbXpAETMl52EHF3JL4vOIUBYBOvvfMioQxKMxz/gN 56jsBeykDcWiBOgn30qnA0X2zC8TkIfh0AvJpGxd0gQ6ZEzUSU+n9QlEsO+4k= X-ME-Sender: X-Sasl-enc: uImYqUotGtZKCyX5f8q+Y+KGzTSuYmsh0ufz6WFPNeHl 1477572115 Original-Received: from fgunbin.local (unknown [94.25.218.10]) by mail.messagingengine.com (Postfix) with ESMTPA id B018CF29D5; Thu, 27 Oct 2016 08:41:55 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Wed, 26 Oct 2016 14:32:57 -0400") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.26 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:208869 Archived-At: On 26/10/2016 14:32 -0400, Stefan Monnier wrote: >> But if invoked directly: >> 1. (shell--unquote&requote-argument "te'st" 2) >> This produces `("testst" 2 comint-quote-filename)'. > > Actually, that's a great test case, thank you. > The rest makes perfect sense (the (< match (1+ (length qstr))) was > probably just a typo: I meant 1- instead of 1+). > > Sorry 'bout the delay. Installed, Thanks! Filipp