From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: newsticker-start: Recursive laod error Date: 12 Dec 2005 17:00:02 -0500 Message-ID: References: <873bkzhnfe.fsf@pacem.orebokech.com> <17309.50116.806660.681190@andromeda.eppjasopp.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134428775 10531 80.91.229.2 (12 Dec 2005 23:06:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 12 Dec 2005 23:06:15 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 13 00:06:13 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Elwhg-0001c0-J6 for ged-emacs-devel@m.gmane.org; Tue, 13 Dec 2005 00:03:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ElwiC-0000vO-8K for ged-emacs-devel@m.gmane.org; Mon, 12 Dec 2005 18:04:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Elvir-0002Gy-Bc for emacs-devel@gnu.org; Mon, 12 Dec 2005 17:00:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Elvin-0002Dw-Ss for emacs-devel@gnu.org; Mon, 12 Dec 2005 17:00:38 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Elvim-0002Cz-Mp for emacs-devel@gnu.org; Mon, 12 Dec 2005 17:00:36 -0500 Original-Received: from [207.245.121.137] (helo=mail.agora-net.com) by monty-python.gnu.org with esmtp (TLS-1.0:RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1ElvkZ-0005IG-Eh for emacs-devel@gnu.org; Mon, 12 Dec 2005 17:02:27 -0500 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.50) id 1ElviE-0002Wu-Hi; Mon, 12 Dec 2005 17:00:02 -0500 Original-To: ulf.jasper@web.de In-Reply-To: <17309.50116.806660.681190@andromeda.eppjasopp.de> Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 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:47571 Archived-At: Ulf Jasper writes: > `newsticker-running-p' is supposed to be a "public" function. > (I remember that somebody was asking for that functionality.) > It is autoloaded for convenience. If it wasn't autoloaded you'd > have to check whether newsticker is loaded before checking > whether it is running. as a predicate, (= 0 (length LIST)) === LIST this means you can elide `newsticker-running-p' entirely, and put an autoload cookie on the variable. the value before loading (i.e., default value) is nil. this allows state to be checked (with consistent results ;-) whether or not newsticker.el is loaded, and reduces the number of trivial functions by one. (incf elegance)! thi