unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#3250: Re: bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil
@ 2009-05-10 21:50 Chong Yidong
  2009-05-10 21:53 ` Chris Withers
  0 siblings, 1 reply; 12+ messages in thread
From: Chong Yidong @ 2009-05-10 21:50 UTC (permalink / raw)
  To: Chris Withers; +Cc: 3250

> fwiw, not sure this is tramp related, I've had similar weirdity when
> just opening local files with (setq insert-default-directory nil).
> The minibuffer just seems to get lost as to which directory it's in...

Your description is too vague.  Please give exact, step by step
instructions about how to see this bug.






^ permalink raw reply	[flat|nested] 12+ messages in thread
* bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil
@ 2009-05-09 17:37 Chris Withers
  2009-05-09 22:37 ` Stefan Monnier
  0 siblings, 1 reply; 12+ messages in thread
From: Chris Withers @ 2009-05-09 17:37 UTC (permalink / raw)
  To: emacs-pretest-bug

With the following in my .emacs:

(setq insert-default-directory nil)

tab completion when using tramp to access a remote file becomes flakey.
It seems that the notion of the current working directory becomes lost,
so tab completion ends up with doubled up directories, eg:

/home/chris/afolder/afolder

...where afolder doesn't exist, resulting in errors such as the following:

File error: tramp-handle-file-name-all-completions: Couldn't `cd 
/home/chris/afolder/afolder/'

This doesn't happen right away, but I usually end up bumping into it 
when navigating
around a folder structure by inserting .. a number of times in the 
minibuffer window.

In GNU Emacs 23.0.93.1 (i386-mingw-nt5.1.2600)
  of 2009-05-02 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

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: ENG
   value of $XMODIFIERS: nil
   locale-coding-system: cp1252
   default-enable-multibyte-characters: t

Major mode: GNUmakefile

Minor modes in effect:
   shell-dirtrack-mode: t
   cua-mode: t
   tooltip-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
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t

-- 
Simplistix - Content Management, Zope & Python Consulting
            - http://www.simplistix.co.uk






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

end of thread, other threads:[~2009-05-11 14:13 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-10 21:50 bug#3250: Re: bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil Chong Yidong
2009-05-10 21:53 ` Chris Withers
2009-05-10 22:04   ` Chong Yidong
2009-05-10 22:05     ` Chris Withers
2009-05-10 22:24       ` Chong Yidong
2009-05-10 22:42         ` Chris Withers
2009-05-11  3:30           ` Stefan Monnier
2009-05-11  8:13             ` Chris Withers
2009-05-11 14:13               ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2009-05-09 17:37 Chris Withers
2009-05-09 22:37 ` Stefan Monnier
2009-05-09 22:51   ` Chris Withers

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).