GNU logs - #8027, boring messages


Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: 23.2; shell problem with $( and !!
Resent-From: relson@osage
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 13 Feb 2011 01:29:02 +0000
Resent-Message-ID: <handler.8027.B.12975604828716 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 8027 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.12975604828716
          (code B ref -1); Sun, 13 Feb 2011 01:29:02 +0000
Received: (at submit) by debbugs.gnu.org; 13 Feb 2011 01:28:02 +0000
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 1PoQkr-0002GT-Bc
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:28:01 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <relson@HIDDEN>) id 1PoQgV-0002AI-H8
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:23:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp6-000105-0O
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:32:25 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,FH_FROMEML_NOTLD,
	T_RP_MATCHES_RCVD autolearn=no version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:41255)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp5-000101-Iz
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:32:23 -0500
Received: from [140.186.70.92] (port=47001 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PoQp4-0007ms-KX
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp3-0000zn-0E
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:22 -0500
Received: from osagesoftware.com ([216.144.204.42]:33399
	helo=mail.osagesoftware.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp2-0000zZ-Gd
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:20 -0500
Received: from osage (osage.osagesoftware.com [192.168.1.10])
	by mail.osagesoftware.com (Postfix) with SMTP id 7483B7BC8F
	for <bug-gnu-emacs@HIDDEN>; Sun, 13 Feb 2011 01:32:16 +0000 (UTC)
Received: by osage (sSMTP sendmail emulation); Sat, 12 Feb 2011 20:32:16 -0500
From: relson@osage
Date: Sat, 12 Feb 2011 20:32:16 -0500
Message-ID: <87d3mwwwgv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1)
X-Received-From: 216.144.204.42
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 199.232.76.165
X-Spam-Score: -3.2 (---)
X-Mailman-Approved-At: Sat, 12 Feb 2011 20:28:00 -0500
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: -3.2 (---)

In a shell window using "!!<tab>" when the previous command uses "$(
... )" improperaly adds a space between the "$" and the "(".

Starting with a directory containg a file named "test", here's how to demonstrate the problem:

1) In a shell window I can execute "find . -name test" and it'll find the 1
file that's truly in the current directory.

2) I can then execute 'ls -l !!<tab>' and the expansion will be "ls -l
`find . -name  test`" which is correct.

3) I can also execute 'ls -l $( find . -name test)` and the test file will
be correctly listed.

4) However, if I then type 'ls -l !!<tab>' the "$(" becomes "$ (" (with
a space in the middle), and the command fails.  


In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-01-31 on osage
Windowing system distributor `The X.Org Foundation', version 11.0.10902000
configured using `configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64' '--with-gameuser=games' '--with-sound' '--with-x' '--without-gconf' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=athlon64 -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: en_US.UTF-8
  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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<escape> x s h e l l <return> f i n d SPC . SPC - n 
a m e SPC t e s t <return> l s SPC - l SPC ` ! ! ` 
<tab> <return> l s SPC - l SPC $ ( SPC f i n d SPC 
SPC <backspace> . SPC - n a m e SPC t e s t S-SPC ) 
<return> ! ! <tab> <return> <escape> x r e p o <tab> 
r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
History item: previous [2 times]
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message idna sendmail regexp-opt ecomplete rfc822
mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode
easymenu view ansi-color shell comint ring tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind gtk
x-toolkit x multi-tty emacs)

-- 
David Relson                   Osage Software Systems, Inc.
relson@HIDDEN       Ann Arbor, MI 48103
www.osagesoftware.com




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: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: relson@osage
Subject: bug#8027: Acknowledgement (23.2; shell problem with $( and !!)
Message-ID: <handler.8027.B.12975604828716.ack <at> debbugs.gnu.org>
References: <87d3mwwwgv.fsf@HIDDEN>
X-Gnu-PR-Message: ack 8027
X-Gnu-PR-Package: emacs
Reply-To: 8027 <at> debbugs.gnu.org
Date: Sun, 13 Feb 2011 01:29:02 +0000

