From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "paul r" Newsgroups: gmane.emacs.devel Subject: Re: Feature Request : autoload-form Date: Mon, 31 Mar 2008 00:28:22 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206916118 2873 80.91.229.12 (30 Mar 2008 22:28:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Mar 2008 22:28:38 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 31 00:29:09 2008 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.50) id 1Jg61U-0001yH-EJ for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 00:29:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jg60s-0001BG-DH for ged-emacs-devel@m.gmane.org; Sun, 30 Mar 2008 18:28:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jg60o-0001B1-Ba for emacs-devel@gnu.org; Sun, 30 Mar 2008 18:28:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jg60m-0001Ap-Un for emacs-devel@gnu.org; Sun, 30 Mar 2008 18:28:25 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jg60m-0001Am-Lf for emacs-devel@gnu.org; Sun, 30 Mar 2008 18:28:24 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.158]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jg60m-0000Qf-HR for emacs-devel@gnu.org; Sun, 30 Mar 2008 18:28:24 -0400 Original-Received: by fg-out-1718.google.com with SMTP id d23so1761536fga.30 for ; Sun, 30 Mar 2008 15:28:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=TMEono5w415L2pkpsOqLV8LP4/R0IMp3M7JAnx1AGw4=; b=VQJGo/gEnDS1dnt2yw//keNHEV7naVd0WQuk1HeRiw8VDXHL3tbZBptLvGW0aCix+5ubL4aGttOcIc5KKLf5XUnL43Zm+th58QWvGiVe3I7mhw9myTyKC2RBRMoVwpx2P3/HrkTEFkgJAxWKuYGM47FhrGCq9if9UvxYTBCyNrY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=myoY+s/sX18i4tyuj9o6j/zc9of0mTTN8a0lURiXrgmbZIrMOrYAOnxaOLyERZo2vxxMLadf+hD4ZhWItNGC7OGR8SeCmQvNthaCgNHRuEjXlhDslNL0Go7WrjFpGeMxeHFhn2v5OjzhJRMtHZ+afNrLm6G0dNiayo52ykyXOY0= Original-Received: by 10.82.185.3 with SMTP id i3mr13468206buf.22.1206916102621; Sun, 30 Mar 2008 15:28:22 -0700 (PDT) Original-Received: by 10.82.175.3 with HTTP; Sun, 30 Mar 2008 15:28:22 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:93969 Archived-At: 2008/3/30, Stefan Monnier : > > I think of autoload as a particular case of the general need to > > "eval-on-event-then-call". Therefore, I do not see why evaluating a > > form is less simple than loading a file. Form evaluation is, indeed, > > less limited but I don't see why it should be a disadvantage here. > > > By the way, instead of > > (autoload ) > > you can do > > (defun (&rest args) > > > (apply args)) > I needed to do a macro for that, because name is known at runtime, but at the end it works. Thank you.