emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-bug-tracker] bug#1795: closed (shell problem)


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#1795: closed (shell problem)
Date: Thu, 17 Feb 2011 04:55:02 +0000

Your message dated Thu, 17 Feb 2011 00:04:01 -0500
with message-id <address@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
address@hidden)


-- 
8027: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8027
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: shell problem Date: Mon, 5 Jan 2009 18:00:25 -0500
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 address@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 ######

address@hidden ~ $ 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
address@hidden ~ $ ls -l $ ( locate /.emacs | grep emacs$ )
bash: syntax error near unexpected token `('
address@hidden ~ $ 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




--- End Message ---
--- Begin Message --- Subject: Re: bug#8027: 23.2; shell problem with $( and !! Date: Thu, 17 Feb 2011 00:04:01 -0500 User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
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.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]