all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1025: 23.0.60; file name completion fails in *shell* buffer
@ 2008-09-25 15:09 ` Peter Dyballa
  2008-09-25 19:35   ` bug#1025: marked as done (23.0.60; file name completion fails in *shell* buffer) Emacs bug Tracking System
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Dyballa @ 2008-09-25 15:09 UTC (permalink / raw)
  To: emacs-pretest-bug

Hello!

When I write in *shell* buffer the command to launch an elderly  
version of an Emacs application in Mac OS X to pass some arguments to  
it, I use file name completion. I have to do it in steps. I start  
with <SPC> that GNU Emacs does not complain when I later try file  
name completion and write then "/App" <TAB> that it becomes / 
Applications/. I add "Aqu" and <TAB>. The path name is now expanded  
to "/Applications/AquaEmacs" with a few choices which are shown in a  
*Completions* buffer upon next TAB press:

	Click <mouse-2> on a completion to select it.
	In this buffer, type RET to select the completion near point.
	
	Possible completions are:
	AquaEmacs-2a.app/ 	AquaEmacs-bundle.app/ 	AquaEmacs-pre3.app/
	AquaEmacs-zuvor.app/ 	AquaEmacs.app/ 	AquaEmacs\ 8.0-rc5.app/

I select the last item, i.e. "AquaEmacs\ 8.0-rc5.app/" so that the  
command line now shows "/Applications/AquaEmacs\ 8.0-rc5.app/". This  
directory has only one member: "Contents". So I hit <TAB> and see: "/ 
Applications/AquaEmacs 8.0-rc5.app/Contents/". Great! The auxiliary  
backslashes are removed from the previously ugly view. This directory  
has a few members. To make a choice I hit again <TAB>. In *shell*  
buffer nothing happens, a beep sounds, and a *Backtrace* buffer opens:

	Debugger entered--Lisp error: (file-error "Opening directory" "no  
such file or directory" "/Users/pete/8.0-rc5.app/Contents/")
	  file-name-completion("" "/Users/pete/8.0-rc5.app/Contents/")
	  comint-dynamic-complete-as-filename()
	  shell-dynamic-complete-filename()
	  run-hook-with-args-until-success(shell-dynamic-complete-filename)
	  comint-dynamic-complete()
	  call-interactively(comint-dynamic-complete nil nil)

So it seems that the decision to remove the backslashes wasn't so  
clever ...


In GNU Emacs 23.0.60.4 (powerpc-apple-darwin8.11.0, GTK+ Version  
2.12.11)
  of 2008-09-22 on localhost
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--enable-locallisppath=/Library/ 
Application Support/Emacs/calendar23:/Library/Application Support/ 
Emacs/caml:/Library/Application Support/Emacs:/sw/share/emacs21/site- 
lisp/elib' 'PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/lib/ 
fontconfig2/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/ 
pango-ft219/lib/pkgconfig:/sw/lib/qt4-x11/lib/pkgconfig:/sw/lib/ 
system-openssl/lib/pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/ 
usr/X11R6/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig'  
'CFLAGS=-Wno-pointer-sign -bind_at_load -H -pipe -fPIC -mcpu=7450 - 
mtune=7450 -fast -mpim-altivec -ftree-vectorize -foptimize-register- 
move -freorder-blocks -freorder-blocks-and-partition -fthread-jumps - 
fpeephole -fno-crossjumping' 'CPPFLAGS=-no-cpp-precomp' 'LDFLAGS=- 
bind_at_load -dead_strip -multiply_defined suppress -L/sw/lib/ncurses''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Debugger

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

Recent input:
<help-echo> <down-mouse-1> <mouse-1> <escape> x s h
e l l <return> <down-mouse-1> <mouse-1> <down-mouse-2>
<mouse-2> C-x u o <backspace> SPC / A p p <tab> A q
u <tab> <tab> <down-mouse-2> <mouse-2> <tab> <tab>
<down-mouse-1> <mouse-1> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

--
Greetings

   Pete

Mac OS X is like a wigwam: no fences, no gates, but an apache inside.








^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#1025: marked as done (23.0.60; file name completion fails in  *shell* buffer)
  2008-09-25 15:09 ` bug#1025: 23.0.60; file name completion fails in *shell* buffer Peter Dyballa
@ 2008-09-25 19:35   ` Emacs bug Tracking System
  0 siblings, 0 replies; 2+ messages in thread
From: Emacs bug Tracking System @ 2008-09-25 19:35 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]


Your message dated Thu, 25 Sep 2008 15:27:10 -0400
with message-id <87abdwrppt.fsf@cyd.mit.edu>
and subject line Re: 23.0.60; file name completion fails in *shell* buffer
has caused the Emacs bug report #1025,
regarding 23.0.60; file name completion fails in *shell* buffer
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact don@donarmstrong.com
immediately.)


-- 
1025: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1025
Emacs Bug Tracking System
Contact don@donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 6519 bytes --]

From: Peter Dyballa <Peter_Dyballa@Freenet.DE>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; file name completion fails in *shell* buffer
Date: Thu, 25 Sep 2008 17:09:07 +0200
Message-ID: <8BEC6757-4D48-4BE0-89CC-C95DE2FF7388@Freenet.DE>

