GNU logs - #5007, boring messages


Message sent to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:


X-Loop: owner@HIDDEN
Subject: bug#5007: 23.1; comint history doesn't handle multi-character delimiters
Reply-To: Mark Diekhans <markd@HIDDEN>, 5007 <at> debbugs.gnu.org
Resent-From: Mark Diekhans <markd@HIDDEN>
Resent-To: bug-submit-list@HIDDEN
Resent-CC: Emacs Bugs <bug-gnu-emacs@HIDDEN>
2Resent-Date: Sat, 21 Nov 2009 17:30:03 +0000
Resent-Message-ID: <handler.5007.B.12588242479699@HIDDEN>
Resent-Sender: help-debbugs@HIDDEN
X-Emacs-PR-Message: report 5007
X-Emacs-PR-Package: emacs
X-Emacs-PR-Keywords: 
Received: via spool by submit@HIDDEN id=B.12588242479699
          (code B ref -1); Sat, 21 Nov 2009 17:30:03 +0000
Received: (at submit) by emacsbugs.donarmstrong.com; 21 Nov 2009 17:24:07 +0000
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nALHO5RJ009696
	for <submit@HIDDEN>; Sat, 21 Nov 2009 09:24:07 -0800
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NBtgr-0003IY-Nt
	for bug-gnu-emacs@HIDDEN; Sat, 21 Nov 2009 12:24:05 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1NBtgn-0003HK-0i
	for bug-gnu-emacs@HIDDEN; Sat, 21 Nov 2009 12:24:05 -0500