Thank you for filing a new bug report with GNU.

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):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 8027 <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
8027: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D8027
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


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 sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: 23.2; shell problem with $( and !!
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 13 Feb 2011 02:14:01 +0000
Resent-Message-ID: <handler.8027.B8027.129756321715589 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: relson@osage
Cc: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.129756321715589
          (code B ref 8027); Sun, 13 Feb 2011 02:14:01 +0000
Received: (at 8027) by debbugs.gnu.org; 13 Feb 2011 02:13:37 +0000
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 1PoRSz-00043N-6C
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 21:13:37 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PoRSx-00043B-4k
	for 8027 <at> debbugs.gnu.org; Sat, 12 Feb 2011 21:13:35 -0500
Received: from localhost ([127.0.0.1]:42754)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1PoRbY-0007fR-LT; Sat, 12 Feb 2011 21:22:28 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87d3mwwwgv.fsf@HIDDEN>
X-Spook: Medco munitions Delta Force Dick Cheney arrangements 9705
X-Ran: ;"}u]^=@#a?4#?TdyuYm-WU1Us|Kg?P,jEn[`E,mGVjFknhh{wAff8aUhN/&Y8nt.VAPIz
X-Hue: yellow
X-Attribution: GM
Date: Sat, 12 Feb 2011 21:22:28 -0500
In-Reply-To: <87d3mwwwgv.fsf@HIDDEN> (relson@osage's message
	of "Sat, 12 Feb 2011 20:32:16 -0500")
Message-ID: <tn4o88smfv.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -5.7 (-----)
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: -5.7 (-----)


Dupe of 1795 and 5007.





Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: 23.2; shell problem with $( and !!
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 13 Feb 2011 02:16:02 +0000
Resent-Message-ID: <handler.8027.B8027.129756332915769 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: relson@HIDDEN
Cc: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.129756332915769
          (code B ref 8027); Sun, 13 Feb 2011 02:16:02 +0000
Received: (at 8027) by debbugs.gnu.org; 13 Feb 2011 02:15:29 +0000
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 1PoRUn-00046I-Lq
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 21:15:29 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PoRUm-000467-0P
	for 8027 <at> debbugs.gnu.org; Sat, 12 Feb 2011 21:15:28 -0500
Received: from localhost ([127.0.0.1]:42779)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1PoRdM-0007rg-Ad; Sat, 12 Feb 2011 21:24:20 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <19799.16596.52772.842737@HIDDEN>
Date: Sat, 12 Feb 2011 21:24:20 -0500
From: Glenn Morris <rgm@HIDDEN>
In-Reply-To: <tn4o88smfv.fsf@HIDDEN>
References: <87d3mwwwgv.fsf@HIDDEN>
	<tn4o88smfv.fsf@HIDDEN>
X-Attribution: GM
X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs)
X-Hue: yellow
X-Ran: WF%jN.4:'`a"PU<D|Hi-|I+]0tSSt{(&+'`-Np9il:VEv\`$1_>QAFp$o},qd"2205\;*Y
X-Spam-Score: -6.3 (------)
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 (------)


Please use a valid email address when reporting bugs.

Glenn Morris wrote (on Sat, 12 Feb 2011 at 21:22 -0500):

> Dupe of 1795 and 5007.




Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: 23.2; shell problem with $( and !!
Resent-From: David Relson <relson@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 13 Feb 2011 08:34:02 +0000
Resent-Message-ID: <handler.8027.B8027.129758600114648 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Glenn Morris <rgm@HIDDEN>
Cc: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.129758600114648
          (code B ref 8027); Sun, 13 Feb 2011 08:34:02 +0000
Received: (at 8027) by debbugs.gnu.org; 13 Feb 2011 08:33:21 +0000
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 1PoXOS-0003oC-Mc
	for submit <at> debbugs.gnu.org; Sun, 13 Feb 2011 03:33:21 -0500
Received: from osagesoftware.com ([216.144.204.42] helo=mail.osagesoftware.com)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <relson@HIDDEN>) id 1PoTKN-0006cO-52
	for 8027 <at> debbugs.gnu.org; Sat, 12 Feb 2011 23:12:51 -0500
Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10])
	by mail.osagesoftware.com (Postfix) with ESMTP id 5E3507BC9A;
	Sun, 13 Feb 2011 04:21:44 +0000 (UTC)
Date: Sat, 12 Feb 2011 23:21:44 -0500
From: David Relson <relson@HIDDEN>
Message-ID: <20110212232144.26c073ed@HIDDEN>
In-Reply-To: <19799.16596.52772.842737@HIDDEN>
References: <87d3mwwwgv.fsf@HIDDEN>
	<tn4o88smfv.fsf@HIDDEN>
	<19799.16596.52772.842737@HIDDEN>
Organization: Osage Software Systems, Inc.
X-Mailer: Claws Mail 3.7.8 (GTK+ 2.20.1; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Spam-Score: -2.6 (--)
X-Mailman-Approved-At: Sun, 13 Feb 2011 03:33:19 -0500
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: -2.6 (--)

On Sat, 12 Feb 2011 21:24:20 -0500
Glenn Morris wrote:

> 
> Please use a valid email address when reporting bugs.
> 
> Glenn Morris wrote (on Sat, 12 Feb 2011 at 21:22 -0500):
> 
> > Dupe of 1795 and 5007.

Hi Glen,

Sorry about that, and I thank you for writing.  I had wondered why
there wasn't an autoresponse to the bug report. 

Evidently emacs' bug reporting system picked up my machine name
from /etc/hosts, which I didn't realize, rather than my email address.
How do I tell emacs my email address so that bug reports will be
correct (without needing manual fixing)?

FWIW, the fix for 1795 is defective.  It fixes the changing of "$(" to
"$ (" when "!!<tab>" is used.  However, when "!$<tab>" is used to get
the last argument, the 1795 fix duplicates the whole previous line.

It's my belief that "!$<tab>" and "!$<enter>" should behave the same,
but they don't and it's frustrating.

 David




Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: 23.2; shell problem with $( and !!
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 13 Feb 2011 19:50:02 +0000
Resent-Message-ID: <handler.8027.B8027.129762658315196 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: David Relson <relson@HIDDEN>
Cc: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.129762658315196
          (code B ref 8027); Sun, 13 Feb 2011 19:50:02 +0000
Received: (at 8027) by debbugs.gnu.org; 13 Feb 2011 19:49:43 +0000
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 1Pohx1-0003x3-Lv
	for submit <at> debbugs.gnu.org; Sun, 13 Feb 2011 14:49:43 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1Pohwz-0003wr-Jl
	for 8027 <at> debbugs.gnu.org; Sun, 13 Feb 2011 14:49:42 -0500
Received: from localhost ([127.0.0.1]:58320)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Poi5b-0007MD-RH; Sun, 13 Feb 2011 14:58:35 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87d3mwwwgv.fsf@HIDDEN>
	<tn4o88smfv.fsf@HIDDEN>
	<19799.16596.52772.842737@HIDDEN>
	<20110212232144.26c073ed@HIDDEN>
X-Spook: AGT. AMME event security 64 Vauxhall Cross Lon Horiuchi
X-Ran: LN8)D}W{q59mfNA}PKb1_`I<E:@,rlb#9{"$<wA"eEC-,Ld#{x,_a.liJY_&`Z!D[{<04"
X-Hue: blue
X-Attribution: GM
Date: Sun, 13 Feb 2011 14:58:35 -0500
In-Reply-To: <20110212232144.26c073ed@HIDDEN> (David Relson's
	message of "Sat, 12 Feb 2011 23:21:44 -0500")
Message-ID: <xoc6fzoyc.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -6.3 (------)
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 (------)

David Relson wrote:

> Evidently emacs' bug reporting system picked up my machine name
> from /etc/hosts, which I didn't realize, rather than my email address.
> How do I tell emacs my email address so that bug reports will be
> correct (without needing manual fixing)?

I think you can set user-mail-address.

Perhaps report-emacs-bug should be improved in this regard.





Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: 23.2; shell problem with $( and !!
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 15 Feb 2011 01:34:01 +0000
Resent-Message-ID: <handler.8027.B8027.12977336225364 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: David Relson <relson@HIDDEN>
Cc: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.12977336225364
          (code B ref 8027); Tue, 15 Feb 2011 01:34:01 +0000
Received: (at 8027) by debbugs.gnu.org; 15 Feb 2011 01:33:42 +0000
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 1Pp9nS-0001OT-LK
	for submit <at> debbugs.gnu.org; Mon, 14 Feb 2011 20:33:42 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1Pp9nQ-0001OC-5G
	for 8027 <at> debbugs.gnu.org; Mon, 14 Feb 2011 20:33:40 -0500
Received: from localhost ([127.0.0.1]:36775)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Pp9w6-0007oK-LE; Mon, 14 Feb 2011 20:42:38 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87d3mwwwgv.fsf@HIDDEN>
	<tn4o88smfv.fsf@HIDDEN>
	<19799.16596.52772.842737@HIDDEN>
	<20110212232144.26c073ed@HIDDEN>
	<xoc6fzoyc.fsf@HIDDEN>
X-Spook: PLO embassy Craig Livingstone Fortezza Montenegro
X-Ran: 1p(?UbZ6^zSUE'M4zk7auyU%0/n5W$Aa=@YBF!M0%?#)n^DMo6nws1||^up<,p<1,T|0F3
X-Hue: black
X-Attribution: GM
Date: Mon, 14 Feb 2011 20:42:38 -0500
In-Reply-To: <xoc6fzoyc.fsf@HIDDEN> (Glenn Morris's message of
	"Sun, 13 Feb 2011 14:58:35 -0500")
Message-ID: <17hd2dqep.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -6.3 (------)
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 (------)


Try setting shell-delimiter-argument-list to nil.
(Though I don't know if this will have any other adverse affects.)




Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: 23.2; shell problem with $( and !!
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 15 Feb 2011 18:38:01 +0000
Resent-Message-ID: <handler.8027.B8027.12977950517275 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: David Relson <relson@HIDDEN>
Cc: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.12977950517275
          (code B ref 8027); Tue, 15 Feb 2011 18:38:01 +0000
Received: (at 8027) by debbugs.gnu.org; 15 Feb 2011 18:37:31 +0000
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 1PpPmF-0001tI-3K
	for submit <at> debbugs.gnu.org; Tue, 15 Feb 2011 13:37:31 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PpPmC-0001t4-Nx
	for 8027 <at> debbugs.gnu.org; Tue, 15 Feb 2011 13:37:29 -0500
Received: from localhost ([127.0.0.1]:56937)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1PpPuv-00079w-5h; Tue, 15 Feb 2011 13:46:29 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <19802.51716.698530.539068@HIDDEN>
Date: Tue, 15 Feb 2011 13:46:28 -0500
From: Glenn Morris <rgm@HIDDEN>
In-Reply-To: <20110215073140.2b4f075c@HIDDEN>
References: <20110214231338.7a1a771c@HIDDEN>
	<20110215073140.2b4f075c@HIDDEN>
X-Attribution: GM
X-Spam-Score: -6.3 (------)
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 (------)


Please keep the debbugs.gnu.org address cc'd on replies.

David Relson wrote (on Tue, 15 Feb 2011 at 07:31 -0500):

> Adding the following lines to .emacs is working well (with no adverse
> effects noticed yet)
> 
>   (defvar shell-delimiter-argument-list)
>   (setq shell-delimiter-argument-list nil)
> 
> I'll propagate the addition to my various platforms (gentoo, centos,
> ubuntu, solaris, and cygwin) and see what happens :->
> 
> Thanks!
> 
> David




Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Glenn Morris <rgm@HIDDEN>
Subject: bug#8027: closed (23.2; shell problem with $( and !!)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.8027.D8027.129791850130793.ackdone <at> debbugs.gnu.org>
References: <nl1v375k1q.fsf@HIDDEN>
 <87d3mwwwgv.fsf@HIDDEN>
X-Gnu-PR-Message: closed 8027
X-Gnu-PR-Package: emacs
Date: Thu, 17 Feb 2011 04:55:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1297918502-30802-0"

This is a multi-part message in MIME format...

------------=_1297918502-30802-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Thu, 17 Feb 2011 00:04:01 -0500
with message-id <nl1v375k1q.fsf@HIDDEN>
and subject line Re: bug#8027: 23.2; shell problem with $( and !!
has caused the GNU bug report #8027,
regarding 23.2; shell problem with $( and !!
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


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

------------=_1297918502-30802-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 13 Feb 2011 01:28:02 +0000
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 1PoQkr-0002GT-Bc
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:28:01 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <relson@HIDDEN>) id 1PoQgV-0002AI-H8
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:23:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp6-000105-0O
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:32:25 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,FH_FROMEML_NOTLD,
	T_RP_MATCHES_RCVD autolearn=no version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:41255)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp5-000101-Iz
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:32:23 -0500
Received: from [140.186.70.92] (port=47001 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PoQp4-0007ms-KX
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp3-0000zn-0E
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:22 -0500
Received: from osagesoftware.com ([216.144.204.42]:33399
	helo=mail.osagesoftware.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp2-0000zZ-Gd
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:20 -0500
Received: from osage (osage.osagesoftware.com [192.168.1.10])
	by mail.osagesoftware.com (Postfix) with SMTP id 7483B7BC8F
	for <bug-gnu-emacs@HIDDEN>; Sun, 13 Feb 2011 01:32:16 +0000 (UTC)
Received: by osage (sSMTP sendmail emulation); Sat, 12 Feb 2011 20:32:16 -0500
From: relson@osage
To: bug-gnu-emacs@HIDDEN
Subject: 23.2; shell problem with $( and !!
Date: Sat, 12 Feb 2011 20:32:16 -0500
Message-ID: <87d3mwwwgv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1)
X-Received-From: 216.144.204.42
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 199.232.76.165
X-Spam-Score: -3.2 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 12 Feb 2011 20:28:00 -0500
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: -3.2 (---)

In a shell window using "!!<tab>" when the previous command uses "$(
... )" improperaly adds a space between the "$" and the "(".

Starting with a directory containg a file named "test", here's how to demonstrate the problem:

1) In a shell window I can execute "find . -name test" and it'll find the 1
file that's truly in the current directory.

2) I can then execute 'ls -l !!<tab>' and the expansion will be "ls -l
`find . -name  test`" which is correct.

3) I can also execute 'ls -l $( find . -name test)` and the test file will
be correctly listed.

4) However, if I then type 'ls -l !!<tab>' the "$(" becomes "$ (" (with
a space in the middle), and the command fails.  


In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-01-31 on osage
Windowing system distributor `The X.Org Foundation', version 11.0.10902000
configured using `configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64' '--with-gameuser=games' '--with-sound' '--with-x' '--without-gconf' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=athlon64 -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: en_US.UTF-8
  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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<escape> x s h e l l <return> f i n d SPC . SPC - n 
a m e SPC t e s t <return> l s SPC - l SPC ` ! ! ` 
<tab> <return> l s SPC - l SPC $ ( SPC f i n d SPC 
SPC <backspace> . SPC - n a m e SPC t e s t S-SPC ) 
<return> ! ! <tab> <return> <escape> x r e p o <tab> 
r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
History item: previous [2 times]
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message idna sendmail regexp-opt ecomplete rfc822
mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode
easymenu view ansi-color shell comint ring tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind gtk
x-toolkit x multi-tty emacs)

