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: deferred-action Date: Mon, 21 Mar 2011 12:34:58 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300725321 28661 80.91.229.12 (21 Mar 2011 16:35:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2011 16:35:21 +0000 (UTC) Cc: Emacs developers To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 21 17:35:16 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q1i4X-0002jY-Nz for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2011 17:35:13 +0100 Original-Received: from localhost ([127.0.0.1]:55119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1i4W-0003oB-LK for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2011 12:35:12 -0400 Original-Received: from [140.186.70.92] (port=39205 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q1i4L-0003k6-4b for emacs-devel@gnu.org; Mon, 21 Mar 2011 12:35:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q1i4K-0004nu-0H for emacs-devel@gnu.org; Mon, 21 Mar 2011 12:35:00 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50830 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q1i4J-0004nq-Se for emacs-devel@gnu.org; Mon, 21 Mar 2011 12:34:59 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEANcah01Ld/X5/2dsb2JhbACldXiITbhphWMElWk X-IronPort-AV: E=Sophos;i="4.63,220,1299474000"; d="scan'208";a="97426776" Original-Received: from 75-119-245-249.dsl.teksavvy.com (HELO pastel.home) ([75.119.245.249]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 21 Mar 2011 12:34:58 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 58BE6590B0; Mon, 21 Mar 2011 12:34:58 -0400 (EDT) In-Reply-To: (Juanma Barranquero's message of "Mon, 21 Mar 2011 15:56:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:137485 Archived-At: > I understand that. And no, I don't think it's enough, because each > piece of code using them is quite free to do it as it pleases (some > could use deferred-action-list as a flag, other as a list of items to > treat, a third as a list of functions to run, etc.), but on the other > hand, deferred-action-function is intended to contain just a function, > so there's nowhere explained HOW would several packages coordinate > their different uses. That's because that would require a coding convention for its use, and nobody came up with such a thing. Stefan