* 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; 9+ 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] 9+ messages in thread
* bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil
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
0 siblings, 1 reply; 9+ messages in thread
From: Chris Withers @ 2009-05-10 21:53 UTC (permalink / raw)
To: Chong Yidong; +Cc: 3250
Chong Yidong wrote:
>> 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.
It's a pretty vague bug :-S
Try:
-(setq insert-default-directory nil) in .emacs
-restart
C-x C-f
..
- then try using tab completion
Trying to get into a parent or the current directory and then using tab
completion seems to be the root of the problem. I don't know any way of
doing that other than using '../' as a path, and that seems to be what
causes the problem.
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil
2009-05-10 21:53 ` Chris Withers
@ 2009-05-10 22:04 ` Chong Yidong
2009-05-10 22:05 ` Chris Withers
0 siblings, 1 reply; 9+ messages in thread
From: Chong Yidong @ 2009-05-10 22:04 UTC (permalink / raw)
To: Chris Withers; +Cc: 3250
Chris Withers <chris@simplistix.co.uk> writes:
> -(setq insert-default-directory nil) in .emacs
> -restart
> C-x C-f
> ..
> - then try using tab completion
Pressing TAB shows the contents of my home directory. This is expected
behavior. What behavior do you observe?
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil
2009-05-10 22:04 ` Chong Yidong
@ 2009-05-10 22:05 ` Chris Withers
2009-05-10 22:24 ` Chong Yidong
0 siblings, 1 reply; 9+ messages in thread
From: Chris Withers @ 2009-05-10 22:05 UTC (permalink / raw)
To: Chong Yidong; +Cc: 3250
Chong Yidong wrote:
> Chris Withers <chris@simplistix.co.uk> writes:
>
>> -(setq insert-default-directory nil) in .emacs
>> -restart
>> C-x C-f
>> ..
>> - then try using tab completion
>
> Pressing TAB shows the contents of my home directory. This is expected
> behavior. What behavior do you observe?
Did you do the all important '..' to go to a parent directory?
Did you then try and tab-complete into a sub-directory?
Did you have (setq insert-default-directory nil) set in your .emacs file?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil
2009-05-10 22:05 ` Chris Withers
@ 2009-05-10 22:24 ` Chong Yidong
2009-05-10 22:42 ` Chris Withers
0 siblings, 1 reply; 9+ messages in thread
From: Chong Yidong @ 2009-05-10 22:24 UTC (permalink / raw)
To: Chris Withers; +Cc: 3250
Chris Withers <chris@simplistix.co.uk> writes:
>>> -(setq insert-default-directory nil) in .emacs
>>> -restart
>>> C-x C-f
>>> ..
>>> - then try using tab completion
>>
>> Pressing TAB shows the contents of my home directory. This is expected
>> behavior. What behavior do you observe?
>
> Did you do the all important '..' to go to a parent directory?
After typing `..', I type TAB. The text in the minibuffer completes to
../
After typing TAB again, Emacs offers a completions list showing the
directories in /home. This is expected.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil
2009-05-10 22:24 ` Chong Yidong
@ 2009-05-10 22:42 ` Chris Withers
2009-05-11 3:30 ` Stefan Monnier
0 siblings, 1 reply; 9+ messages in thread
From: Chris Withers @ 2009-05-10 22:42 UTC (permalink / raw)
To: Chong Yidong; +Cc: 3250
Chong Yidong wrote:
>> Did you do the all important '..' to go to a parent directory?
>
> After typing `..', I type TAB. The text in the minibuffer completes to
>
> ../
>
> After typing TAB again, Emacs offers a completions list showing the
> directories in /home. This is expected.
Okay, here's what I did:
- open a file in a folder
- C-x C-f
- .. TAB to go to parent folder of the folder containing the file you opened
- type 'so' and hit TAB
- minibuffer now shows "../something/", *Completions* shows contents of
'something' folder
- now delete all characters in the minibuffer with backspace
- hit TAB, *Completions* still shows contents of 'something' folder
- type first two characters of a name in *Completions*, no completion
happens [1]
- delete those two characters
- type 'so' and hit TAB
- minibuffer now shows "something/"
- hitting TAB one or two more times and *Completions* once more shows
the contents of 'something' folder
- type first two characters of a name in *Completions*, no completion
happens and current working directory in minibuffer seems very confused [1]
[1] these bullet points feel like bugs to me...
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#3250: 23.0.93; tab completion flakey with tramp when insert-default-directory is nil
2009-05-10 22:42 ` Chris Withers
@ 2009-05-11 3:30 ` Stefan Monnier
2009-05-11 8:13 ` Chris Withers
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier @ 2009-05-11 3:30 UTC (permalink / raw)
To: Chris Withers; +Cc: 3250, Chong Yidong
> Okay, here's what I did:
> - open a file in a folder
> - C-x C-f
> - .. TAB to go to parent folder of the folder containing the file you opened
> - type 'so' and hit TAB
> - minibuffer now shows "../something/", *Completions* shows contents of
> something' folder
> - now delete all characters in the minibuffer with backspace
> - hit TAB, *Completions* still shows contents of 'something' folder
> - type first two characters of a name in *Completions*, no completion
> happens [1]
> - delete those two characters
> - type 'so' and hit TAB
> - minibuffer now shows "something/"
> - hitting TAB one or two more times and *Completions* once more shows the
> contents of 'something' folder
> - type first two characters of a name in *Completions*, no completion
> happens and current working directory in minibuffer seems very confused [1]
> [1] these bullet points feel like bugs to me...
Thank you. This should be enough for me (or whoever else gets to it
first, but it looks like a bug in my new completion code) to find
the problem.
Stefan
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-05-11 14:13 UTC | newest]
Thread overview: 9+ 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
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.