Received: from [199.232.76.173] (port=52719 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NBtgm-0003HB-Os
	for bug-gnu-emacs@HIDDEN; Sat, 21 Nov 2009 12:24:00 -0500
Received: from smtp127.sbc.mail.sp1.yahoo.com ([69.147.65.186]:21469)
	by monty-python.gnu.org with smtp (Exim 4.60)
	(envelope-from <markd@HIDDEN>)
	id 1NBtgl-0001Am-Ta
	for bug-gnu-emacs@HIDDEN; Sat, 21 Nov 2009 12:24:00 -0500
Received: (qmail 55043 invoked from network); 21 Nov 2009 17:23:19 -0000
Received: from osprey.kermodei.org (markd@HIDDEN with login)
        by smtp127.sbc.mail.sp1.yahoo.com with SMTP; 21 Nov 2009 09:23:18 -0800 PST
X-Yahoo-SMTP: knGM_HSswBD5QyvFslEk1_6tqt5exkIU26bBrTLyCA--
X-YMail-OSG: qQV5A0kVM1lmzL2OnpvFlqbH3qsjQ3IGv78MXOYVmeIVwGqh__VRaxMsW5YNrjxlk.MDYpbB.ckQbbCvWby3p4STvNVfcyCdiaYMtH6kijoUfsaKIX3repMnPgumnYsND_C7UahHCeDB9g__Cz4NBXUDJRDs8jaoPm7x300DDyjXR563StRV3CRrjA78G0Gd.QXBb1GeBaDcblDr4nPpkXbPQynA7oHX7PVtJHHBsR1Jl7nIcxaNpawBisfKuYy_oskVoxUydsCo.jusgs4rB4rIR8PmIxnoFc6.NL0olV1C1DHa2ghFHCI2W1Y0pBtzRm.5Ur_0dFBD0hjPW4BSEcnTwdngotmRM_8Tb7dSqSxERssSwRbV
X-Yahoo-Newman-Property: ymail-3
Received: by osprey.kermodei.com (Postfix, from userid 1000)
	id 80A3D95881; Sat, 21 Nov 2009 09:23:18 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <19208.8707.951078.487362@HIDDEN>
Date: Sat, 21 Nov 2009 09:23:15 -0800
From: Mark Diekhans <markd@HIDDEN>
To: bug-gnu-emacs@HIDDEN
X-detected-operating-system: by monty-python.gnu.org: FreeBSD 6.x (1)


Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@HIDDEN mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:


Both bash and csh use multi-character delimiters, yet comint and
shell mode only recognize single character delimiters.  This
results in comint-dynamic-complete corrupting the command.  For instance,
in bash:

    date >& /dev/null
    !!<tab>
    date > & /dev/null

    cat $(ls /dev/null)
    !!<tab>
    cat $ ( ls /dev/null )

    cat <(date)
    !!<tab>
    cat < ( date )

This is extremely frustrating, requiring editing of commands being redone
before executing them.



If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/opt/share/emacs/23.1/etc/DEBUG for instructions.


In GNU Emacs 23.1.1 (x86_64-unknown-freebsd7.1, GTK+ Version 2.16.6)
 of 2009-10-11 on osprey.kermodei.com
configured using `configure  '--prefix=/opt''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: nil

Major mode: Shell

Minor modes in effect:
  display-time-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
C-g m v SPC s h TAB n o t e s . t x t RET RET RET C-x 
C-f n TAB RET M-> M-< ESC O B ESC O B ESC O B ESC O 
B ESC O B ESC O B ESC O A RET RET RET C-x C-s C-x o 
d a t e C-a C-k c a t SPC $ ( d a t e ) RET M-p M-b 
M-d l s SPC / d e v / n u l l C-e RET ! ! TAB RET ESC 
O A ESC O A ESC O A C-a C-@ ESC O B C-e M-w C-x o ESC 
O A ESC O A C-y C-a M-d C-d ESC O A ESC O A ESC O A 
ESC O A C-@ C-e M-w ESC O B ESC O B ESC O B ESC O B 
ESC O A C-e RET C-y C-a C-x C-s C-x o C-x h C-w RET 
c a t SPC < ( d a t e ) C-e TAB C-x o C-x b RET C-x 
o RET ! ! TAB RET ESC O A ESC O A ESC O A ESC O A C-@ 
ESC O B ESC O B C-e M-w C-x o ESC O B ESC O B RET C-y 
C-a M-d C-d ESC O A C-k ESC O A ESC O A ESC O A ESC 
O A C-@ C-e M-w ESC O B ESC O B ESC O B ESC O B C-y 
ESC O B ESC O B RET RET C-x C-s C-x C-s C-x o M-x C-g 
M-x b u g TAB C-a C-e TAB C-g M-x e m TAB a c TAB - 
b TAB C-g M-x r e p TAB o TAB r TAB RET

Recent messages:
Mark set [4 times]
Saving file /a/markd/work/emacs/comint-bug/notes.txt...
Wrote /a/markd/work/emacs/comint-bug/notes.txt
(No changes need to be saved)
Quit
Making completion list...
Quit
Making completion list...
Quit
Making completion list... [2 times]




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: owner@HIDDEN
From: help-debbugs@HIDDEN (Emacs bug Tracking System)
To: Mark Diekhans <markd@HIDDEN>
Subject: bug#5007: Acknowledgement (23.1; comint history doesn't handle
 multi-character delimiters)
Message-ID: <handler.5007.B.12588242479699.ack@HIDDEN>
References: <19208.8707.951078.487362@HIDDEN>
X-Emacs-PR-Message: ack 5007
X-Emacs-PR-Package: emacs
Reply-To: 5007 <at> debbugs.gnu.org
Date: Sat, 21 Nov 2009 17:30:04 +0000

Thank you for filing a new bug report with Emacs.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 Emacs Bugs <bug-gnu-emacs@HIDDEN>

If you wish to submit further information on this problem, please
send it to 5007 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
5007: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5007
Emacs Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control@HIDDEN:


Received: (at control) by emacsbugs.donarmstrong.com; 22 Nov 2009 20:33:15 +0000
From rgm@HIDDEN Sun Nov 22 12:33:15 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-5.2 required=4.0 tests=AWL,ONEWORD,VALID_BTS_CONTROL,
	X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAMKXDmN002125
	for <control@HIDDEN>; Sun, 22 Nov 2009 12:33:14 -0800
Received: from rgm by fencepost.gnu.org with local (Exim 4.67)
	(envelope-from <rgm@HIDDEN>)
	id 1NCJ7Q-0006ex-Uw; Sun, 22 Nov 2009 15:33:13 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <19209.40968.932915.318855@HIDDEN>
Date: Sun, 22 Nov 2009 15:33:12 -0500
From: Glenn Morris <rgm@HIDDEN>
To: control <control <at> debbugs.gnu.org>
Subject: control
X-Attribution: GM
X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs)
X-Hue: blue
X-Ran: [FUXU@NV_d#FCl|Vw:&9k1.,|phRL-d"`*0B|5:w28!'+tvL4?y>4"sda!f/;azieQiVDJ
X-Debbugs-No-Ack: yes

reopen 1795
merge 1795 5007



Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 13 Feb 2011 01:31:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Feb 12 20:31:25 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PoQo8-0002Nf-U1
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:31:25 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PoQo6-0002NS-0V
	for control <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:31:22 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>) id 1PoQwh-0005ek-H5
	for control <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:40:15 -0500