-- 
David Relson                   Osage Software Systems, Inc.
relson@HIDDEN       Ann Arbor, MI 48103
www.osagesoftware.com



------------=_1297918502-30802-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 8027-done) by debbugs.gnu.org; 17 Feb 2011 04:55:01 +0000
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 1PpvtM-00080c-6o
	for submit <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:55:00 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PpvtK-00080Q-Dd
	for 8027-done <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:54:59 -0500
Received: from localhost ([127.0.0.1]:41069)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Ppw25-0002SM-J8; Thu, 17 Feb 2011 00:04:01 -0500
From: Glenn Morris <rgm@HIDDEN>
To: 8027-done <at> debbugs.gnu.org
Subject: Re: bug#8027: 23.2; shell problem with $( and !!
References: <20110214231338.7a1a771c@HIDDEN>
	<20110215073140.2b4f075c@HIDDEN>
	<19802.51716.698530.539068@HIDDEN>
X-Spook: Dateline Saudi Arabia Lon Horiuchi LLNL chameleon man CDC
X-Ran: WPjiED0_W}.=]<tylEk02l'6\^)|hsh,9/^7r2OW\v2L/Y/N6Lzegg?DUa1bM7#%C-5-i4
X-Hue: red
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 17 Feb 2011 00:04:01 -0500
In-Reply-To: <19802.51716.698530.539068@HIDDEN> (Glenn Morris's
	message of "Tue, 15 Feb 2011 13:46:28 -0500")
Message-ID: <nl1v375k1q.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.7 (----)
X-Debbugs-Envelope-To: 8027-done
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: -4.7 (----)

Version: 24.1

As a test, I have set shell-delimiter-argument-list to nil in the Emacs
trunk. It fixes this issue, but may cause other issues.

If it does, maybe add something like shell-delimiter-no-break-re (cf
f90.el) that specifies a list of tokens containing delimiter characters
that are NOT to be broken.


------------=_1297918502-30802-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: relson@osage
Subject: bug#8027: closed (Re: bug#8027: 23.2; shell problem with $( and !!)
Message-ID: <handler.8027.D8027.129791850130793.notifdone <at> debbugs.gnu.org>
References: <nl1v375k1q.fsf@HIDDEN>
 <87d3mwwwgv.fsf@HIDDEN>
X-Gnu-PR-Message: they-closed 8027
X-Gnu-PR-Package: emacs
Reply-To: 8027 <at> debbugs.gnu.org
Date: Thu, 17 Feb 2011 04:55:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1297918502-30802-1"

This is a multi-part message in MIME format...

------------=_1297918502-30802-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#8027: 23.2; shell problem with $( and !!

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 8027 <at> debbugs.gnu.org.

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

------------=_1297918502-30802-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 8027-done) by debbugs.gnu.org; 17 Feb 2011 04:55:01 +0000
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 1PpvtM-00080c-6o
	for submit <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:55:00 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PpvtK-00080Q-Dd
	for 8027-done <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:54:59 -0500
Received: from localhost ([127.0.0.1]:41069)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Ppw25-0002SM-J8; Thu, 17 Feb 2011 00:04:01 -0500
From: Glenn Morris <rgm@HIDDEN>
To: 8027-done <at> debbugs.gnu.org
Subject: Re: bug#8027: 23.2; shell problem with $( and !!
References: <20110214231338.7a1a771c@HIDDEN>
	<20110215073140.2b4f075c@HIDDEN>
	<19802.51716.698530.539068@HIDDEN>
X-Spook: Dateline Saudi Arabia Lon Horiuchi LLNL chameleon man CDC
X-Ran: WPjiED0_W}.=]<tylEk02l'6\^)|hsh,9/^7r2OW\v2L/Y/N6Lzegg?DUa1bM7#%C-5-i4
X-Hue: red
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 17 Feb 2011 00:04:01 -0500
In-Reply-To: <19802.51716.698530.539068@HIDDEN> (Glenn Morris's
	message of "Tue, 15 Feb 2011 13:46:28 -0500")
Message-ID: <nl1v375k1q.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.7 (----)
X-Debbugs-Envelope-To: 8027-done
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: -4.7 (----)

Version: 24.1

As a test, I have set shell-delimiter-argument-list to nil in the Emacs
trunk. It fixes this issue, but may cause other issues.

If it does, maybe add something like shell-delimiter-no-break-re (cf
f90.el) that specifies a list of tokens containing delimiter characters
that are NOT to be broken.


------------=_1297918502-30802-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 13 Feb 2011 01:28:02 +0000
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 1PoQkr-0002GT-Bc
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:28:01 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <relson@HIDDEN>) id 1PoQgV-0002AI-H8
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:23:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp6-000105-0O
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:32:25 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.8 required=5.0 tests=BAYES_00,FH_FROMEML_NOTLD,
	T_RP_MATCHES_RCVD autolearn=no version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:41255)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp5-000101-Iz
	for submit <at> debbugs.gnu.org; Sat, 12 Feb 2011 20:32:23 -0500
