Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Smilies changing seemingly by themselves
@ 2004-07-19 13:55 Adam Sjøgren
  0 siblings, 0 replies; only message in thread
From: Adam Sjøgren @ 2004-07-19 13:55 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 932 bytes --]

  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


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: pick-up-first-smiley-data-directory.patch --]
[-- Type: text/x-patch, Size: 400 bytes --]

--- 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-07-19 13:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-19 13:55 Smilies changing seemingly by themselves Adam Sjøgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).