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: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 8256 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
Subject: bug#8256: widget-complete does not complete for type 'directory on w32
Date: Tue, 15 Mar 2011 18:40:38 +0100
On Tue, Mar 15, 2011 at 6:18 PM, Stefan Monnier
<monnier <at> iro.umontreal.ca> wrote:
>>   emacs -Q
>>   Paste to *scratch* this code:
>
>>       (defcustom my-dir nil
>>           "doc"
>>          :type 'directory)
>
>>   Eval it.
>>   M-x customize-option RET my-dir RET
>
> Problem here: nil is not a directory, so the above defcustom is not
> valid.  Oddly enough Customize does not signal the error, and instead
> gets into a weird state.  Once you set my-dir to a string, things work
> much better.

What should signal that it the defcustom is not valid? And when?




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.