Stefan Monnier writes: > Index: emacs/lisp/ChangeLog > diff -u emacs/lisp/ChangeLog:1.9582 emacs/lisp/ChangeLog:1.9583 > --- emacs/lisp/ChangeLog:1.9582 Mon May 22 13:19:02 2006 > +++ emacs/lisp/ChangeLog Mon May 22 18:09:40 2006 > @@ -1,7 +1,14 @@ > +2006-05-22 Stefan Monnier > + > + * complete.el (PC-do-completion): Undo the addition of implicit > + wildcards if they did not lead to finding any match. > + (read-file-name-internal): Don't add the final > if the completion is > + not finished. > + When I do C-x C-f /a/b/c, with shell being /bin/sh (zsh emuled), I still have a weird behavior: read-file-name-internal: Opening directory: no such file or directory, /a*/b*/ read-file-name-internal: Opening directory: no such file or directory, /a**/b**/ read-file-name-internal: Opening directory: no such file or directory, /a***/b***/ read-file-name-internal: Opening directory: no such file or directory, /a****/b****/ AFAIU, this patch fixes the /c* bug (i.e. the last part of the filename being completed) but not the whole problem. -- | Michaël `Micha' Cadilhac | La culture c'est comme la confiture | | Epita/LRDE Promo 2007 | c'est meilleur avec du pain. | | http://www.lrde.org/~cadilh_m | -- MOI59 | `-- - JID: micha@amessage.be --' - --'