Received: from [140.186.70.92] (port=47001 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PoQp4-0007ms-KX
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:23 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp3-0000zn-0E
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:22 -0500
Received: from osagesoftware.com ([216.144.204.42]:33399
	helo=mail.osagesoftware.com) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <relson@HIDDEN>) id 1PoQp2-0000zZ-Gd
	for bug-gnu-emacs@HIDDEN; Sat, 12 Feb 2011 20:32:20 -0500
Received: from osage (osage.osagesoftware.com [192.168.1.10])
	by mail.osagesoftware.com (Postfix) with SMTP id 7483B7BC8F
	for <bug-gnu-emacs@HIDDEN>; Sun, 13 Feb 2011 01:32:16 +0000 (UTC)
Received: by osage (sSMTP sendmail emulation); Sat, 12 Feb 2011 20:32:16 -0500
From: relson@osage
To: bug-gnu-emacs@HIDDEN
Subject: 23.2; shell problem with $( and !!
Date: Sat, 12 Feb 2011 20:32:16 -0500
Message-ID: <87d3mwwwgv.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1)
X-Received-From: 216.144.204.42
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 199.232.76.165
X-Spam-Score: -3.2 (---)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 12 Feb 2011 20:28:00 -0500
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: -3.2 (---)

In a shell window using "!!<tab>" when the previous command uses "$(
... )" improperaly adds a space between the "$" and the "(".

Starting with a directory containg a file named "test", here's how to demonstrate the problem:

1) In a shell window I can execute "find . -name test" and it'll find the 1
file that's truly in the current directory.

2) I can then execute 'ls -l !!<tab>' and the expansion will be "ls -l
`find . -name  test`" which is correct.

3) I can also execute 'ls -l $( find . -name test)` and the test file will
be correctly listed.

4) However, if I then type 'ls -l !!<tab>' the "$(" becomes "$ (" (with
a space in the middle), and the command fails.  


In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-01-31 on osage
Windowing system distributor `The X.Org Foundation', version 11.0.10902000
configured using `configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64' '--with-gameuser=games' '--with-sound' '--with-x' '--without-gconf' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=athlon64 -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: en_US.UTF-8
  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: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Shell

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<escape> x s h e l l <return> f i n d SPC . SPC - n 
a m e SPC t e s t <return> l s SPC - l SPC ` ! ! ` 
<tab> <return> l s SPC - l SPC $ ( SPC f i n d SPC 
SPC <backspace> . SPC - n a m e SPC t e s t S-SPC ) 
<return> ! ! <tab> <return> <escape> x r e p o <tab> 
r <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
History item: previous [2 times]
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message idna sendmail regexp-opt ecomplete rfc822
mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode
easymenu view ansi-color shell comint ring tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind gtk
x-toolkit x multi-tty emacs)

-- 
David Relson                   Osage Software Systems, Inc.
relson@HIDDEN       Ann Arbor, MI 48103
www.osagesoftware.com



------------=_1297918502-30802-1--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Glenn Morris <rgm@HIDDEN>
Subject: bug#1795: closed (shell problem)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.1795.D8027.129791850130793.ackdone <at> debbugs.gnu.org>
References: <nl1v375k1q.fsf@HIDDEN>
 <20090105230025.440AA7BC87@HIDDEN>
X-Gnu-PR-Message: closed 1795
X-Gnu-PR-Package: emacs
Date: Thu, 17 Feb 2011 04:55:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1297918502-30802-2"

This is a multi-part message in MIME format...

------------=_1297918502-30802-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Thu, 17 Feb 2011 00:04:01 -0500
with message-id <nl1v375k1q.fsf@HIDDEN>
and subject line Re: bug#8027: 23.2; shell problem with $( and !!
has caused the GNU bug report #8027,
regarding shell problem
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


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

------------=_1297918502-30802-2
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by emacsbugs.donarmstrong.com; 5 Jan 2009 23:00:38 +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=2.8 required=4.0 tests=FB_WORD1_END_DOLLAR,
	FH_FROMEML_NOTLD,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.13.8/8.13.8/Debian-3) with ESMTP id n05N0YsW027264
	for <submit@HIDDEN>; Mon, 5 Jan 2009 15:00:35 -0800
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LJyQz-0001VX-N8
	for bug-gnu-emacs@HIDDEN; Mon, 05 Jan 2009 18:00:33 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LJyQu-0001U6-8E
	for bug-gnu-emacs@HIDDEN; Mon, 05 Jan 2009 18:00:33 -0500
