From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: a bug of read-passwd Date: Mon, 24 Jul 2006 10:17:22 -0400 Message-ID: <87k6635bpp.fsf@stupidchicken.com> References: <877j2etda5.fsf@stupidchicken.com> <20060719.094900.73654343.kazu@iij.ad.jp> <20060721.095708.119557783.kazu@iij.ad.jp> <874pxau66i.fsf@stupidchicken.com> <87vepn61s4.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1153750932 26979 80.91.229.2 (24 Jul 2006 14:22:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 24 Jul 2006 14:22:12 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 24 16:22:10 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 1G51Jh-0004h9-Sm for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2006 16:21:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G51Jh-0003yh-Aq for ged-emacs-devel@m.gmane.org; Mon, 24 Jul 2006 10:21:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G51JW-0003yG-C0 for emacs-devel@gnu.org; Mon, 24 Jul 2006 10:21:42 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G51JV-0003y8-W2 for emacs-devel@gnu.org; Mon, 24 Jul 2006 10:21:41 -0400 Original-Received: from [18.72.1.2] (helo=south-station-annex.mit.edu) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G51Kc-0005oV-4x; Mon, 24 Jul 2006 10:22:50 -0400 Original-Received: from central-city-carrier-station.mit.edu (CENTRAL-CITY-CARRIER-STATION.MIT.EDU [18.7.7.72]) by south-station-annex.mit.edu (8.13.6/8.9.2) with ESMTP id k6OELe6Y027524; Mon, 24 Jul 2006 10:21:40 -0400 (EDT) Original-Received: from outgoing-legacy.mit.edu (OUTGOING-LEGACY.MIT.EDU [18.7.22.104]) by central-city-carrier-station.mit.edu (8.13.6/8.9.2) with ESMTP id k6OEHPqQ025612; Mon, 24 Jul 2006 10:17:25 -0400 (EDT) Original-Received: from cyd (SYDNEYPACIFIC-FOUR-FIFTEEN.MIT.EDU [18.95.6.160]) ) by outgoing-legacy.mit.edu (8.13.6/8.12.4) with ESMTP id k6OEHMvx019019; Mon, 24 Jul 2006 10:17:22 -0400 (EDT) Original-Received: from cyd by cyd with local (Exim 3.36 #1 (Debian)) id 1G51FK-00034D-00; Mon, 24 Jul 2006 10:17:22 -0400 Original-To: Stefan Monnier In-Reply-To: (Stefan Monnier's message of "Mon, 24 Jul 2006 09:22:09 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Spam-Score: 1.47 X-Scanned-By: MIMEDefang 2.42 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:57534 Archived-At: Stefan Monnier writes: >> Another possibility is to implement a `inhibit-timers' variable and >> set it to t by default inside filter functions (similar to how >> `inhibit-quit' is bound to t in filter functions.) This is probably >> easier to implement. What do you think? > > I think it's a good idea, although let-binding timer-list (and > timer-idle-list) to nil might be even better since it'd still allow filter > functions to use timers. Doing a let-bind is conceptually cleaner, but one can imagine a situation in which a filter function needs access to a previously-defined timer. A `inhibit-timer' mechanism would allow filter functions to manually turn the timer back on if they need to.