From: Aidan Kehoe <kehoea@parhasard.net>
To: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: ding@gnus.org
Subject: Re: nnmail-pathname-coding-system breaks my XEmacs.
Date: Thu, 15 Jan 2009 00:35:27 +0000 [thread overview]
Message-ID: <18798.33999.638951.592345@parhasard.net> (raw)
In-Reply-To: <b4mzlhta00z.fsf@jpl.org>
Ar an cúigiú lá déag de mí Eanair, scríobh Katsumi Yamaoka:
> [...] IIUC `(setq file-name-coding-system ...)' here is for XEmacs 21.5
> to which your patch has not been applied yet. Is it necessary to do that
> in advance whenever one binds `file-name-coding-system' to something? In
> other words, supposing `file-name' will not vary after having been set to
> a certain value according to the system, isn't it enough to do it once
> when XEmacs starts?
Once should be okay, yes.
> That is,
>
> >>>>> In <b4mtz82duj7.fsf@jpl.org> Katsumi Yamaoka wrote:
> > BTW, does this workaround do the trick?
>
> > (if (featurep 'xemacs)
> > (if (featurep 'file-coding)
> > (setq file-name-coding-system
> > (or file-name-coding-system
> > (coding-system-name 'file-name)))))
No, you want:
(setq file-name-coding-system (coding-system-aliasee 'file-name))
> I planned to introduce such a wrapper, however there are many
> places that need it in Gnus:
>
> $ grep '(file-name-coding-system' *.el | wc -l
> 88
>
> So, I'd like to use a much simpler way to fix the problem if
> possible. Note that the Gnus release (i.e. the Emacs 23 release)
> is around the corner.
>
> Regards,
>
> P.S. I wonder why this is brought up now although binding of
> pathname-coding-system (the predecessor of file-name-coding-system)
> appeared first in Quassia Gnus v0.1 (1997). ;-)
I reported the bug because I recently learned a debugging technique which
discovering what went wrong much, much easier.
--
¿Dónde estará ahora mi sobrino Yoghurtu Nghe, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?
next prev parent reply other threads:[~2009-01-15 0:35 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <18794.15468.881403.994781@parhasard.net>
2009-01-11 21:54 ` Reiner Steib
2009-01-12 1:08 ` Katsumi Yamaoka
2009-01-12 12:02 ` Aidan Kehoe
2009-01-13 6:46 ` Katsumi Yamaoka
2009-01-13 12:02 ` Aidan Kehoe
2009-01-14 6:36 ` Katsumi Yamaoka
2009-01-14 10:57 ` Katsumi Yamaoka
2009-01-14 11:33 ` Aidan Kehoe
2009-01-14 20:16 ` Reiner Steib
2009-01-14 20:48 ` Aidan Kehoe
2009-01-15 0:25 ` Katsumi Yamaoka
2009-01-15 0:35 ` Aidan Kehoe [this message]
2009-01-16 8:05 ` Katsumi Yamaoka
2009-01-16 14:19 ` Aidan Kehoe
2009-01-14 20:56 ` Aidan Kehoe
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=18798.33999.638951.592345@parhasard.net \
--to=kehoea@parhasard.net \
--cc=ding@gnus.org \
--cc=yamaoka@jpl.org \
/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).