emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: mouse-autoselect-window needs a de lay]


From: martin rudalics
Subject: Re: address@hidden: mouse-autoselect-window needs a de lay]
Date: Mon, 17 Jul 2006 19:59:37 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> I guess rms might want to cast his eyes over the doc strings anyway.  I
> would be puzzled by the min value of 0.1s for mouse-autoselect-window - it's
> arbitrary.  Is it really necessary to impose any limit?

It's an awful hack have to avoid error messages like

    run-at-time: Invalid repetition interval

and customize does not provide a thing like positive numbers to my
knowledge.  How about using a restricted-sexp with an anonymous lambda
in cus-start.el?

(mouse-autoselect-window display
                         (choice
                          (const :tag "Off" :value nil)
                          (const :tag "Immediate" :value t)
                          (restricted-sexp :tag "Delay by secs"
                                           :value 0.5
                                           :match-alternatives
                                           ((lambda (val) (and (numberp val) (> 
val 0))))))
                         "21.3")






reply via email to

[Prev in Thread] Current Thread [Next in Thread]