From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: [simon.marshall@misys.com: mouse-autoselect-window needs a de lay] Date: Mon, 17 Jul 2006 19:59:37 +0200 Message-ID: <44BBD009.5060204@gmx.at> References: <81CCA6588E60BB42BE68BD029ED48260085CBEBE@wimex2.wim.midas-kapiti.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153159340 8985 80.91.229.2 (17 Jul 2006 18:02:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 17 Jul 2006 18:02:20 +0000 (UTC) Cc: "'emacs-devel@gnu.org'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 17 20:02:18 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G2XOq-0003C1-4N for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2006 20:00:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2XOp-0008I8-Ps for ged-emacs-devel@m.gmane.org; Mon, 17 Jul 2006 14:00:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G2XOe-0008Ht-6R for emacs-devel@gnu.org; Mon, 17 Jul 2006 14:00:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G2XOb-0008Hh-Pn for emacs-devel@gnu.org; Mon, 17 Jul 2006 14:00:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2XOb-0008He-L7 for emacs-devel@gnu.org; Mon, 17 Jul 2006 14:00:41 -0400 Original-Received: from [213.165.64.21] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1G2XRJ-0000cW-JJ for emacs-devel@gnu.org; Mon, 17 Jul 2006 14:03:29 -0400 Original-Received: (qmail invoked by alias); 17 Jul 2006 18:00:39 -0000 Original-Received: from N907P005.adsl.highway.telekom.at (EHLO [62.47.57.69]) [62.47.57.69] by mail.gmx.net (mp017) with SMTP; 17 Jul 2006 20:00:39 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: "Marshall, Simon" In-Reply-To: <81CCA6588E60BB42BE68BD029ED48260085CBEBE@wimex2.wim.midas-kapiti.com> X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:57205 Archived-At: > 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")