* What coding system to use for .spam-stat.el
@ 2003-01-23 12:43 Niklas Morberg
2003-01-23 14:37 ` Bill White
0 siblings, 1 reply; 3+ messages in thread
From: Niklas Morberg @ 2003-01-23 12:43 UTC (permalink / raw)
For some reason, I now get asked the question:
No default coding systems to try.
Select one of the following safe coding systems:
...
every time I exit a spam or ham group. I've tried choosing
emacs-mule, but the setting doesn't "stick", so I get asked
the same question over and over again.
Is this expected behaviour and what can I do to get rid of
it?
Niklas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What coding system to use for .spam-stat.el
2003-01-23 12:43 What coding system to use for .spam-stat.el Niklas Morberg
@ 2003-01-23 14:37 ` Bill White
2003-01-23 20:14 ` Alex Schroeder
0 siblings, 1 reply; 3+ messages in thread
From: Bill White @ 2003-01-23 14:37 UTC (permalink / raw)
Cc: ding
On Thu Jan 23 2003 at 06:43, Niklas Morberg <niklas.morberg@axis.com> said:
> For some reason, I now get asked the question:
>
> No default coding systems to try.
> Select one of the following safe coding systems:
> ...
>
> every time I exit a spam or ham group. I've tried choosing
> emacs-mule, but the setting doesn't "stick", so I get asked the same
> question over and over again.
It's just an elisp file - have you tried a local variable?
At the bottom of the file:
; Local Variables: ***
; coding:sjis ***
; End: ***
or at the top:
;-*- coding: utf-8; -*-
I suppose the string you want would be "emacs-mule" rather than "sjis"
Cheers -
bw
--
Bill White . billw@wolfram.com . http://members.wri.com/billw
"No ma'am, we're musicians."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: What coding system to use for .spam-stat.el
2003-01-23 14:37 ` Bill White
@ 2003-01-23 20:14 ` Alex Schroeder
0 siblings, 0 replies; 3+ messages in thread
From: Alex Schroeder @ 2003-01-23 20:14 UTC (permalink / raw)
Bill White <billw@wolfram.com> writes:
>> every time I exit a spam or ham group. I've tried choosing
>> emacs-mule, but the setting doesn't "stick", so I get asked the same
>> question over and over again.
You could try file-coding-system-alist:
(add-to-list 'file-coding-system-alist
(cons "\\.spam-stat.el\\'" 'emacs-mule))
Alex.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-23 20:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-23 12:43 What coding system to use for .spam-stat.el Niklas Morberg
2003-01-23 14:37 ` Bill White
2003-01-23 20:14 ` Alex Schroeder
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).