GNU bug report logs - #8256
widget-complete does not complete for type 'directory on w32

Previous Next

Package: emacs;

Reported by: Lennart Borgman <lennart.borgman <at> gmail.com>

Date: Tue, 15 Mar 2011 10:27:01 UTC

Severity: normal

Tags: moreinfo, notabug

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Lennart Borgman'" <lennart.borgman <at> gmail.com>, "'Eli Zaretskii'" <eliz <at> gnu.org>
Cc: 8256 <at> debbugs.gnu.org
Subject: bug#8256: widget-complete does not complete for type 'directory onw32
Date: Tue, 15 Mar 2011 07:50:18 -0700
>       (defcustom my-dir nil "doc" :type 'directory)
> 
>   M-x customize-option RET my-dir RET

You get a type mismatch, of course, since nil is not a directory.

>   Place point in the directory value field and erase "nil" 
>   that is there.  Now in the empty directory value field
>   press ESC-TAB. This fails

Try again, with a valid directory as the default value - e.g. "c:/foo/"

Keep in mind too that the completion uses `default-directory'.  Dunno whether
that's always appropriate, but that's what it uses.

But I agree that regardless of the initial type mismatch, you should be able to
type a legitimate directory prefix and get completion.





This bug report was last modified 12 years and 172 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.