From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: rcirc.el Date: Wed, 19 Oct 2005 09:30:31 +0200 Message-ID: <85fyqyj754.fsf@lola.goethe.zz> References: <871x2u6ina.fsf@cut.bc.hsia.telus.net> <20051010064309.20D5244003@Psilocybe.Update.UU.SE> <87mzlczq3l.fsf@cut.bc.hsia.telus.net> <873bn3nbal.fsf@cut.bc.hsia.telus.net> <878xwrxq6o.fsf@cut.bc.hsia.telus.net> <87y84rz2rx.fsf@pacem.orebokech.com> <85sluzme0o.fsf@lola.goethe.zz> <87br1mci6r.fsf@cut.bc.hsia.telus.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1129717672 6090 80.91.229.2 (19 Oct 2005 10:27:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2005 10:27:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 19 12:27:41 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ESB8q-0000vj-5f for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 12:25:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ESA7R-0002Ik-5P for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2005 05:20:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ES8Up-0003kF-Vw for emacs-devel@gnu.org; Wed, 19 Oct 2005 03:36:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ES8Ui-0003jp-MB for emacs-devel@gnu.org; Wed, 19 Oct 2005 03:36:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ES8Uf-0003jh-3A for emacs-devel@gnu.org; Wed, 19 Oct 2005 03:36:14 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ES8Ue-0000G7-Nf for emacs-devel@gnu.org; Wed, 19 Oct 2005 03:36:12 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1ES8Ub-0004mN-86; Wed, 19 Oct 2005 03:36:09 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id E2C731C4CD7D; Wed, 19 Oct 2005 09:30:31 +0200 (CEST) Original-To: Ryan Yeske In-Reply-To: <87br1mci6r.fsf@cut.bc.hsia.telus.net> (Ryan Yeske's message of "Tue, 18 Oct 2005 20:13:48 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:44309 Archived-At: Ryan Yeske writes: > David Kastrup writes: > >> I think the basic entry points (and their aliases) at least should get >> autoload cookies. > > What is the right way to do this given the way I conditionalized the > defalias: > > (unless (fboundp 'irc) > ;;;###autoload > (defalias 'irc 'rcirc)) > > I think that is probably not the right thing to do. More like ;;;###autoload (unless (fboundb 'irc) (defalias 'irc 'rcirc)) However, it does not make sense to conditionalize the autoload, since it concerns the state of a virgin Emacs. So either we decide that a virgin Emacs maps irc to rcirc, in which case we should write just ;;;###autoload (defalias 'irc 'rcirc) or we decide that it doesn't, in which case we would not want to have the alias at all. Richard mentioned that maybe ERC would be installed as well. Then we should definitely decide which client, if any, should be available as "irc". -- David Kastrup, Kriemhildstr. 15, 44793 Bochum