* Chars escape-quoted in RMAIL files saved from gnus
@ 2008-04-27 22:13 Scott Heftler
2008-04-27 22:49 ` Peter Dyballa
[not found] ` <mailman.10864.1209336597.18990.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 5+ messages in thread
From: Scott Heftler @ 2008-04-27 22:13 UTC (permalink / raw)
To: help-gnu-emacs
Well, I can open files saved in `gnus-summary-save-in-rmail' format,
but many characters get escape-quoted, such as the elipsis character
`...', which I see as \205.
So what coding system variable do I need to change so that my saved
files can be read in prteey RMAIL mode but do not have ascii chars >
127 escaped out?
Thanks in advance.
-- Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Chars escape-quoted in RMAIL files saved from gnus
2008-04-27 22:13 Chars escape-quoted in RMAIL files saved from gnus Scott Heftler
@ 2008-04-27 22:49 ` Peter Dyballa
[not found] ` <mailman.10864.1209336597.18990.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2008-04-27 22:49 UTC (permalink / raw)
To: Scott Heftler; +Cc: help-gnu-emacs
Am 28.04.2008 um 00:13 schrieb Scott Heftler:
> So what coding system variable do I need
windows-1250, windows-1251, windows-1252
--
Greetings
Pete
A blizzard is when it snows sideways.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Chars escape-quoted in RMAIL files saved from gnus
[not found] ` <mailman.10864.1209336597.18990.help-gnu-emacs@gnu.org>
@ 2008-04-27 22:59 ` Scott Heftler
2008-04-27 23:30 ` Scott Heftler
1 sibling, 0 replies; 5+ messages in thread
From: Scott Heftler @ 2008-04-27 22:59 UTC (permalink / raw)
To: help-gnu-emacs
Yes, Pete, these are the CS symbols I assign to some variable; but
which one? There are so many CS variables in emacs, including special
alists for gnus and for mm, rmail, etc. To which one in particular do
I make the assignment?
-- Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Chars escape-quoted in RMAIL files saved from gnus
[not found] ` <mailman.10864.1209336597.18990.help-gnu-emacs@gnu.org>
2008-04-27 22:59 ` Scott Heftler
@ 2008-04-27 23:30 ` Scott Heftler
2008-04-28 8:38 ` Peter Dyballa
1 sibling, 1 reply; 5+ messages in thread
From: Scott Heftler @ 2008-04-27 23:30 UTC (permalink / raw)
To: help-gnu-emacs
OK, so the windows-1252 ellipses display nicely in a RMAIL-mode file
saved via `gnus-summary-save-in-rmail' when I run
`universal-coding-system-argument' via C -x RET c windows-1252. But
SURELY there must be a way to automate this. So I put these in my
init file:
(prefer-coding-system 'windows-1252)
(prefer-coding-system 'utf-8)
This makes sure utf-8 is top pick, and windowsw-1252 is second.
You'd think that, when emacs encounters these \205s, it would KNOW to
pick windows-1252. But it doesn't. Is there no way to AUTOMATE
emacs' pick of coding system?
-- Scott
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Chars escape-quoted in RMAIL files saved from gnus
2008-04-27 23:30 ` Scott Heftler
@ 2008-04-28 8:38 ` Peter Dyballa
0 siblings, 0 replies; 5+ messages in thread
From: Peter Dyballa @ 2008-04-28 8:38 UTC (permalink / raw)
To: Scott Heftler; +Cc: help-gnu-emacs
Am 28.04.2008 um 01:30 schrieb Scott Heftler:
> You'd think that, when emacs encounters these \205s, it would KNOW to
> pick windows-1252. But it doesn't. Is there no way to AUTOMATE
> emacs' pick of coding system?
It's possible to use (file) local variables. In the file's header,
first line I think, something like
;; -*- mode: Emacs-Lisp; coding: utf-8; -*-
or at the file's end
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% coding: utf-8-unix
%%% TeX-command-default: "XeLaTeX"
%%% End:
you can set a few parameters of operation. Depending on which file
type(s) is easier to manipulate by these means you can leave out one
encoding preference. Something like this might also work (I think I
once had this active):
;;(setq file-coding-system-alist
;; (append
;; '(("\\.tex\\'" iso-latin-9-unix . iso-latin-9-unix))
;; file-coding-system-alist))
;(modify-coding-system-alist 'file "\\.tex\\'" 'iso-latin-9-unix)
Or you can decide to reduce the number of encodings you use.
Sometimes less pluralism can be more.
--
Greetings
Pete
Know thyself. Need help, call GOOGLE.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-04-28 8:38 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-27 22:13 Chars escape-quoted in RMAIL files saved from gnus Scott Heftler
2008-04-27 22:49 ` Peter Dyballa
[not found] ` <mailman.10864.1209336597.18990.help-gnu-emacs@gnu.org>
2008-04-27 22:59 ` Scott Heftler
2008-04-27 23:30 ` Scott Heftler
2008-04-28 8:38 ` Peter Dyballa
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 read-only IMAP folder(s) and NNTP newsgroup(s).