Received: from [199.232.76.173] (port=60585 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1LJyQt-0001U3-VQ
	for bug-gnu-emacs@HIDDEN; Mon, 05 Jan 2009 18:00:28 -0500
Received: from osagesoftware.com ([216.144.204.42]:53013 helo=mail.osagesoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <relson@HIDDEN>)
	id 1LJyQt-0005bd-BS
	for bug-gnu-emacs@HIDDEN; Mon, 05 Jan 2009 18:00:27 -0500
Received: from osage (osage.osagesoftware.com [192.168.1.10])
	by mail.osagesoftware.com (Postfix) with SMTP id 440AA7BC87
	for <bug-gnu-emacs@HIDDEN>; Mon,  5 Jan 2009 18:00:25 -0500 (EST)
Received: by osage (sSMTP sendmail emulation); Mon,  5 Jan 2009 18:00:25 -0500
From: relson@osage
Date: Mon,  5 Jan 2009 18:00:25 -0500
To: bug-gnu-emacs@HIDDEN
Subject: shell problem
Message-Id: <20090105230025.440AA7BC87@HIDDEN>
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 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:

Within an emacs bash shell, using "!!" to re-execute a command with
"$( ... )" in it results in a space inserted between the dollar sign
and the left paren.  The inserted space should _not_ be present.

###### Here's the dribble file ######

<escape>xshell<return>ls -l $( 0x2000020locate /.emc<backspace>acs | grep emacs$ 0x2000020)<return>!!<tab><return>exit<return> 0x4000020<escape><session.txt<return>

###### Here's the content of the *shell* window ######

relson@osage ~ $ ls -l $( locate /.emacs | grep emacs$ )
-rwxr--r-- 1 relson relson 1506 1999-05-07 07:34 /home/backuppc/maple/d-drive/Backups/viper/c/.emacs
-rwxr--r-- 1 relson relson 1506 1999-05-07 07:34 /home/backuppc/WinNT/d-drive/Backups/viper/c/.emacs
-rwxr--r-- 1 relson relson 7007 2004-04-10 08:46 /home/nic/home/relson/.emacs
-rwxr-xr-x 1 relson relson 8617 2005-06-27 11:27 /home/relson/Orion/cygwin/.emacs
-rw-r--r-- 1 relson relson 2923 2006-11-02 15:54 /home/relson/Orion/emacs.d/.emacs
-rwxr-xr-x 1 relson relson 6788 2004-12-25 18:03 /home/relson/Orion/emacs.d/emacs-20041225/.emacs
-rwxr-xr-x 1 relson relson 6788 2004-12-25 18:03 /home/relson/Orion/emacs.d/emacs-20050607/.emacs
relson@osage ~ $ ls -l $ ( locate /.emacs | grep emacs$ )
bash: syntax error near unexpected token `('
relson@osage ~ $ exit
exit

Process shell exited abnormally with code 2

###### end of *shell* window contents ######

Note: my home directory, i.e. /home/relson, does _not_ have .emacs file

############################################

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
/usr/share/emacs/22.3/etc/DEBUG for instructions.


In GNU Emacs 22.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-12-30 on osage
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-22' '--infodir=/usr/share/info/emacs-22' '--without-carbon' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-xpm' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=athlon64 -O2 -pipe' 'LDFLAGS=-Wl,-O1''

Important settings:
  value of $LC_ALL: en_US.UTF-8
  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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> C-x C-f s e s <tab> 
<return> C-x C-f d r i <tab> <return> <escape> > C-x 
b <return> <help-echo> <help-echo> <escape> x t r u 
<tab> <return> <escape> x r e p o <tab> r <tab> <r
eturn>

Recent messages:
Loading ansi-color...done
Loading encoded-kb...done
Toggling font-lock-mode off; better pass an explicit argument.
For information about GNU Emacs and the GNU system, type <f1> C-a.
Mark set
Making completion list...
Loading help-mode...done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done




------------=_1297918502-30802-2
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 8027-done) by debbugs.gnu.org; 17 Feb 2011 04:55:01 +0000
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 1PpvtM-00080c-6o
	for submit <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:55:00 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PpvtK-00080Q-Dd
	for 8027-done <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:54:59 -0500
Received: from localhost ([127.0.0.1]:41069)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Ppw25-0002SM-J8; Thu, 17 Feb 2011 00:04:01 -0500
From: Glenn Morris <rgm@HIDDEN>
To: 8027-done <at> debbugs.gnu.org
Subject: Re: bug#8027: 23.2; shell problem with $( and !!
References: <20110214231338.7a1a771c@HIDDEN>
	<20110215073140.2b4f075c@HIDDEN>
	<19802.51716.698530.539068@HIDDEN>
X-Spook: Dateline Saudi Arabia Lon Horiuchi LLNL chameleon man CDC
X-Ran: WPjiED0_W}.=]<tylEk02l'6\^)|hsh,9/^7r2OW\v2L/Y/N6Lzegg?DUa1bM7#%C-5-i4
X-Hue: red
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 17 Feb 2011 00:04:01 -0500
In-Reply-To: <19802.51716.698530.539068@HIDDEN> (Glenn Morris's
	message of "Tue, 15 Feb 2011 13:46:28 -0500")
Message-ID: <nl1v375k1q.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.7 (----)
X-Debbugs-Envelope-To: 8027-done
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: -4.7 (----)

Version: 24.1

As a test, I have set shell-delimiter-argument-list to nil in the Emacs
trunk. It fixes this issue, but may cause other issues.

If it does, maybe add something like shell-delimiter-no-break-re (cf
f90.el) that specifies a list of tokens containing delimiter characters
that are NOT to be broken.


------------=_1297918502-30802-2--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: relson@osage
Subject: bug#1795: closed (Re: bug#8027: 23.2; shell problem with $( and !!)
Message-ID: <handler.1795.D8027.129791850130793.notifdone <at> debbugs.gnu.org>
References: <nl1v375k1q.fsf@HIDDEN>
 <20090105230025.440AA7BC87@HIDDEN>
X-Gnu-PR-Message: they-closed 1795
X-Gnu-PR-Package: emacs
Reply-To: 1795 <at> debbugs.gnu.org
Date: Thu, 17 Feb 2011 04:55:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1297918503-30802-3"

This is a multi-part message in MIME format...

------------=_1297918503-30802-3
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#8027: shell problem

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 1795 <at> debbugs.gnu.org.

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

------------=_1297918503-30802-3
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 8027-done) by debbugs.gnu.org; 17 Feb 2011 04:55:01 +0000
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 1PpvtM-00080c-6o
	for submit <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:55:00 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PpvtK-00080Q-Dd
	for 8027-done <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:54:59 -0500
Received: from localhost ([127.0.0.1]:41069)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Ppw25-0002SM-J8; Thu, 17 Feb 2011 00:04:01 -0500
From: Glenn Morris <rgm@HIDDEN>
To: 8027-done <at> debbugs.gnu.org
Subject: Re: bug#8027: 23.2; shell problem with $( and !!
References: <20110214231338.7a1a771c@HIDDEN>
	<20110215073140.2b4f075c@HIDDEN>
	<19802.51716.698530.539068@HIDDEN>
X-Spook: Dateline Saudi Arabia Lon Horiuchi LLNL chameleon man CDC
X-Ran: WPjiED0_W}.=]<tylEk02l'6\^)|hsh,9/^7r2OW\v2L/Y/N6Lzegg?DUa1bM7#%C-5-i4
X-Hue: red
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 17 Feb 2011 00:04:01 -0500
In-Reply-To: <19802.51716.698530.539068@HIDDEN> (Glenn Morris's
	message of "Tue, 15 Feb 2011 13:46:28 -0500")
Message-ID: <nl1v375k1q.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.7 (----)
X-Debbugs-Envelope-To: 8027-done
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: -4.7 (----)

Version: 24.1

As a test, I have set shell-delimiter-argument-list to nil in the Emacs
trunk. It fixes this issue, but may cause other issues.

If it does, maybe add something like shell-delimiter-no-break-re (cf
f90.el) that specifies a list of tokens containing delimiter characters
that are NOT to be broken.


------------=_1297918503-30802-3
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by emacsbugs.donarmstrong.com; 5 Jan 2009 23:00:38 +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=2.8 required=4.0 tests=FB_WORD1_END_DOLLAR,
	FH_FROMEML_NOTLD,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.13.8/8.13.8/Debian-3) with ESMTP id n05N0YsW027264
	for <submit@HIDDEN>; Mon, 5 Jan 2009 15:00:35 -0800
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1LJyQz-0001VX-N8
	for bug-gnu-emacs@HIDDEN; Mon, 05 Jan 2009 18:00:33 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1LJyQu-0001U6-8E
	for bug-gnu-emacs@HIDDEN; Mon, 05 Jan 2009 18:00:33 -0500
Received: from [199.232.76.173] (port=60585 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1LJyQt-0001U3-VQ
	for bug-gnu-emacs@HIDDEN; Mon, 05 Jan 2009 18:00:28 -0500
Received: from osagesoftware.com ([216.144.204.42]:53013 helo=mail.osagesoftware.com)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <relson@HIDDEN>)
	id 1LJyQt-0005bd-BS
	for bug-gnu-emacs@HIDDEN; Mon, 05 Jan 2009 18:00:27 -0500
Received: from osage (osage.osagesoftware.com [192.168.1.10])
	by mail.osagesoftware.com (Postfix) with SMTP id 440AA7BC87
	for <bug-gnu-emacs@HIDDEN>; Mon,  5 Jan 2009 18:00:25 -0500 (EST)
Received: by osage (sSMTP sendmail emulation); Mon,  5 Jan 2009 18:00:25 -0500
From: relson@osage
Date: Mon,  5 Jan 2009 18:00:25 -0500
To: bug-gnu-emacs@HIDDEN
Subject: shell problem
Message-Id: <20090105230025.440AA7BC87@HIDDEN>
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 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:

Within an emacs bash shell, using "!!" to re-execute a command with
"$( ... )" in it results in a space inserted between the dollar sign
and the left paren.  The inserted space should _not_ be present.

###### Here's the dribble file ######

<escape>xshell<return>ls -l $( 0x2000020locate /.emc<backspace>acs | grep emacs$ 0x2000020)<return>!!<tab><return>exit<return> 0x4000020<escape><session.txt<return>

###### Here's the content of the *shell* window ######

relson@osage ~ $ ls -l $( locate /.emacs | grep emacs$ )
-rwxr--r-- 1 relson relson 1506 1999-05-07 07:34 /home/backuppc/maple/d-drive/Backups/viper/c/.emacs
-rwxr--r-- 1 relson relson 1506 1999-05-07 07:34 /home/backuppc/WinNT/d-drive/Backups/viper/c/.emacs
-rwxr--r-- 1 relson relson 7007 2004-04-10 08:46 /home/nic/home/relson/.emacs
-rwxr-xr-x 1 relson relson 8617 2005-06-27 11:27 /home/relson/Orion/cygwin/.emacs
-rw-r--r-- 1 relson relson 2923 2006-11-02 15:54 /home/relson/Orion/emacs.d/.emacs
-rwxr-xr-x 1 relson relson 6788 2004-12-25 18:03 /home/relson/Orion/emacs.d/emacs-20041225/.emacs
-rwxr-xr-x 1 relson relson 6788 2004-12-25 18:03 /home/relson/Orion/emacs.d/emacs-20050607/.emacs
relson@osage ~ $ ls -l $ ( locate /.emacs | grep emacs$ )
bash: syntax error near unexpected token `('
relson@osage ~ $ exit
exit

Process shell exited abnormally with code 2

###### end of *shell* window contents ######

Note: my home directory, i.e. /home/relson, does _not_ have .emacs file

############################################

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
/usr/share/emacs/22.3/etc/DEBUG for instructions.


In GNU Emacs 22.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.11)
 of 2008-12-30 on osage
Windowing system distributor `The X.Org Foundation', version 11.0.10300000
configured using `configure  '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--program-suffix=-emacs-22' '--infodir=/usr/share/info/emacs-22' '--without-carbon' '--with-sound' '--with-x' '--without-toolkit-scroll-bars' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-xpm' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=athlon64 -O2 -pipe' 'LDFLAGS=-Wl,-O1''

Important settings:
  value of $LC_ALL: en_US.UTF-8
  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: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  encoded-kbd-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> C-x C-f s e s <tab> 
<return> C-x C-f d r i <tab> <return> <escape> > C-x 
b <return> <help-echo> <help-echo> <escape> x t r u 
<tab> <return> <escape> x r e p o <tab> r <tab> <r
eturn>

Recent messages:
Loading ansi-color...done
Loading encoded-kb...done
Toggling font-lock-mode off; better pass an explicit argument.
For information about GNU Emacs and the GNU system, type <f1> C-a.
Mark set
Making completion list...
Loading help-mode...done
Loading emacsbug...
Loading regexp-opt...done
Loading emacsbug...done




------------=_1297918503-30802-3--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Glenn Morris <rgm@HIDDEN>
Subject: bug#5007: closed (23.1; comint history doesn't handle
 multi-character delimiters)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.5007.D8027.129791850130793.ackdone <at> debbugs.gnu.org>
