GNU bug report logs - #1795
shell problem

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: relson@osage; merged with #5007, #8027; dated Mon, 5 Jan 2009 23:10:05 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.
bug No longer marked as fixed in versions 24.1. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug unarchived. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
bug archived. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.
Merged 1795 5007 8027. Request was from Glenn Morris <rgm@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Merged 1795 5007. Request was from Glenn Morris <rgm@HIDDEN> to control@HIDDEN. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control@HIDDEN. Full text available.

Message received at 1795@HIDDEN:


Received: (at 1795) by emacsbugs.donarmstrong.com; 13 Nov 2009 00:00:12 +0000
From relson@HIDDEN Thu Nov 12 16:00:11 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-0.0 required=4.0 tests=SPF_HELO_PASS autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from mail.osagesoftware.com (osagesoftware.com [216.144.204.42])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAD009Sq007288
	for <1795@HIDDEN>; Thu, 12 Nov 2009 16:00:10 -0800
Received: from osage.osagesoftware.com (osage.osagesoftware.com [192.168.1.10])
	by mail.osagesoftware.com (Postfix) with ESMTP id 33B242331
	for <1795@HIDDEN>; Thu, 12 Nov 2009 19:00:05 -0500 (EST)
Date: Thu, 12 Nov 2009 19:00:05 -0500
From: David Relson <relson@HIDDEN>
To: <1795 <at> debbugs.gnu.org>
Subject: shell regressions
Message-ID: <20091112190005.1111da09@HIDDEN>
Organization: Osage Software Systems, Inc.
X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Two problems with the fix:

1) "!1" (bang, one) -- continues to insert a space between "$" and "("
2) "!$" (bang, dollar) -- pulls in the complete previous line, not just
the line's last token.



Acknowledgement sent to David Relson <relson@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#1795; Package emacs. Full text available.

Message received at 1795-done@HIDDEN:


Received: (at 1795-done) by emacsbugs.donarmstrong.com; 3 Nov 2009 00:40:16 +0000
From cyd@HIDDEN Mon Nov  2 16:40:16 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-0.3 required=4.0 tests=AWL autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from pantheon-po27.its.yale.edu (pantheon-po27.its.yale.edu [130.132.50.122])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA30eEZl023146
	for <1795-done@HIDDEN>; Mon, 2 Nov 2009 16:40:16 -0800
Received: from furry (adsl-99-69-52-129.dsl.wlfrct.sbcglobal.net [99.69.52.129])
	(authenticated bits=0)
	by pantheon-po27.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nA30e8xv004426
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Mon, 2 Nov 2009 19:40:09 -0500
Received: by furry (Postfix, from userid 1000)
	id E913FC070; Mon,  2 Nov 2009 19:40:07 -0500 (EST)
From: Chong Yidong <cyd@HIDDEN>
To: "Relson\, David" <david.relson@HIDDEN>
Cc: 1795-done <at> debbugs.gnu.org
Subject: Re: shell problem
Date: Mon, 02 Nov 2009 19:40:07 -0500
Message-ID: <874opc7860.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed)

> 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.

Sorry for the delay; I've just checked a fix into CVS trunk.  Thanks for
the bug report.



Notification sent to relson@osage:
bug acknowledged by developer. Full text available.
Reply sent to Chong Yidong <cyd@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 1795@HIDDEN:


Received: (at 1795) by emacsbugs.donarmstrong.com; 29 Jan 2009 15:41:07 +0000
From david.relson@HIDDEN Thu Jan 29 07:41:07 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=0.0 required=4.0 tests=none autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from barracuda.orion-sys.com (barracuda.orion-sys.com [192.149.240.6])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0TFf4OI003118
	for <1795@HIDDEN>; Thu, 29 Jan 2009 07:41:06 -0800
X-ASG-Debug-ID: 1233243500-7b2300260000-tiHMB2
X-Barracuda-URL: http://192.149.240.6:8000/cgi-bin/mark.cgi
Received: from mailsvr.orion-sys.com (localhost [127.0.0.1])
	by barracuda.orion-sys.com (Spam Firewall) with ESMTP id 742BA202DFB1
	for <1795@HIDDEN>; Thu, 29 Jan 2009 10:38:43 -0500 (EST)
Received: from mailsvr.orion-sys.com (mailsvr.orion-sys.com [192.149.240.91]) by barracuda.orion-sys.com with ESMTP id kVOHSbDzsAtEAmuP for <1795@HIDDEN>; Thu, 29 Jan 2009 10:38:41 -0500 (EST)
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
X-ASG-Orig-Subj: inserted spaces
Subject: inserted spaces
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Thu, 29 Jan 2009 10:37:52 -0500
Message-ID: <91FA647A1A781F41BBB0359765C90C15C2E3E6@HIDDEN>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: inserted spaces
Thread-Index: AcmCJ4xqehom6RPPSx6NrNNNzIoKDw==
From: "Relson, David" <david.relson@HIDDEN>
To: <1795 <at> debbugs.gnu.org>
X-Barracuda-Connect: mailsvr.orion-sys.com[192.149.240.91]
X-Barracuda-Start-Time: 1233243562
X-Barracuda-Virus-Scanned: by Barracuda Spam Firewall at orion-sys.com

Recalling previous commands inserts spaces in other cases besides "$(".
For example,=20

   ">|" becomes "> |"
   "2>&1" becomes "2 > & 1"





Acknowledgement sent to "Relson, David" <david.relson@HIDDEN>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Information forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#1795; Package emacs. Full text available.

Message received at submit@HIDDEN:


Received: (at submit) by emacsbugs.donarmstrong.com; 5 Jan 2009 23:00:38 +0000
From relson@HIDDEN Mon Jan  5 15:00:38 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: **
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=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





Acknowledgement sent to relson@osage:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs@HIDDEN>. Full text available.
Report forwarded to bug-submit-list@HIDDEN, Emacs Bugs <bug-gnu-emacs@HIDDEN>:
bug#1795; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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