Hello!

When I write in *shell* buffer the command to launch an elderly  
version of an Emacs application in Mac OS X to pass some arguments to  
it, I use file name completion. I have to do it in steps. I start  
with <SPC> that GNU Emacs does not complain when I later try file  
name completion and write then "/App" <TAB> that it becomes / 
Applications/. I add "Aqu" and <TAB>. The path name is now expanded  
to "/Applications/AquaEmacs" with a few choices which are shown in a  
*Completions* buffer upon next TAB press:

	Click <mouse-2> on a completion to select it.
	In this buffer, type RET to select the completion near point.
	
	Possible completions are:
	AquaEmacs-2a.app/ 	AquaEmacs-bundle.app/ 	AquaEmacs-pre3.app/
	AquaEmacs-zuvor.app/ 	AquaEmacs.app/ 	AquaEmacs\ 8.0-rc5.app/

I select the last item, i.e. "AquaEmacs\ 8.0-rc5.app/" so that the  
command line now shows "/Applications/AquaEmacs\ 8.0-rc5.app/". This  
directory has only one member: "Contents". So I hit <TAB> and see: "/ 
Applications/AquaEmacs 8.0-rc5.app/Contents/". Great! The auxiliary  
backslashes are removed from the previously ugly view. This directory  
has a few members. To make a choice I hit again <TAB>. In *shell*  
buffer nothing happens, a beep sounds, and a *Backtrace* buffer opens:

	Debugger entered--Lisp error: (file-error "Opening directory" "no  
such file or directory" "/Users/pete/8.0-rc5.app/Contents/")
	  file-name-completion("" "/Users/pete/8.0-rc5.app/Contents/")
	  comint-dynamic-complete-as-filename()
	  shell-dynamic-complete-filename()
	  run-hook-with-args-until-success(shell-dynamic-complete-filename)
	  comint-dynamic-complete()
	  call-interactively(comint-dynamic-complete nil nil)

So it seems that the decision to remove the backslashes wasn't so  
clever ...


In GNU Emacs 23.0.60.4 (powerpc-apple-darwin8.11.0, GTK+ Version  
2.12.11)
  of 2008-09-22 on localhost
Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--enable-locallisppath=/Library/ 
Application Support/Emacs/calendar23:/Library/Application Support/ 
Emacs/caml:/Library/Application Support/Emacs:/sw/share/emacs21/site- 
lisp/elib' 'PKG_CONFIG_PATH=/sw/lib/xft2/lib/pkgconfig:/sw/lib/ 
fontconfig2/lib/pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/ 
pango-ft219/lib/pkgconfig:/sw/lib/qt4-x11/lib/pkgconfig:/sw/lib/ 
system-openssl/lib/pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/ 
usr/X11R6/lib/pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig'  
'CFLAGS=-Wno-pointer-sign -bind_at_load -H -pipe -fPIC -mcpu=7450 - 
mtune=7450 -fast -mpim-altivec -ftree-vectorize -foptimize-register- 
move -freorder-blocks -freorder-blocks-and-partition -fthread-jumps - 
fpeephole -fno-crossjumping' 'CPPFLAGS=-no-cpp-precomp' 'LDFLAGS=- 
bind_at_load -dead_strip -multiply_defined suppress -L/sw/lib/ncurses''

Important settings:
   value of $LC_ALL: nil
   value of $LC_COLLATE: nil
   value of $LC_CTYPE: de_DE.UTF-8
   value of $LC_MESSAGES: nil
   value of $LC_MONETARY: nil
   value of $LC_NUMERIC: nil
   value of $LC_TIME: nil
   value of $LANG: de_DE.UTF-8
   value of $XMODIFIERS: nil
   locale-coding-system: utf-8-unix
   default-enable-multibyte-characters: t

Major mode: Debugger

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

Recent input:
<help-echo> <down-mouse-1> <mouse-1> <escape> x s h
e l l <return> <down-mouse-1> <mouse-1> <down-mouse-2>
<mouse-2> C-x u o <backspace> SPC / A p p <tab> A q
u <tab> <tab> <down-mouse-2> <mouse-2> <tab> <tab>
<down-mouse-1> <mouse-1> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu>
<send-emacs-bug-report>

--
Greetings

   Pete

Mac OS X is like a wigwam: no fences, no gates, but an apache inside.





[-- Attachment #3: Type: message/rfc822, Size: 1029 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Peter Dyballa <Peter_Dyballa@Freenet.DE>
Cc: 1025-done@emacsbugs.donarmstrong.com
Subject: Re: 23.0.60; file name completion fails in *shell* buffer
Date: Thu, 25 Sep 2008 15:27:10 -0400
Message-ID: <87abdwrppt.fsf@cyd.mit.edu>

I've just checked in a fix.  Thanks.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-09-25 19:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <87abdwrppt.fsf@cyd.mit.edu>
2008-09-25 15:09 ` bug#1025: 23.0.60; file name completion fails in *shell* buffer Peter Dyballa
2008-09-25 19:35   ` bug#1025: marked as done (23.0.60; file name completion fails in *shell* buffer) Emacs bug Tracking System

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.