From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63712 Path: news.gmane.org!not-for-mail From: "Steven E. Harris" Newsgroups: gmane.emacs.gnus.general Subject: Re: The etc directory Date: Thu, 07 Sep 2006 08:30:11 -0700 Organization: SEH Labs Message-ID: References: <87ejupc92q.fsf@catnip.gol.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157643435 20979 80.91.229.2 (7 Sep 2006 15:37:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 15:37:15 +0000 (UTC) Original-X-From: ding-owner+m12239@lists.math.uh.edu Thu Sep 07 17:37:13 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLLtn-0004WX-0q for ding-account@gmane.org; Thu, 07 Sep 2006 17:34:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1GLLta-0007sp-00; Thu, 07 Sep 2006 10:34:26 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1GLLq4-0007sk-00 for ding@lists.math.uh.edu; Thu, 07 Sep 2006 10:30:48 -0500 Original-Received: from quimby.gnus.org ([80.91.227.211]) by mx1.math.uh.edu with esmtp (Exim 4.52) id 1GLLq2-0005xi-NL for ding@lists.math.uh.edu; Thu, 07 Sep 2006 10:30:48 -0500 Original-Received: from adsl-71-154-201-182.dsl.sndg02.sbcglobal.net ([71.154.201.182] helo=chlorine.gnostech.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1GLLpy-00013o-00 for ; Thu, 07 Sep 2006 17:30:42 +0200 Original-Received: from sharris by chlorine.gnostech.com with local (Exim 4.62) (envelope-from ) id J58B2C-000204-7Z for ding@gnus.org; Thu, 07 Sep 2006 08:30:12 -0700 Original-To: ding@gnus.org Mail-Followup-To: ding@gnus.org In-Reply-To: (Steve Youngs's message of "Thu, 07 Sep 2006 15:51:33 +1000") User-Agent: Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.13 (cygwin32) X-Spam-Score: -2.5 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63712 Archived-At: Steve Youngs writes: > they'd rather put the files in the correct locations (as per XEmacs > package hierarchy). Which is where? I've run into the same problem with trying to place the etc directory on a fresh installation, using --prefix to put the CVS-pulled build into ~/usr/local. If I remember correctly, Gnus scans for its images by taking every entry on the load path, popping up a directory (out of, say, "site-packages/lisp/gnus" to "site-packages/lisp"), then looking for "etc/gnus" below. For instance, gnus-xmas-glyph-directory is initialized as follows: (message-xmas-find-glyph-directory "gnus") -> (nnheader-find-etc-directory "gnus") -> "$PREFIX/lib/xemacs/site-packages/lisp/etc/gnus/" In my current installation, I had to manually link $PREFIX/lib/xemacs/site-packages/lisp/etc/ -> $PREFIX/lib/xemacs/site-packages/etc/ for nnheader-find-etc-directory to work. Elsewhere, though, gnus-group-startup-message calls (nnheader-find-etc-directory "images/gnus"), which required me to create this link $PREFIX/lib/xemacs/site-packages/etc/gnus -> $PREFIX/lib/xemacs/site-packages/etc/images/gnus to get things to work. Or maybe that last one wasn't necessary. The function gmm-image-load-path-for-library also contains some sniffing around under the etc directory. I'm always reluctant to start from scratch for fear of having to reestablish these links. What am I doing wrong? -- Steven E. Harris