From: asjo@koldfront.dk (Adam Sjøgren)
Subject: Smilies changing seemingly by themselves
Date: Mon, 19 Jul 2004 15:55:01 +0200 [thread overview]
Message-ID: <87n01wf6fe.fsf@koldfront.dk> (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)
reply other threads:[~2004-07-19 13:55 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87n01wf6fe.fsf@koldfront.dk \
--to=asjo@koldfront.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).