all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#704: 23.0.60; buggy file name completion in *shell* buffer
@ 2008-08-12 21:18 Peter Dyballa
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2008-08-12 21:18 UTC (permalink / raw)
  To: emacs-pretest-bug

Hello!

In recent GNU Emacs 23.0.60

	In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
	 of 2008-08-09 on Latsche.local
	Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
	configured using `configure  '--without-sound' '--without-pop' '-- 
with-dbus' '--with-libotf' '--with-x-toolkit=athena' '--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/freetype219/ 
lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/qt4-x11/lib/ 
pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/pkgconfig:/ 
usr/local/lib/pkgconfig:/usr/X11R6/lib/pkgconfig' 'CFLAGS=-ggdb - 
gfull -H -Wno-pointer-sign -bind_at_load -pipe -fPIC -mcpu=7450 - 
mtune=7450 -mno-powerpc64 -fast -mpim-altivec -ftree-vectorize -fno- 
crossjumping' 'CPPFLAGS=-no-cpp-precomp -I/sw/include -I/usr/local/ 
include -idirafter /usr/X11R6/include' 'LDFLAGS=-bind_at_load - 
dead_strip -multiply_defined suppress -L/sw/lib/ncurses -L/sw/lib -L/ 
usr/local/lib -L/usr/X11R6/lib''
	
	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: nil
	  value of $XMODIFIERS: nil
	  locale-coding-system: nil
	  default-enable-multibyte-characters: t
	
	Major mode: Shell
	
	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

I invoke 'M-x shell RET'. Tcsh is my login shell. No ~/.tcshrc file  
exists. For tests I renamed ~/.cshrc. ~/.emacs_tcsh has this contents  
to have a rather clean environment:

	foreach ENV (`env | awk -F= '{print $1}'`)
	  unsetenv $ENV
	end
	echo -n "Environment deleted. Proof: the env command's output..."
	env
	unset addsuffix autocorrect autoexpand autolist cdpath correct  
dextract dunique echo_style fignore inputmode killring listjobs  
matchbeep nokanji nokanji nostat owd pushdtohome recexact savehist  
symlinks user_tcsh_initdir default_tcsh_initdir dir tcsh_initdir  
framework_path histfile history host shlvl
	set

When I type in *shell* buffer 'ls -l /usr/ TAB' and pick 'bin/' from  
the *Completions* window, the text in *shell* I had already is  
substituted to 'bin/'. The *Completions* window shows:

	Click <mouse-2> on a completion to select it.
	In this buffer, type RET to select the completion near point.
	
	Possible completions are:
	../           ./          X11-vorher/  X11/         X11R6/           
X11R7.1/
	X11R7.2/      bin/        include/     lib/         libexec/         
local/
	sbin/         share/      standalone/  texbin

'env' shows nothing, 'set' shows these:

	_	
	argv	()
	cwd	/Users/pete
	dirstack	/Users/pete
	gid	501
	group	pete
	home	/Users/pete
	interactive	
	path	(/Library/Frameworks/Python.framework/Versions/Current/bin / 
Users/pete/bin /sw/lib/freetype219/bin /sw/lib/fontconfig2/bin /usr/ 
local/bin /usr/local/ActivePerl-5.10/bin /usr/local/gwTeX/bin/bin / 
usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /sw/bin /sw/lib/coreutils/ 
bin /Developer/Tools)
	prompt	[%m:%c3] %n%#
	prompt2	%R ->
	prompt3	OK? %R?
	promptchars	%#
	shell	/bin/tcsh
	status	0
	tcsh	6.12.00
	term	dumb
	tty	ttypd
	uid	501
	user	pete
	version	tcsh 6.12.00 (Astron) 2002-07-23 (powerpc-apple-darwin)  
options 8b,nls,dl,al,kan,sm,rh,color,dspm,filec

The same behaviour shows bash, that I start with 'bash -li' or Korn  
shell that I start with a simple 'ksh' or zsh that I start with a  
simple 'zsh' or another bash ... In *terminal* buffer I don't see the  
same. In *eshell* I can try choose from *Completions* but get told in  
echo-area: "Text is read-only."


In this elder version of GNU Emacs 23.0.60 file name completion works  
fine in *shell*:

	In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, X toolkit, Xaw3d  
scroll bars)
	 of 2008-01-04 on Latsche.local
	Windowing system distributor `The XFree86 Project, Inc', version  
