From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Proposal for a new mechanism for delayed stuff Date: Thu, 03 Jan 2013 11:47:06 -0500 Message-ID: References: <87pq1y46ao.fsf@gnus.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357231630 11268 80.91.229.3 (3 Jan 2013 16:47:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2013 16:47:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Lars Magne Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jan 03 17:47:27 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Tqnx0-0005EN-KJ for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2013 17:47:26 +0100 Original-Received: from localhost ([::1]:41942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqnwl-0006aF-IX for ged-emacs-devel@m.gmane.org; Thu, 03 Jan 2013 11:47:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:46028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqnwi-0006aA-GB for emacs-devel@gnu.org; Thu, 03 Jan 2013 11:47:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tqnwh-0004OW-L7 for emacs-devel@gnu.org; Thu, 03 Jan 2013 11:47:08 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:53590) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqnwh-0004OR-Hd for emacs-devel@gnu.org; Thu, 03 Jan 2013 11:47:07 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkGAG6Zu09FxK5W/2dsb2JhbABEgXuyFoEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA4hCmnGBWIMH X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="211280764" Original-Received: from 69-196-174-86.dsl.teksavvy.com (HELO pastel.home) ([69.196.174.86]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 03 Jan 2013 11:47:07 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id A035058FAD; Thu, 3 Jan 2013 11:47:06 -0500 (EST) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Mon, 31 Dec 2012 15:09:55 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:156060 Archived-At: > Sure, that would also handle the "tell the user what's going on" use > case, and we could have a convenience macro `with-current-state-message' > that would simply be an `unwind-protect' to clear out the state message. Yes, the advantage is that the message can be displayed even if we're in the middle of uninterruptible Elisp code. > But `with-timeout-form' would be kinda generally useful, I think. :-) IIUC you can implement that in Elisp, right? Stefan