References: <nl1v375k1q.fsf@HIDDEN>
 <19208.8707.951078.487362@HIDDEN>
X-Gnu-PR-Message: closed 5007
X-Gnu-PR-Package: emacs
Date: Thu, 17 Feb 2011 04:55:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1297918503-30802-4"

This is a multi-part message in MIME format...

------------=_1297918503-30802-4
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Thu, 17 Feb 2011 00:04:01 -0500
with message-id <nl1v375k1q.fsf@HIDDEN>
and subject line Re: bug#8027: 23.2; shell problem with $( and !!
has caused the GNU bug report #8027,
regarding 23.1; comint history doesn't handle multi-character delimiters
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


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

------------=_1297918503-30802-4
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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
Subject: 23.1; comint history doesn't handle multi-character delimiters
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]



------------=_1297918503-30802-4
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 8027-done) by debbugs.gnu.org; 17 Feb 2011 04:55:01 +0000
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 1PpvtM-00080c-6o
	for submit <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:55:00 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PpvtK-00080Q-Dd
	for 8027-done <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:54:59 -0500
Received: from localhost ([127.0.0.1]:41069)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Ppw25-0002SM-J8; Thu, 17 Feb 2011 00:04:01 -0500
From: Glenn Morris <rgm@HIDDEN>
To: 8027-done <at> debbugs.gnu.org
Subject: Re: bug#8027: 23.2; shell problem with $( and !!
References: <20110214231338.7a1a771c@HIDDEN>
	<20110215073140.2b4f075c@HIDDEN>
	<19802.51716.698530.539068@HIDDEN>
X-Spook: Dateline Saudi Arabia Lon Horiuchi LLNL chameleon man CDC
X-Ran: WPjiED0_W}.=]<tylEk02l'6\^)|hsh,9/^7r2OW\v2L/Y/N6Lzegg?DUa1bM7#%C-5-i4
X-Hue: red
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 17 Feb 2011 00:04:01 -0500
In-Reply-To: <19802.51716.698530.539068@HIDDEN> (Glenn Morris's
	message of "Tue, 15 Feb 2011 13:46:28 -0500")
Message-ID: <nl1v375k1q.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.7 (----)
X-Debbugs-Envelope-To: 8027-done
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: -4.7 (----)

Version: 24.1

As a test, I have set shell-delimiter-argument-list to nil in the Emacs
trunk. It fixes this issue, but may cause other issues.

If it does, maybe add something like shell-delimiter-no-break-re (cf
f90.el) that specifies a list of tokens containing delimiter characters
that are NOT to be broken.


------------=_1297918503-30802-4--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Mark Diekhans <markd@HIDDEN>
Subject: bug#5007: closed (Re: bug#8027: 23.2; shell problem with $( and !!)
Message-ID: <handler.5007.D8027.129791850130793.notifdone <at> debbugs.gnu.org>
References: <nl1v375k1q.fsf@HIDDEN>
 <19208.8707.951078.487362@HIDDEN>
X-Gnu-PR-Message: they-closed 5007
X-Gnu-PR-Package: emacs
Reply-To: 5007 <at> debbugs.gnu.org
Date: Thu, 17 Feb 2011 04:55:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1297918503-30802-5"

This is a multi-part message in MIME format...

------------=_1297918503-30802-5
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#8027: 23.1; comint history doesn't handle multi-character delimiters

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 5007 <at> debbugs.gnu.org.

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

------------=_1297918503-30802-5
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 8027-done) by debbugs.gnu.org; 17 Feb 2011 04:55:01 +0000
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 1PpvtM-00080c-6o
	for submit <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:55:00 -0500
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1PpvtK-00080Q-Dd
	for 8027-done <at> debbugs.gnu.org; Wed, 16 Feb 2011 23:54:59 -0500
Received: from localhost ([127.0.0.1]:41069)
	by fencepost.gnu.org with esmtp (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Ppw25-0002SM-J8; Thu, 17 Feb 2011 00:04:01 -0500
From: Glenn Morris <rgm@HIDDEN>
To: 8027-done <at> debbugs.gnu.org
Subject: Re: bug#8027: 23.2; shell problem with $( and !!
References: <20110214231338.7a1a771c@HIDDEN>
	<20110215073140.2b4f075c@HIDDEN>
	<19802.51716.698530.539068@HIDDEN>
X-Spook: Dateline Saudi Arabia Lon Horiuchi LLNL chameleon man CDC
X-Ran: WPjiED0_W}.=]<tylEk02l'6\^)|hsh,9/^7r2OW\v2L/Y/N6Lzegg?DUa1bM7#%C-5-i4
X-Hue: red
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 17 Feb 2011 00:04:01 -0500
In-Reply-To: <19802.51716.698530.539068@HIDDEN> (Glenn Morris's
	message of "Tue, 15 Feb 2011 13:46:28 -0500")
Message-ID: <nl1v375k1q.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.7 (----)
X-Debbugs-Envelope-To: 8027-done
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: -4.7 (----)

Version: 24.1

As a test, I have set shell-delimiter-argument-list to nil in the Emacs
trunk. It fixes this issue, but may cause other issues.

If it does, maybe add something like shell-delimiter-no-break-re (cf
f90.el) that specifies a list of tokens containing delimiter characters
that are NOT to be broken.


------------=_1297918503-30802-5
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

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
Subject: 23.1; comint history doesn't handle multi-character delimiters
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]



------------=_1297918503-30802-5--


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 sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: Default value for shell-delimiter-argument-list
References: <87d3mwwwgv.fsf@HIDDEN>
In-Reply-To: <87d3mwwwgv.fsf@HIDDEN>
Resent-From: jemarch@HIDDEN (Jose E. Marchesi)
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 09 Sep 2011 19:16:01 +0000
Resent-Message-ID: <handler.8027.B8027.131559571823287 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.131559571823287
          (code B ref 8027); Fri, 09 Sep 2011 19:16:01 +0000
Received: (at 8027) by debbugs.gnu.org; 9 Sep 2011 19:15:18 +0000
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 1R26Xl-00063A-Kj
	for submit <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:15:17 -0400
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1R26Xj-00060Q-BP
	for 8027 <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:15:16 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>) id 1R26Tl-0006A3-0Q
	for 8027 <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:11:09 -0400
