[gnu.emacs.bug] a bug in the function file-name-completion

hugh%nc.MIT.EDU@EDDIE.MIT.EDU (Hugh Secker-Walker) (08/28/89)

                                            M.I.T.   Rm. 20C-014
                                            Cambridge,  MA   02139
                                            August 25, 1989

Emacs was started using
% emacs -q

The following is the annotated (GNU Emacs Lisp Manual style) activity
in buffer *scratch*

(emacs-version)
==> "GNU Emacs 18.53.3 of Thu Mar  2 1989 on earfull (berkeley-unix)"
;; We get the same bug on another machine running 18.52.

(setq dir "/tmp")
==> "/tmp"

(list-directory dir)
==> nil
---------- Buffer: *Directory* ----------
Directory /tmp/
1989Aug23inctar
1989Aug24inctar
SUPDUP009745
lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.lin
lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.log
tlog
---------- Buffer: *Directory* ----------

(file-name-completion "lg" dir)
"lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.lin"

The completion should have been
"lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.l"


When our choasnet connection is working I can also be reached at
hugh%nc@mc.lcs.mit.edu

Thanks very much.


Hugh Secker-Walker

jv@mh.nl (Johan Vromans) (08/31/89)

In article <8908281533.AA14144@nc.MIT.EDU> premise!hugh%nc.MIT.EDU@EDDIE.MIT.EDU (Hugh Secker-Walker) writes:
 > (file-name-completion "lg" dir)
 > "lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.lin"
 >  The completion should have been
 > "lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.l"

M-x describe-variable completion-ignored-extensions

  completion-ignored-extensions's value is (".o" ".elc" "~" ".bin"
  ".lbin" ".fasl" ".dvi" ".toc" ".log" ".aux" ".lof" ".blg" ".bbl"
  ".glo" ".idx" ".lot")

  Documentation:
  *Completion ignores filenames ending in any string in
  this list.


	Johan


--
Johan Vromans				       jv@mh.nl via internet backbones
Multihouse Automatisering bv		       uucp: ..!{mcvax,hp4nl}!mh.nl!jv
Doesburgweg 7, 2803 PL Gouda, The Netherlands  phone/fax: +31 1820 62944/62500
------------------------ "Arms are made for hugging" -------------------------

hugh%nc.MIT.EDU@EDDIE.MIT.EDU (Hugh Secker-Walker) (09/02/89)

Note: this is a copy of mail sent earlier when our connections to the
rest of the world were more flakey than usual.


                                            M.I.T.   Rm. 20C-014
                                            Cambridge,  MA   02139
                                            August 25, 1989

Emacs was started using
% emacs -q

The following is the annotated (GNU Emacs Lisp Manual style) activity
in buffer *scratch*

(emacs-version)
==> "GNU Emacs 18.53.3 of Thu Mar  2 1989 on earfull (berkeley-unix)"
;; We get the same bug on another machine running 18.52.

(setq dir "/tmp")
==> "/tmp"

(list-directory dir)
==> nil
---------- Buffer: *Directory* ----------
Directory /tmp/
1989Aug23inctar
1989Aug24inctar
SUPDUP009745
lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.lin
lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.log
tlog
---------- Buffer: *Directory* ----------

(file-name-completion "lg" dir)
"lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.lin"

The completion should have been
"lg.No=8.Nf=256.C=1.25e-11.R=4.75e9.a=2.86.l"


When our choasnet connection is working I can also be reached at
hugh%nc@mc.lcs.mit.edu

Thanks very much.


Hugh Secker-Walker