Date: Sat, 12 Feb 2011 20:40:15 -0500
Message-Id: <E1PoQwh-0005ek-H5@HIDDEN>
Subject: control message for bug 8027
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.1)
From: Glenn Morris <rgm@HIDDEN>
X-Spam-Score: -6.3 (------)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.3 (------)

merge 1795 8027




Message received at fakecontrol@fakecontrolmessage:


Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control <at> debbugs.gnu.org
From: Debbugs Internal Request <help-debbugs@HIDDEN>
Subject: Internal Control
Message-Id: bug archived.
Date: Thu, 17 Mar 2011 11:24:05 +0000
User-Agent: Fakemail v42.6.9

# This is a fake control message.
#
# The action:
# bug archived.
thanks
# This fakemail brought to you by your local debbugs
# administrator


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 9 Sep 2011 19:12:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 09 15:12:39 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R26VC-0005Yh-L7
	for submit <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:12:39 -0400
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1R26VB-0005Yb-0G
	for control <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:12:37 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>) id 1R26RD-0005iS-37
	for control <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:08:31 -0400
Date: Fri, 09 Sep 2011 15:08:31 -0400
Message-Id: <E1R26RD-0005iS-37@HIDDEN>
Subject: control message for bug 8027
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.1)
From: Glenn Morris <rgm@HIDDEN>
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.4 (------)

unarchive 8027
notfixed 8027 24.1
reopen 8027




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 9 Sep 2011 19:12:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 09 15:12:39 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R26VC-0005Yh-L7
	for submit <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:12:39 -0400
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1R26VB-0005Yb-0G
	for control <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:12:37 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>) id 1R26RD-0005iS-37
	for control <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:08:31 -0400
Date: Fri, 09 Sep 2011 15:08:31 -0400
Message-Id: <E1R26RD-0005iS-37@HIDDEN>
Subject: control message for bug 8027
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.1)
From: Glenn Morris <rgm@HIDDEN>
X-Spam-Score: -6.4 (------)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.4 (------)

unarchive 8027
notfixed 8027 24.1
reopen 8027




Message received at fakecontrol@fakecontrolmessage:


Received: (at fakecontrol) by fakecontrolmessage;
To: internal_control <at> debbugs.gnu.org
From: Debbugs Internal Request <help-debbugs@HIDDEN>
Subject: Internal Control
Message-Id: Did not alter fixed versions and reopened.
Date: Fri, 09 Sep 2011 19:13:02 +0000
User-Agent: Fakemail v42.6.9

# This is a fake control message.
#
# The action:
# Did not alter fixed versions and reopened.
thanks
# This fakemail brought to you by your local debbugs
# administrator


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 6 Jun 2019 01:02:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jun 05 21:02:41 2019
Received: from localhost ([127.0.0.1]:48546 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1hYgnh-0003MQ-8a
	for submit <at> debbugs.gnu.org; Wed, 05 Jun 2019 21:02:41 -0400
Received: from mail-it1-f177.google.com ([209.85.166.177]:39723)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <npostavs@HIDDEN>)
 id 1hYgng-0003MC-Bn; Wed, 05 Jun 2019 21:02:40 -0400