From: jemarch@HIDDEN (Jose E. Marchesi)
Date: Mon, 13 Jun 2011 03:34:43 +0200
Lines: 26
X-Face: &.8`471"Bqook@QSz?twj+X,
	HN7JU%.xw8{mf=i3iGiUu`XvwAX%}*qo[_B$<{lW5qWehjq
	\ESjspv]gCax}/kkJV.@kR])`dPg{i_B\vWC'
X-From-Line: emacs-devel-bounces+rgm=gnu.org@HIDDEN Sun Jun 12 21:43:14 2011
Received: from eggs.gnu.org ([140.186.70.92]:42354)
	by fencepost.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.71) (envelope-from <emacs-devel-bounces+rgm=gnu.org@HIDDEN>)
	id 1QVwBO-0001x4-Kg for rgm@HIDDEN; Sun, 12 Jun 2011 21:43:14 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <emacs-devel-bounces+rgm=gnu.org@HIDDEN>)
	id 1QVwBN-00066M-3J for rgm@HIDDEN; Sun, 12 Jun 2011 21:43:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00,
	T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:34198)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+rgm=gnu.org@HIDDEN>)
	id 1QVwBM-00066I-Nq for rgm@HIDDEN; Sun, 12 Jun 2011 21:43:12 -0400
Received: from localhost ([::1]:50412 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <emacs-devel-bounces+rgm=gnu.org@HIDDEN>)
	id 1QVwBM-00042n-1N for rgm@HIDDEN; Sun, 12 Jun 2011 21:43:12 -0400
Received: from eggs.gnu.org ([140.186.70.92]:58707)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jemarch@HIDDEN>) id 1QVw8j-00042I-B4
	for emacs-devel@HIDDEN; Sun, 12 Jun 2011 21:40:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <jemarch@HIDDEN>) id 1QVw8h-0005iZ-J7
	for emacs-devel@HIDDEN; Sun, 12 Jun 2011 21:40:29 -0400
Received: from fencepost.gnu.org ([140.186.70.10]:36170)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <jemarch@HIDDEN>) id 1QVw8h-0005iV-9V
	for emacs-devel@HIDDEN; Sun, 12 Jun 2011 21:40:27 -0400
Received: from f051225124.adsl.alicedsl.de ([78.51.225.124]:36265
	helo=termi.gnu.org) by fencepost.gnu.org with esmtpa (Exim 4.71)
	(envelope-from <jemarch@HIDDEN>) id 1QVw8g-0001mN-Sk
	for emacs-devel@HIDDEN; Sun, 12 Jun 2011 21:40:27 -0400
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-BeenThere: emacs-devel@HIDDEN
X-Mailman-Version: 2.1.14
Precedence: list
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
Message-ID: <v21uvpsf8z.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -6.6 (------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
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.6 (------)


[ resent from 
http://lists.gnu.org/archive/html/emacs-devel/2011-06/msg00392.html ]

Hi.

Today I tried to cd into a directory named "Introduction & motivation/"
while in shell-mode, by typing I and then TAB.  To my surprise the
resulting expanded and quoted name was "Introduction\\ &\\ motivation"
instead of "Inroduction\\ \\&\\ motivation".

Unfortunately I only realized what was going on after hitting RET and
having bash trying to execute the command "motivation".

Seems that the default value of shell-delimiter-argument-list was
changed to nil as a way to fix bug #8027 [1].  As a consequence the
expanded filenames in shell-mode are not safe to be included in a
command line.

Is that a definitive fix or just a workaround until a better solution is
found for the problem with the !! completion?

[1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8027

-- 
Jose E. Marchesi    jemarch@HIDDEN
GNU Project         http://www.gnu.org




Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: Default value for shell-delimiter-argument-list
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 09 Sep 2011 19:18:02 +0000
Resent-Message-ID: <handler.8027.B8027.131559584124500 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.131559584124500
          (code B ref 8027); Fri, 09 Sep 2011 19:18:02 +0000
Received: (at 8027) by debbugs.gnu.org; 9 Sep 2011 19:17:21 +0000
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 1R26Zl-0006N7-59
	for submit <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:17:21 -0400
Received: from fencepost.gnu.org ([140.186.70.10])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <rgm@HIDDEN>) id 1R26Zj-0006N0-9C
	for 8027 <at> debbugs.gnu.org; Fri, 09 Sep 2011 15:17:19 -0400
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1R26Vl-0006jX-A6; Fri, 09 Sep 2011 15:13:13 -0400
From: Glenn Morris <rgm@HIDDEN>
References: <87d3mwwwgv.fsf@HIDDEN>
	<v21uvpsf8z.fsf@HIDDEN>
X-Spook: Ermes assassination Al-Qaeda SAFE Steve Case dictionary
X-Ran: Vqk_hVbM}ml/<*m]iG~yk.%Y@'B>Q([c6z3}HMgOO5kPy]={Lhn]sc3cjTLt]|sNq!~wiO
X-Hue: black
X-Attribution: GM
Date: Fri, 09 Sep 2011 15:13:13 -0400
In-Reply-To: <v21uvpsf8z.fsf@HIDDEN> (Jose E. Marchesi's message of
	"Mon, 13 Jun 2011 03:34:43 +0200")
Message-ID: <jqwrdhr0l2.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -6.4 (------)
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 (------)


I have reopened this in light of the message I forwarded from
emacs-devel. Probably this change should be reverted and re-done another
way.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: Default value for shell-delimiter-argument-list
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 15 Feb 2012 08:04:02 +0000
Resent-Message-ID: <handler.8027.B8027.132929298320365 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.132929298320365
          (code B ref 8027); Wed, 15 Feb 2012 08:04:02 +0000
Received: (at 8027) by debbugs.gnu.org; 15 Feb 2012 08:03:03 +0000
Received: from localhost ([127.0.0.1]:40955 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1RxZpO-0005IP-N5
	for submit <at> debbugs.gnu.org; Wed, 15 Feb 2012 03:03:03 -0500
Received: from fencepost.gnu.org ([140.186.70.10]:44332 ident=Debian-exim)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1RxZpL-0005I0-7A
	for 8027 <at> debbugs.gnu.org; Wed, 15 Feb 2012 03:03:00 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1RxZnh-0001lF-NP; Wed, 15 Feb 2012 03:01:17 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87d3mwwwgv.fsf@HIDDEN>
	<v21uvpsf8z.fsf@HIDDEN> <jqwrdhr0l2.fsf@HIDDEN>
X-Spook: Project Monarch Islam Abduganievich Karimov White House
X-Ran: GVPAx!K57(xNeR$bF8zG^e'AV]CiQf:!cWqSEZ5hE<SoBZ"=sDq81cn2szRMCPb)a=DjGz
X-Hue: yellow
X-Attribution: GM
Date: Wed, 15 Feb 2012 03:01:17 -0500
In-Reply-To: <jqwrdhr0l2.fsf@HIDDEN> (Glenn Morris's message of
	"Fri, 09 Sep 2011 15:13:13 -0400")
Message-ID: <qofwecikz6.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.2 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
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: -4.2 (----)

Glenn Morris wrote:

> I have reopened this in light of the message I forwarded from
> emacs-devel. Probably this change should be reverted and re-done another
> way.

I reverted it.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#8027: closed (Re: bug#8027: 23.2; shell problem with $( and !!)
Resent-From: Andrew Hyatt <ahyatt@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 26 Jan 2016 04:56:02 +0000
Resent-Message-ID: <handler.8027.B8027.14537841064495 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 8027
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 8027 <at> debbugs.gnu.org
Cc: 1795 <at> debbugs.gnu.org
X-Debbugs-Original-To: help-debbugs@HIDDEN (GNU bug Tracking System)
X-Debbugs-Original-Cc: 1795 <at> debbugs.gnu.org, 8027 <at> debbugs.gnu.org
Received: via spool by 8027-submit <at> debbugs.gnu.org id=B8027.14537841064495
          (code B ref 8027); Tue, 26 Jan 2016 04:56:02 +0000
Received: (at 8027) by debbugs.gnu.org; 26 Jan 2016 04:55:06 +0000
Received: from localhost ([127.0.0.1]:36515 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aNvej-0001AQ-TK
	for submit <at> debbugs.gnu.org; Mon, 25 Jan 2016 23:55:06 -0500
Received: from mail-qg0-f51.google.com ([209.85.192.51]:33059)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <ahyatt@HIDDEN>)
 id 1aNvei-00019s-Iw; Mon, 25 Jan 2016 23:55:04 -0500
Received: by mail-qg0-f51.google.com with SMTP id b35so126769181qge.0;
 Mon, 25 Jan 2016 20:55:04 -0800 (PST)
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;
 bh=nKEvDqeXwXKND/+020aRGzM6osMC5gaflQlM/loSI2U=;
 b=Lo1KRewxu+PlBGiXgfGt9WCcUEhCnzDH5ADuwuTuNFASUz6uxc//pM9pfxQiMnJklx
 rXEeeKrwvuV4Hbck2hKhDV7mvudnccUFAvaitXJISbJsYN41W4K1sJopiyrvfSRT/HYA
 Gkwv998XPpUWp9Q09/a/Ji/VLVMVyBzxLS58to5zh+vphU24NhrmwClhRz2uWPy1Wq25
 hEW6Fz9LyD0L8vmEIQjPnJREng5tipQ2Yt0cUJdG7t6TVUJ6o9ECcWUUsUuIX8ACnQAq
 dAVtvKWN5C+2rci5ZuJMbW+KWrQIWOI1SWU8jC20u7LVJe0HowhDSaCfkIG70HSDxjxy
 +2qw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to
 :message-id:user-agent:mime-version:content-type;
 bh=nKEvDqeXwXKND/+020aRGzM6osMC5gaflQlM/loSI2U=;
 b=QIWuOR2Nvqp5XVHzAUr8B+5+1RsQLb1kwRu/m5YoUXz8ehS+z0PGZngBD/udRUJtSt
 1qvCCgOKYGs70YHFvWhZU8sFbPZaS6WQNO/1VKSaoQ8wRmImzp3D3JtUBBLs6A9xMVNr
 BmUBV/yZ8ClJOHM/v+P7lzJ7rpoA5EP/T6iRjMbPi8skhKu+rGnfAcjek3QFxmjkY/SM
 tTsm4vlVEYef7TlDnQ4857dKu620aaqhebu/+eBn2kfEKkjKMPIoLWlmn60h/wDyQAQ0
 fPRnLbojzV4j4pDADH0PqVPbTn5knC5S3nDvmOkmjSLyoYF7MaDWsSA5vzRY4qmrNql4
 UDIw==
X-Gm-Message-State: AG10YOQ8xCsQhQgNk9THy/JDwzM1R/MlOiHZvxReNMukoLGwWhuMiu/6lF70IWEAoj6tCg==
X-Received: by 10.140.253.3 with SMTP id y3mr27358835qhc.39.1453784099014;
 Mon, 25 Jan 2016 20:54:59 -0800 (PST)
Received: from Andrews-MacBook-Pro.local.ahyatt-laptop
 (cpe-74-73-128-199.nyc.res.rr.com. [74.73.128.199])
 by smtp.gmail.com with ESMTPSA id u78sm10150349qge.27.2016.01.25.20.54.57
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Mon, 25 Jan 2016 20:54:58 -0800 (PST)
From: Andrew Hyatt <ahyatt@HIDDEN>
References: <nl1v375k1q.fsf@HIDDEN>
 <87d3mwwwgv.fsf@HIDDEN>
 <handler.8027.D8027.129791850130793.notifdone <at> debbugs.gnu.org>
Date: Mon, 25 Jan 2016 23:54:56 -0500
In-Reply-To: <handler.8027.D8027.129791850130793.notifdone <at> debbugs.gnu.org>
 (GNU bug Tracking System's message of "Thu, 17 Feb 2011 04:55:02 +0000")
Message-ID: <m2twm12b4v.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (darwin)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
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: -0.7 (/)


This bug has been re-opened due to duplicates, but I'd just like to also
point out that I just tried this Emacs 25, and can reproduce the
original problem.

help-debbugs@HIDDEN (GNU bug Tracking System) writes:

> Your bug report
>
> #8027: 23.2; shell problem with $( and !!
>
> which was filed against the emacs package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 8027 <at> debbugs.gnu.org.
>
> -- 
> 8027: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8027
> GNU Bug Tracking System
> Contact help-debbugs@HIDDEN with problems
>
> From: Glenn Morris <rgm@HIDDEN>
> Subject: Re: bug#8027: 23.2; shell problem with $( and !!
> To: 8027-done <at> debbugs.gnu.org, 1795 <at> debbugs.gnu.org
> Date: Thu, 17 Feb 2011 00:04:01 -0500 (4 years, 48 weeks, 6 days ago)
>
> Version: 24.1
>
> As a test, I have set shell-delimiter-argument-list to nil in the Emacs
> trunk. It fixes this issue, but may cause other issues.
>
> If it does, maybe add something like shell-delimiter-no-break-re (cf
> f90.el) that specifies a list of tokens containing delimiter characters
> that are NOT to be broken.
>
> ----------
>
> From: relson@osage
> Subject: 23.2; shell problem with $( and !!
> To: bug-gnu-emacs@HIDDEN, 1795 <at> debbugs.gnu.org
> Date: Sat, 12 Feb 2011 20:32:16 -0500
> Date: Sat, 12 Feb 2011 20:32:16 -0500 (4 years, 49 weeks, 4 days ago)
>
> In a shell window using "!!<tab>" when the previous command uses "$(
> ... )" improperaly adds a space between the "$" and the "(".
>
> Starting with a directory containg a file named "test", here's how to demonstrate the problem:
>
> 1) In a shell window I can execute "find . -name test" and it'll find the 1
> file that's truly in the current directory.
>
> 2) I can then execute 'ls -l !!<tab>' and the expansion will be "ls -l
> `find . -name  test`" which is correct.
>
> 3) I can also execute 'ls -l $( find . -name test)` and the test file will
> be correctly listed.
>
> 4) However, if I then type 'ls -l !!<tab>' the "$(" becomes "$ (" (with
> a space in the middle), and the command fails.  
>
>
> In GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1)
>  of 2011-01-31 on osage
> Windowing system distributor `The X.Org Foundation', version 11.0.10902000
> configured using `configure  '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-23' '--infodir=/usr/share/info/emacs-23' '--with-crt-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64' '--with-gameuser=games' '--with-sound' '--with-x' '--without-gconf' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--without-xft' '--without-libotf' '--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=athlon64 -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS=''
>
> Important settings:
>   value of $LC_ALL: en_US.UTF-8
>   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: en_US.UTF-8
>   value of $XMODIFIERS: nil
>   locale-coding-system: utf-8-unix
>   default enable-multibyte-characters: t
>
> Major mode: Shell
>
> Minor modes in effect:
>   shell-dirtrack-mode: t
>   tooltip-mode: t
>   mouse-wheel-mode: t
>   tool-bar-mode: t
>   menu-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   blink-cursor-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>   line-number-mode: t
>   transient-mark-mode: t
>
> Recent input:
> <escape> x s h e l l <return> f i n d SPC . SPC - n 
> a m e SPC t e s t <return> l s SPC - l SPC ` ! ! ` 
> <tab> <return> l s SPC - l SPC $ ( SPC f i n d SPC 
> SPC <backspace> . SPC - n a m e SPC t e s t S-SPC ) 
> <return> ! ! <tab> <return> <escape> x r e p o <tab> 
> r <tab> <return>
>
> Recent messages:
> For information about GNU Emacs and the GNU system, type C-h C-a.
> History item: previous [2 times]
> Making completion list...
>
> Load-path shadows:
> None found.
>
> Features:
> (shadow sort mail-extr message idna sendmail regexp-opt ecomplete rfc822
> mml mml-sec password-cache mm-decode mm-bodies mm-encode mailcap
> mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader
> gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit
> mailheader canlock sha1 hex-util hashcash mail-utils emacsbug help-mode
> easymenu view ansi-color shell comint ring tooltip ediff-hook vc-hooks
> lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
> lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
> mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
> georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
> korean japanese hebrew greek romanian slovak czech european ethiopic
> indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
> abbrev loaddefs button minibuffer faces cus-face files text-properties
> overlay md5 base64 format env code-pages mule custom widget
> hashtable-print-readable backquote make-network-process dbusbind gtk
> x-toolkit x multi-tty emacs)




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.