From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85947 Path: news.gmane.org!not-for-mail From: Nikolaus Rath Newsgroups: gmane.emacs.gnus.general Subject: Re: deffoo? Date: Mon, 18 May 2015 09:02:49 -0700 Message-ID: <87h9r9oouu.fsf@thinkpad.rath.org> References: <87lhgmzo4a.fsf@vostro.rath.org> <87iobqzl3j.fsf@vostro.rath.org> <877fs64o1j.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431965037 17317 80.91.229.3 (18 May 2015 16:03:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 May 2015 16:03:57 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34182@lists.math.uh.edu Mon May 18 18:03:46 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YuNW5-0000DJ-On for ding-account@gmane.org; Mon, 18 May 2015 18:03:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.84) (envelope-from ) id 1YuNVK-0006gX-LV; Mon, 18 May 2015 11:02:58 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YuNVI-0006g7-QO for ding@lists.math.uh.edu; Mon, 18 May 2015 11:02:56 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YuNVH-0004Ss-1K for ding@lists.math.uh.edu; Mon, 18 May 2015 11:02:56 -0500 Original-Received: from ebox.rath.org ([23.92.25.96]) by quimby.gnus.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YuNVF-0006tw-79 for ding@gnus.org; Mon, 18 May 2015 18:02:53 +0200 Original-Received: from thinkpad ([192.168.12.2]) by ebox.rath.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1YuNVC-0005H9-Kd for ding@gnus.org; Mon, 18 May 2015 16:02:50 +0000 Original-Received: by thinkpad (Postfix, from userid 1000) id A995CBFED0; Mon, 18 May 2015 09:02:49 -0700 (PDT) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: <877fs64o1j.fsf@debian.uxu> (Emanuel Berg's message of "Mon, 18 May 2015 04:28:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85947 Archived-At: On May 17 2015, Emanuel Berg wrote: > Nikolaus Rath writes: > >>> Hello, I want to implement some improvements to >>> nnimap, so I'm trying to find my way around the >>> Gnus source. One thing I stumbled upon is the use >>> of "deffoo" and "defvoo". The help did not help me >>> at all ("The same as `defun', only register FUNC"). >>> Can someone explain what this macros do / how they >>> differ from defun / defvar? >> >> Mea culpa, I just found the explanations in the Gnus >> Reference Guide (which, to my defense, is rather >> well hidden in the appendices). > > Well, let's hear it? Well, Eric gave it away already. They implement some limited support for inheritance, so that one backend can inherit functions from another. Best, -Nikolaus --=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB