* completion problems
@ 2005-07-13 18:13 Sam Steingold
2005-07-15 18:11 ` Richard M. Stallman
0 siblings, 1 reply; 8+ messages in thread
From: Sam Steingold @ 2005-07-13 18:13 UTC (permalink / raw)
the current cvs head appears to have a problem with completion.
when I have a file (or buffer) named foo.bar and I type "foo." and hit
TAB, the cursor moves 1 step to the left (i.e., between "o" and ".")
instead of completing to "foo.bar".
this happens with "-" instead of "." too.
I don't see anything suspicious in ChangeLogs...
does anyone observe this too?
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.jihadwatch.org/> <http://ffii.org/> <http://www.memri.org/>
<http://pmw.org.il/> <http://www.camera.org>
A clear conscience is usually the sign of a bad memory.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: completion problems
2005-07-13 18:13 completion problems Sam Steingold
@ 2005-07-15 18:11 ` Richard M. Stallman
2005-07-15 18:57 ` Sam Steingold
0 siblings, 1 reply; 8+ messages in thread
From: Richard M. Stallman @ 2005-07-15 18:11 UTC (permalink / raw)
Cc: emacs-devel
the current cvs head appears to have a problem with completion.
when I have a file (or buffer) named foo.bar and I type "foo." and hit
TAB, the cursor moves 1 step to the left (i.e., between "o" and ".")
instead of completing to "foo.bar".
this happens with "-" instead of "." too.
It works ok when I try it.
I used a directory with no other files that start with `foo'.
I just updated from the sources right before.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: completion problems
2005-07-15 18:11 ` Richard M. Stallman
@ 2005-07-15 18:57 ` Sam Steingold
2005-07-15 20:49 ` Stefan Monnier
0 siblings, 1 reply; 8+ messages in thread
From: Sam Steingold @ 2005-07-15 18:57 UTC (permalink / raw)
> * Richard M. Stallman <ezf@tah.bet> [2005-07-15 14:11:20 -0400]:
>
> the current cvs head appears to have a problem with completion.
> when I have a file (or buffer) named foo.bar and I type "foo." and hit
> TAB, the cursor moves 1 step to the left (i.e., between "o" and ".")
> instead of completing to "foo.bar".
> this happens with "-" instead of "." too.
>
> It works ok when I try it.
> I used a directory with no other files that start with `foo'.
I have 3 files:
config.h.in
config.h.in~
configure.in
C-x C-f c o n TAB
==> completed to "config", cursor right after "g" (correct)
then
. TAB
*Completions* buffer pops up with the 3 files above,
and cursor is now between "g" and "." (incorrect, I expected a
completion to "config.h.in").
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.openvotingconsortium.org/> <http://ffii.org/>
<http://www.mideasttruth.com/> <http://www.iris.org.il>
Please wait, MS Windows are preparing the blue screen of death.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: completion problems
2005-07-15 18:57 ` Sam Steingold
@ 2005-07-15 20:49 ` Stefan Monnier
2005-07-15 21:23 ` Sam Steingold
0 siblings, 1 reply; 8+ messages in thread
From: Stefan Monnier @ 2005-07-15 20:49 UTC (permalink / raw)
> I have 3 files:
> config.h.in
> config.h.in~
> configure.in
> C-x C-f c o n TAB
> ==> completed to "config", cursor right after "g" (correct)
> then
> . TAB
> *Completions* buffer pops up with the 3 files above,
> and cursor is now between "g" and "."
Is this in `emacs -q --no-site-file' ?
The behavior you see reminds me of partial-completion-mode.
> (incorrect, I expected a completion to "config.h.in").
Why not just "config"?
Stefan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: completion problems
2005-07-15 20:49 ` Stefan Monnier
@ 2005-07-15 21:23 ` Sam Steingold
2005-07-16 20:45 ` Richard M. Stallman
0 siblings, 1 reply; 8+ messages in thread
From: Sam Steingold @ 2005-07-15 21:23 UTC (permalink / raw)
> * Stefan Monnier <zbaavre@veb.hzbagerny.pn> [2005-07-15 16:49:56 -0400]:
>
>> I have 3 files:
>> config.h.in
>> config.h.in~
>> configure.in
>
>> C-x C-f c o n TAB
>
>> ==> completed to "config", cursor right after "g" (correct)
>
>> then
>> . TAB
>
>> *Completions* buffer pops up with the 3 files above,
>> and cursor is now between "g" and "."
>
> Is this in `emacs -q --no-site-file' ?
> The behavior you see reminds me of partial-completion-mode.
indeed turning partial-completion-mode off "fixed" the problem.
so now we know what is broken - it is partial-completion-mode,
not the main completion.
(I have had partial-completion-mode enabled for 2+ years and I have
not experienced this weirdness until very recently).
>> (incorrect, I expected a completion to "config.h.in").
> Why not just "config"?
because "config." should complete to "config.h.in" in a directory with 3
files listed above.
thanks for your help!
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://ffii.org/> <http://www.memri.org/> <http://www.palestinefacts.org/>
<http://pmw.org.il/> <http://www.mideasttruth.com/> <http://www.iris.org.il>
There are two kinds of egotists: 1) Those who admit it 2) The rest of us
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: completion problems
2005-07-15 21:23 ` Sam Steingold
@ 2005-07-16 20:45 ` Richard M. Stallman
2005-07-18 17:54 ` Stefan Monnier
0 siblings, 1 reply; 8+ messages in thread
From: Richard M. Stallman @ 2005-07-16 20:45 UTC (permalink / raw)
There is no specific maintainer for complete.el, and I have never
studied that code myself. Who would like to debug this?
> * Stefan Monnier <zbaavre@veb.hzbagerny.pn> [2005-07-15 16:49:56 -0400]:
>
>> I have 3 files:
>> config.h.in
>> config.h.in~
>> configure.in
>
>> C-x C-f c o n TAB
>
>> ==> completed to "config", cursor right after "g" (correct)
>
>> then
>> . TAB
>
>> *Completions* buffer pops up with the 3 files above,
>> and cursor is now between "g" and "."
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2005-07-19 4:35 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-13 18:13 completion problems Sam Steingold
2005-07-15 18:11 ` Richard M. Stallman
2005-07-15 18:57 ` Sam Steingold
2005-07-15 20:49 ` Stefan Monnier
2005-07-15 21:23 ` Sam Steingold
2005-07-16 20:45 ` Richard M. Stallman
2005-07-18 17:54 ` Stefan Monnier
2005-07-19 4:35 ` Richard M. Stallman
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).