11.0.40400000
	configured using `configure  '--with-x-toolkit=lucid' '--without- 
gtk' '--with-dbus' '--without-sound' '--without-pop' '--with-xpm' '-- 
with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--enable- 
locallisppath=/Library/Application Support/Emacs/calendar22:/Library/ 
Application Support/Emacs/caml:/Library/Application Support/Emacs:/sw/ 
share/emacs21/site-lisp/elib' 'PKG_CONFIG_PATH=/sw/lib/freetype219/ 
lib/pkgconfig:/sw/lib/fontconfig2/lib/pkgconfig:/sw/lib/pkgconfig:/sw/ 
lib/system-openssl/lib/pkgconfig:/sw/share/pkgconfig:/usr/lib/ 
pkgconfig:/usr/local/lib/pkgconfig:/usr/local/clamXav/lib/pkgconfig:/ 
usr/local/lib/pkgconfig' 'CPPFLAGS=-no-cpp-precomp -D__BIND_NOSTATIC - 
I/usr/include/openssl -I/sw/include/pango-1.0 -I/sw/lib/fontconfig2/ 
include -I/sw/lib/freetype219/include -I/sw/lib/freetype219/include/ 
freetype2 -I/sw/include -I/usr/local/include -idirafter /usr/X11R6/ 
include' 'CXXFLAGS=-no-cpp-precomp -I/usr/include/openssl -I/sw/ 
include/pango-1.0 -I/sw/lib/fontconfig2/include -I/sw/lib/freetype219/ 
include -I/sw/lib/freetype219/include/freetype2 -I/sw/include -I/usr/ 
local/include' 'CFLAGS=-bind_at_load -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 -Wno-pointer-sign' 'LDFLAGS=-dead_strip - 
multiply_defined suppress -L/sw/lib/ncurses -L/sw/lib/fontconfig2/lib  
-L/sw/lib/freetype219/lib -L/sw/lib -L/usr/local/lib -L/usr/X11R6/lib''
	
	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: Shell
	
	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-compression-mode: t
	  column-number-mode: t
	  line-number-mode: t
	  transient-mark-mode: t

It doesn't work completely, meanwhile. A C-x d leads to an error:

	Debugger entered--Lisp error: (void-function completion-table-in-turn)
	  completion-table-in-turn((lambda (&rest --cl-rest--) (apply #[...  
"…" [G40608 G40609 read-file-name-predicate action str lambda ...  
apply #[... "…" [f G40606 ... 47 string-match] 3] quote --cl-rest--  
complete-with-action read-file-name-internal nil] 7] (quote --cie--)  
(quote --default--) --cl-rest--)) read-file-name-internal)
	  dired-read-dir-and-switches("")
	  call-interactively(dired nil nil)

and *Messages* contains:

	Note, built-in variable `word-wrap' not bound
	Note, built-in variable `shift-select-mode' not bound
	Note, built-in variable `delete-by-moving-to-trash' not bound
	Note, built-in variable `read-buffer-completion-ignore-case' not bound
	Note, built-in variable `underline-minimum-offset' not bound

but it still proves that shell-mode once worked correctly in GNU  
Emacs 23.0.60.


ls -lt /usr/local/bin/emacs*
-rwxr-xr-t 2 root admin 22341300  9. Aug 13:21 /usr/local/bin/emacs
-rwxr-xr-t 2 root admin 22341300  9. Aug 13:21 /usr/local/bin/ 
emacs-23.0.60
-rwxr-xr-x 1 root admin    39576  9. Aug 13:21 /usr/local/bin/ 
emacsclient
-rwxr-xr-t 1 root admin  7444704 17. Apr 12:59 /usr/local/bin/emacs-22.2
-rwxr-xr-t 1 root admin  7910316 30. Jan 2008  /usr/local/bin/ 
emacs-23.0.50
-rwxr-xr-t 1 root admin 21404344  4. Jan 2008  /usr/local/bin/ 
emacs-23.0.60-alt
-rwxr-xr-t 1 root admin 21236840  8. Okt 2007  /usr/local/bin/ 
emacs-23.0.0
-rwxr-xr-t 1 root admin  7461232 26. Aug 2007  /usr/local/bin/ 
emacs-22.1.50



--
Greetings

   Pete

It isn't pollution that's harming the environment. It's the  
impurities in our air and water that are doing it.









^ permalink raw reply	[flat|nested] 3+ messages in thread
* bug#704: 23.0.60; buggy file name completion in *shell* buffer
@ 2008-09-25  4:09 Chong Yidong
  2008-09-25  8:38 ` Peter Dyballa
  0 siblings, 1 reply; 3+ messages in thread
From: Chong Yidong @ 2008-09-25  4:09 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: 704

> When I type in *shell* buffer 'ls -l /usr/ TAB' and pick 'bin/' from  
> the *Completions* window, the text in *shell* I had already is  
> substituted to 'bin/'. The *Completions* window shows:
>
> Click <mouse-2> on a completion to select it.
> In this buffer, type RET to select the completion near
> point.
            
> Possible completions are:
> ../           ./          X11-vorher/  X11/         X11R6/           
> X11R7.1/
> X11R7.2/      bin/        include/     lib/         libexec/         
> local/
> sbin/         share/      standalone/  texbin

I don't see the problem on latest CVS.  Does it still happen for you?






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

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

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-12 21:18 bug#704: 23.0.60; buggy file name completion in *shell* buffer Peter Dyballa
  -- strict thread matches above, loose matches on Subject: below --
2008-09-25  4:09 Chong Yidong
2008-09-25  8:38 ` Peter Dyballa

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.