emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: partial completion doesn't


From: Richard Stallman
Subject: Re: partial completion doesn't
Date: Fri, 06 Sep 2002 00:01:23 -0400

I don't think anyone is maintaining complete.el nowadays.
Would someone like to work on this?

To: address@hidden
Subject: partial completion doesn't
From: address@hidden (Kai
 =?iso-8859-15?q?Gro=DFjohann?=)
Date: Thu, 05 Sep 2002 11:42:55 +0200

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

I have the following directory structure:

/----[ cd ~/work/grossjoh/doc/2002; ls -Fla ]
| total 28
| drwxrwx---    7 grossjoh crew         4096 Sep  4 16:21 ./
| drwxrwx---    4 grossjoh crew         4096 May 19 17:58 ../
| drwxrwx---    5 grossjoh crew         4096 Aug  5 15:25 2002-05-gi/
| drwxrwx---    4 grossjoh crew         4096 Jun 19 23:26 2002-06-dstadel/
| drwxrwx---    4 grossjoh crew         4096 Aug 28 21:37 
2002-08-sigir-xml-workshop/
| drwxrwx---    4 grossjoh crew         4096 Sep  4 19:03 2002-09-dstadel/
| drwxrwx---    2 grossjoh crew         4096 Sep  4 16:21 CVS/
\----

I start Emacs like this: "emacs -q -no-site-file".
Then I do M-x partial-completion-mode RET.
Then I type C-x C-f ~/work/grossjoh/doc/2002/2.
Then I hit the TAB key.  Emacs completes to the following:

        ~/work/grossjoh/doc/2002/2002-0

Now I type "-d", so that I see the following incomplete filename:

        ~/work/grossjoh/doc/2002/2002-0-d
                                       ^

I expect that Emacs will position the cursor at the spot indicated
above.  I further expect that I get a *Completions* buffer that shows
me the alternatives 2002-06-dstadel and 2002-09-dstadel.

When I hit TAB once, I get the "2002-0-d" expanded to
"2002-0-dstadel", and point remains on the last "-".  That's good.
However, hitting TAB again (expecting to get the *Completions* buffer)
I get the following error message (snarfed from *Messages*):

read-file-name-internal: Opening directory: no such file or directory, 
/home-local/grossjoh/work/grossjoh/doc/2002/2002-0-dstadel/

Hitting `?' instead of TAB at that spot produces the correct
*Completions* buffer.

Can you reproduce this problem?  (Emacs 21.2 behaves the same way for
me.)

In GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit)
 of 2002-09-04 on lucy
configured using `configure --with-x --with-x-libraries=/usr/X11R6/lib 
--with-x-includes=/usr/X11R6/include --with-xpm --with-jpeg --with-tiff 
--with-gif --with-png --prefix=/home-local/grossjoh/sw/emacs-21.0'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: address@hidden
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  locale-coding-system: iso-latin-9
  default-enable-multibyte-characters: t

Recent input:
q n n n n n n n n n n n n n n n n n n <return> d d 
q s n n n n n n n n n n n s <switch-frame> v ~ / w 
r k <backspace> <backspace> o r k <tab> g r o <tab> 
d o <tab> 2 <backspace> c <tab> 2 <tab> <tab> - d s 
<tab> <tab> ? C-e ? <escape> x A <tab> <escape> a 9 
<tab> t . t e x <tab> <return> <switch-frame> M-x r 
e p - e m - b u g <tab> <return>

Recent messages:
Loading /usr/sw/emacs/21.2/share/emacs/site-lisp/auctex-11.11/auto/slidesec.el 
(source)...done
Loading /usr/sw/emacs/21.2/share/emacs/site-lisp/auctex-11.11/auto/semlayer.el 
(source)...done
Applying style hooks... done
Updating section menu...
Updating environment menu...
Sorting 
Removing duplicates... done
Updating modify environment menu...
Updating...done
Loading emacsbug...done

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]