From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55818 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: how to turn this Gnus function into a macro? Date: Wed, 07 Jan 2004 23:55:19 +0100 Sender: ding-owner@lists.math.uh.edu Message-ID: References: <4noetfo10c.fsf@collins.bwh.harvard.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073516365 16780 80.91.224.253 (7 Jan 2004 22:59:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2004 22:59:25 +0000 (UTC) Original-X-From: ding-owner+M4358@lists.math.uh.edu Wed Jan 07 23:59:22 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AeMe2-0005DF-00 for ; Wed, 07 Jan 2004 23:59:22 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1AeMdn-0001yd-00; Wed, 07 Jan 2004 16:59:07 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1AeMdg-0001yX-00 for ding@lists.math.uh.edu; Wed, 07 Jan 2004 16:59:00 -0600 Original-Received: from pfepb.post.tele.dk (pfepb.post.tele.dk [195.41.46.236]) by justine.libertine.org (Postfix) with ESMTP id F31003A0050 for ; Wed, 7 Jan 2004 16:58:58 -0600 (CST) Original-Received: from [195.215.224.132] (0xc3d7e084.esnxr4.ras.tele.dk [195.215.224.132]) by pfepb.post.tele.dk (Postfix) with ESMTP id 84AA15EE1DB for ; Wed, 7 Jan 2004 23:58:56 +0100 (CET) Original-To: Ding Mailing List Mail-Followup-To: Ding Mailing List In-Reply-To: <4noetfo10c.fsf@collins.bwh.harvard.edu> (Ted Zlatanov's message of "Wed, 07 Jan 2004 17:19:15 -0500") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55818 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55818 Ted Zlatanov writes: > I tried to make this function into a macro but failed. Any help will > be greatly appreciated. Why do you want it as a macro? If it's just to save a function call, then `inline' or `defsubst' is better. > As it is it works, so it's not a big deal but I'm curious what I > missed. The Emacs docs on macros are pretty bad, and my problem > boiled down to being unable to (funcall) a macro by name. Named macros cannot be funcalled. So you probably haven't missed anything -- except that fact :-)