From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Jackson Subject: Re: Bug? Installing from git master Date: Mon, 03 Mar 2008 09:15:08 +0000 Message-ID: <87zltgf9sz.fsf@shellarchive.co.uk> References: <47C86E0B.4010107@gmx.de> <9AC7F26F-5F31-4DD9-98A0-A2CE5353C218@science.uva.nl> <87ejavjtyu.fsf@bzg.ath.cx> <87tzjrgyyk.fsf@bzg.ath.cx> <20080302233409.GA23239@atlantic.linksys.moosehall> <87hcfod5rh.fsf@bzg.ath.cx> <12BAC2AD-0337-4FBF-86E4-D2676DB7F616@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JW6lR-00026B-SH for emacs-orgmode@gnu.org; Mon, 03 Mar 2008 04:15:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JW6lO-000236-CK for emacs-orgmode@gnu.org; Mon, 03 Mar 2008 04:15:17 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JW6lO-00022v-95 for emacs-orgmode@gnu.org; Mon, 03 Mar 2008 04:15:14 -0500 Received: from a.painless.aaisp.net.uk ([81.187.30.51]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JW6lN-0008GT-Kk for emacs-orgmode@gnu.org; Mon, 03 Mar 2008 04:15:13 -0500 In-Reply-To: <12BAC2AD-0337-4FBF-86E4-D2676DB7F616@science.uva.nl> (Carsten Dominik's message of "Mon, 3 Mar 2008 09:13:03 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Bastien Guerry , emacs-orgmode@gnu.org Carsten Dominik writes: > On Mar 3, 2008, at 1:13 AM, Bastien Guerry wrote: > I did not realize that erc is not supported on all Emacs versions, to > we clearly need to cater for this. Wither by taking it out of that > variable, of my making the require fail silently. We could, for > example, wrap the require into condition-case and only pus out a > message, not raise a signal. I meant to pick up on this but I was really busy over the weekend. What about each module having a defun, something like `org-irc-load-check' where the 'load-check' function is autoloaded and run by org before the require to do a check on features, on non-nil the module is required? Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk