From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Small fix in `shell--unquote&requote-argument' - please review Date: Wed, 26 Oct 2016 14:32:57 -0400 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1477506820 20780 195.159.176.226 (26 Oct 2016 18:33:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2016 18:33:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Filipp Gunbin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 26 20:33:36 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 1bzT0f-0001tl-EG for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2016 20:33:09 +0200 Original-Received: from localhost ([::1]:36759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzT0i-0007sN-0m for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2016 14:33:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bzT0a-0007sB-9A for emacs-devel@gnu.org; Wed, 26 Oct 2016 14:33:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bzT0W-00088h-A1 for emacs-devel@gnu.org; Wed, 26 Oct 2016 14:33:04 -0400 Original-Received: from alt34.smtp-out.videotron.ca ([24.53.0.23]:2467) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bzT0W-00088P-6K for emacs-devel@gnu.org; Wed, 26 Oct 2016 14:33:00 -0400 Original-Received: from ceviche.home ([24.202.159.173]) by Videotron with SMTP id zT0TbQD8jYOXTzT0UbxSua; Wed, 26 Oct 2016 14:32:58 -0400 X-Authority-Analysis: v=2.1 cv=Gfm35VjL c=1 sm=1 tr=0 a=drQ1+/MlVPSpi4JwKQuNfg==:117 a=drQ1+/MlVPSpi4JwKQuNfg==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=CH0kA5CcgfcA:10 a=Dg6e1WF6ClDcQQGICh8A:9 a=nNo_eh2_r8kA:10 Original-Received: by ceviche.home (Postfix, from userid 20848) id 8D14066239; Wed, 26 Oct 2016 14:32:57 -0400 (EDT) In-Reply-To: (Filipp Gunbin's message of "Thu, 08 Sep 2016 22:22:21 +0300") X-CMAE-Envelope: MS4wfAcxp77Xhb5NoMFyO2J6ZRskgRrdnFtxR3YV88oB4AXYRRps6867chy6rZldinr6m3TFQs7EEw+EOHG2/dqVwhQNl1+PQxeqWA9TQlxeIladsRFd7iGp CLWyMNBSm0Zm5JnYOjvoJ91C+xHRw3oSJmj0y7kXxFgMCTqsYiHkcskhDldC4NvIWugZDswN5Ok8TGwbIgXkYxZduBMY6OC0LumajUw8LW/IMt9nhqOAeU9c 0Sw9xy7J+Br+wDowdVSyZA== X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 24.53.0.23 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:208849 Archived-At: > 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, Stefan