Received: by mail-it1-f177.google.com with SMTP id j204so543681ite.4;
 Wed, 05 Jun 2019 18:02:40 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=from:to:cc:subject:references:date:in-reply-to:message-id
 :user-agent:mime-version:content-transfer-encoding;
 bh=hFdGH19eIudgryTri2JuSQlCV0p8gtqht+dfABvLQEo=;
 b=PDlY28UWCQPRjjBdlvqBScPpmi5Zni1C9WEEJKcqn9OnwmKlnf6RPxlxI+XRNVYOWX
 X5kWX+WgojC1zyx6sGZpsj50TGxgLy265V0e90RiUlsRv9/zsXW4SeubtS42kRocepQ1
 yvdiUICgKoLLtMdbuEEdztHRi/RR9ceQ5Zrf9SvQSDyvYtgXAH3G+VNOoeK1Hxn8Ybrp
 WGdp39MnAqYw5xtqD4DcqEXzhqjlYZjknmdG7yIDnaYgDI6xVsXVXwc76li2QaFS26TC
 ael5GIK7/xMktZ5Q5Fp8Kbj4ZuyGSYd3qiJ7ezuQINnEKMhdUKZJYw4NaSvrvmlI5cBV
 jiSg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-transfer-encoding;
 bh=hFdGH19eIudgryTri2JuSQlCV0p8gtqht+dfABvLQEo=;
 b=qvtJ3UzX5fCYPfCnxFA174U5/3L7i+qVF5ulZiW8HvopdWUWNfIHSvzM2PpnjFfrLn
 pAxjt2VZuKBdNJFbyhYWXNz2LeK8VJ5g1u4i491Jv5bGKaNssVeJcUk6Jl7BcJbkoPS1
 XrmMM7eoQIuR2agp44Uf4UMApI8gmUUmEQ29tMssw6vdL8xK33qHZ2AXO6YatMJsS+qW
 J2z2MOwcpVA7vomyXWxQTXxM9GMkydws48qYgtgIEOYh6/Kh9ByY2TelQh+g3nRcVjs3
 Ew7L9NB7ex9va42Nq2S6LKvgCnIqrWZ2T1ldPWsrYP/nu30KnJmmbx/krZt2ao6lpub8
 sjzQ==
X-Gm-Message-State: APjAAAWSCXXGSw8e94DoQvtY8snLXXsigJ4OiaVWO9vFWDJJbOIy1d4a
 2M0TmgckZ2/wSp+eJl6mXlYKttn/
X-Google-Smtp-Source: APXvYqw3CCrg5DzWLOTfpZT2/yPIgVifqQNpzvGSWKhuorlEjala3huHRMDny+Wt7t0Z24JOd1+Wtg==
X-Received: by 2002:a05:6638:149:: with SMTP id
 y9mr3923350jao.76.1559782954414; 
 Wed, 05 Jun 2019 18:02:34 -0700 (PDT)
Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34])
 by smtp.gmail.com with ESMTPSA id
 a198sm271984ita.2.2019.06.05.18.02.33
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Wed, 05 Jun 2019 18:02:33 -0700 (PDT)
From: Noam Postavsky <npostavs@HIDDEN>
To: Enric =?utf-8?Q?Rodr=C3=ADguez?= Carbonell <erodri@HIDDEN>
Subject: Re: bug#36103: 24.5;
 Blank spaces around parentheses in history expansion in shell mode
References: <5fb3dec3-3c48-9a49-cc50-8f68981978af@HIDDEN>
Date: Wed, 05 Jun 2019 21:02:33 -0400
In-Reply-To: <5fb3dec3-3c48-9a49-cc50-8f68981978af@HIDDEN> ("Enric
 =?utf-8?Q?Rodr=C3=ADguez?= Carbonell"'s message of "Wed, 5 Jun 2019
 13:03:49 +0200")
Message-ID: <87lfyf34ra.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.6 (/)
X-Debbugs-Envelope-To: control
Cc: 36103 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.6 (-)

merge 36103 8027
quit

Enric Rodr=C3=ADguez Carbonell <erodri@HIDDEN> writes:

> $ for file in $(ls); do echo $file; done

> $ !for

> M-x comint-replace-by-expanded-history

> $ for file in $ ( ls ) ; do echo $file ; done
>
> The blank spaces around the parentheses should not be there.
> Because of these blank spaces, this command cannot be executed,
> as "$ (" should be "$(".

Yes, the problem is in comint-arguments which attempts to parse a shell
line into separate arguments, using just a bunch of regexps.  This is
doomed to failure I think.  But the alternative would be a full blown
shell parser, so I don't know how feasible it will be to fix this bug.
It's been with us a long time.






Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.