Index: lisp/ido.el =================================================================== RCS file: /sources/emacs/emacs/lisp/ido.el,v retrieving revision 1.108 diff -c -r1.108 ido.el *** lisp/ido.el 6 Oct 2006 22:54:36 -0000 1.108 --- lisp/ido.el 15 Oct 2006 12:52:55 -0000 *************** *** 4168,4174 **** (setq refresh t)) ((string-equal contents "./") (setq refresh t)) ! ((string-match "\\`~[a-zA-Z0-9]+/\\'" contents) (ido-trace "new home" contents) (ido-set-current-home contents) (setq refresh t)) --- 4168,4174 ---- (setq refresh t)) ((string-equal contents "./") (setq refresh t)) ! ((string-match "\\`~[-_a-zA-Z0-9]+[$]?/\\'" contents) (ido-trace "new home" contents) (ido-set-current-home contents) (setq refresh t)) Index: lisp/ChangeLog =================================================================== RCS file: /sources/emacs/emacs/lisp/ChangeLog,v retrieving revision 1.10192 diff -c -0 -r1.10192 ChangeLog *** lisp/ChangeLog 14 Oct 2006 23:25:43 -0000 1.10192 --- lisp/ChangeLog 15 Oct 2006 12:53:08 -0000 *************** *** 0 **** --- 1,4 ---- + 2006-10-15 Michaël Cadilhac + + * ido.el (ido-exhibit): Enrich the regexp that matches user logins. +