From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55819 Path: main.gmane.org!not-for-mail From: Steve Youngs Newsgroups: gmane.emacs.gnus.general Subject: Re: loading gnus creates *Group* buffer Date: Thu, 08 Jan 2004 09:24:23 +1000 Organization: Linux Users - Fanatics Dept. Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: sea.gmane.org 1073517929 20306 80.91.224.253 (7 Jan 2004 23:25:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 7 Jan 2004 23:25:29 +0000 (UTC) Keywords: xemacs,seh,gnus,site-packages,load-path,directory,solution,usr Original-X-From: ding-owner+M4359@lists.math.uh.edu Thu Jan 08 00:25:23 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 1AeN3D-00074M-00 for ; Thu, 08 Jan 2004 00:25:23 +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 1AeN2c-00028G-00; Wed, 07 Jan 2004 17:24:46 -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 1AeN2T-00028A-00 for ding@lists.math.uh.edu; Wed, 07 Jan 2004 17:24:37 -0600 Original-Received: from gizmo02bw.bigpond.com (gizmo02bw.bigpond.com [144.140.70.12]) by justine.libertine.org (Postfix) with SMTP id 9D9D93A0050 for ; Wed, 7 Jan 2004 17:24:35 -0600 (CST) Original-Received: (qmail 15436 invoked from network); 7 Jan 2004 23:24:55 -0000 Original-Received: from unknown (HELO bwmam01.bigpond.com) (144.135.24.69) by gizmo02bw.bigpond.com with SMTP; 7 Jan 2004 23:24:55 -0000 Original-Received: from cpe-138-130-240-59.qld.bigpond.net.au ([138.130.240.59]) by bwmam01.bigpond.com(MAM REL_3_4_2 8/15585062) with SMTP id 15585062; Thu, 08 Jan 2004 09:24:30 +1000 Original-Received: (from steve@localhost) by eicq.dnsalias.org (8.12.9/8.12.9) id i07NORvJ008918; Thu, 8 Jan 2004 09:24:27 +1000 Mail-Copies-To: never Original-To: ding@gnus.org X-Face: #/1'_-|5_1$xjR,mVKhpfMJcRh8"k}_a{EkIO:Ox<]@zl/Yr|H,qH#3jJi6Aw(Mg@"!+Z"C N_S3!3jzW^FnPeumv4l#,E}J.+e%0q(U>#b-#`~>l^A!_j5AEgpU)>t+VYZ$:El7hLa1:%%L=3%B>n K{^jU_{& X-URL: X-Request-PGP: X-OpenPGP-Fingerprint: 1659 2093 19D5 C06E D320 3A20 1D27 DB4B A94B 3003 X-Now-Playing: Underground --- [Ben Folds Five] X-Attribution: SY Mail-Followup-To: ding@gnus.org In-Reply-To: (Steven E. Harris's message of "Wed, 07 Jan 2004 13:17:58 -0800") User-Agent: Gnus/5.110002 (No Gnus v0.2) XEmacs/21.4 (Reasonable Discussion, linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55819 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55819 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= |--==> "SEH" == Steven E Harris writes: SEH> Steve Youngs writes: >>Why isn't your Gnus autoloading? Back in October last year I tweaked >>the build so `auto-autoloads.el' & `custom-load.el' are created when >>building with XEmacs. Isn't it working for you? SEH> I use a Gnus built from CVS and stored under ~/usr/local, so I SEH> don't have the Gnus package installed. If I start up XEmacs SEH> without loading Gnus explicitly, it doesn't know the functions SEH> `gnus' or `gnus-no-server.' This is because the directory is getting added to the load-path _after_ XEmacs processes the autoloads. SEH> Does auto-autoloads.el provide these functions? Yes. SEH> I do add ~/usr/local/lib/xemacs/site-packages/lisp/gnus to my SEH> load-path in one of my init files, and that directory does SEH> contain auto-autoloads.el as you intended. Maybe I'm adding SEH> this directory to my load-path too late to work in concert with SEH> the autoload mechanism. Yes. And you wouldn't be able to add that directory to your load-path soon enough because XEmacs processes the autoloads _before_ it loads your `user-init-file'. But don't worry, there are a few things that you could do to work around it... Solution #1: ----------- --=-=-= Content-Type: application/x-emacs-lisp Content-Disposition: inline Content-Transfer-Encoding: quoted-printable (let* ((dir (file-name-as-directory (expand-file-name "usr/local/lib/xemacs/site-packages/lisp/gnus" (getenv "HOME")))) (autos (expand-file-name "auto-autoloads.elc" dir)) (customs (expand-file-name "custom-load.elc" dir))) (setq load-path (push dir load-path)) (when (file-exists-p autos) (load-file autos)) (when (file-exists-p customs) (load-file customs))) --=-=-= ---- Solution #2: ----------- When building Gnus... ./configure \ --infodir=/home/you/.xemacs/site-packages/info \ --with-lispdir=/home/you/.xemacs/site-packages/lisp/gnus \ --with-etcdir=/home/you/.xemacs/site-packages/etc/gnus This will install Gnus under ~/.xemacs/site-packages/ and you won't have to add anything to your load-path because that directory is one of the ones that XEmacs searches automatically. ---- Solution #3: ----------- When building XEmacs... ./configure \ --package-path=/home/you/usr/local/lib/xemacs/site-packages ---- Solution #4: ----------- Install Gnus to the default location (/usr/local/lib/xemacs/site-packages) by _not_ specifying any directory related configure options. You won't have to add any directories to your load-path with this solution either. Obviously, this solution requires write access to that directory. ---- HTH. -- |---------------------| | Ashes to ashes, dust to dust. | | The proof of the pudding, is under the crust. | |---------------------------------| --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) Comment: Eicq - The XEmacs ICQ Client iEYEABECAAYFAj/8lSoACgkQHSfbS6lLMAPYgACgvpZ3aq6jUitPs2s6Kox6ywjD kqcAnjDA0LLD90fTGoOj4Bt1YgxPLNEv =k+vN -----END PGP SIGNATURE----- --==-=-=--