From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3970 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?iso-8859-1?Q?Sj=F8gren?=) Newsgroups: gmane.emacs.gnus.user Subject: Smilies changing seemingly by themselves Date: Mon, 19 Jul 2004 15:55:01 +0200 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <87n01wf6fe.fsf@koldfront.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1138669987 21209 80.91.229.2 (31 Jan 2006 01:13:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:13:07 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:02 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!uninett.no!news.net.uni-c.dk!sunsite.dk!news.szn.dk!news.koldfront.dk!pnx.dk!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: topper.koldfront.dk Original-X-Trace: virgil.koldfront.dk 1090245222 11664 192.168.1.190 (19 Jul 2004 13:53:42 GMT) Original-X-Complaints-To: abuse@koldfront.dk Original-NNTP-Posting-Date: Mon, 19 Jul 2004 13:53:42 +0000 (UTC) X-Face: &DfBw60^ZxI8hd?J%t&_8wW?SLF%BBx<2XQ+sXYpX!?{=0C?9D{Nc`;Eq<0d=-L User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux) Cancel-Lock: sha1:Q5/br/H6LEp2E13CIAYgCZP7fkQ= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4111 Original-Lines: 52 X-Gnus-Article-Number: 4111 Tue Jan 17 17:33:02 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3970 Archived-At: --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Hi. Recently Gnus stopped picking up my modified smilies in ~/elisp/gnus/etc/smilies/ and started using the default xemacs-ones. After some fiddling around, I discovered that `smiley-data-directory' was being set to "/usr/share/xemacs21/xemacs-packages/etc/smilies/" instead of the expected "/home/asjo/elisp/gnus/etc/smilies/". This occurred because I updated the xemacs21-basesupport-package (Debian) that contains the ..../xemacs-packages/etc/smilies/ directory - and the setting of `smiley-data-directory' is done with the function `nnheader-find-etc-directory' which finds the _newest_ etc-directory. Does taking the newest directory instead of the first (in the `load-path') make sense here? Confused the hell out of me at least :-) Best regards, Adam -- "Mr. Cotton's... parrot. Same question." Adam Sjøgren asjo@koldfront.dk --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=pick-up-first-smiley-data-directory.patch --- smiley.el 20 May 2004 08:02:41 -0000 7.2 +++ smiley.el 19 Jul 2004 13:52:31 -0000 @@ -44,7 +44,7 @@ :group 'gnus-visual) ;; Maybe this should go. -(defcustom smiley-data-directory (nnheader-find-etc-directory "smilies") +(defcustom smiley-data-directory (nnheader-find-etc-directory "smilies" nil t) "*Location of the smiley faces files." :type 'directory :group 'smiley) --=-=-=--