f***@gmail.com
2014-11-11 17:45:40 UTC
Vladimir> Hi
Vladimir> Help me please to setup GNUS Emacs 20.6 displaying KOI8-R
Vladimir> characters properly in *Summary*, *Article* buffers. Can I
Vladimir> read about that somewhere ? Please let me know.
You didn't say what's your problem. If it is with MIME, you should
install gnus 5.8.8, which makes MIME available out-of-the-box, and
that solves many problems.
;=====================
(setq mm-body-charset-encoding-alist
'((iso-8859-1 . 8bit)
(iso-8859-3 . 8bit)
(utf-8 . 8bit)
(koi8-r . 8bit)))
(define-coding-system-alias 'KOI8-R 'koi8-r)
(codepage-setup 1251)
(define-coding-system-alias 'windows-1251 'cp1251)
(set-language-environment "Cyrillic-KOI8")
(put-charset-property 'cyrillic-iso8859-5 'prefered-coding-system
'koi8-r)
;=====================
;=====================
(setq message-default-charset 'koi8-r
gnus-default-posting-charset 'koi8-r
)
;=====================
There is a nasty tradition among Russian loosers to mark their koi8-r
messages as latin-1-encoded (actually, many defective mailers do not
offer a possibility to specify the correct encoding and everything
beyond ASCII mark as iso8859-1); so you may want to indicate that for the
Russian groups of your choice the charset specification iso8859-1
should be ignored and interpreted as koi8-r. In the Groups Buffer,
position the point at the Russian group, say "G c" and customize the
ignored and the default charsets (you may be interested to see the
`gnus-newsgroup-ignored-charsets' variable).
You could explore the online manual, say "C-h i g (gnus)charsets"
Vladimir> Also I'd like to setup rmail in Emacs with
Vladimir> rmail-preserve-inbox is t. The problem is: every call
Vladimir> to M-x rmail reads all my mail, so at first read my
Vladimir> RMAIL file contains 492 messages, at second time 982 etc.
Vladimir> Is it possible to make rmail reads only new messages and
Vladimir> appends it to RMAIL?
I don't know (I use gnus for both mail and news).
--
Sergei
Thank you very much for your reply!Vladimir> Help me please to setup GNUS Emacs 20.6 displaying KOI8-R
Vladimir> characters properly in *Summary*, *Article* buffers. Can I
Vladimir> read about that somewhere ? Please let me know.
You didn't say what's your problem. If it is with MIME, you should
install gnus 5.8.8, which makes MIME available out-of-the-box, and
that solves many problems.
;=====================
(setq mm-body-charset-encoding-alist
'((iso-8859-1 . 8bit)
(iso-8859-3 . 8bit)
(utf-8 . 8bit)
(koi8-r . 8bit)))
(define-coding-system-alias 'KOI8-R 'koi8-r)
(codepage-setup 1251)
(define-coding-system-alias 'windows-1251 'cp1251)
(set-language-environment "Cyrillic-KOI8")
(put-charset-property 'cyrillic-iso8859-5 'prefered-coding-system
'koi8-r)
;=====================
;=====================
(setq message-default-charset 'koi8-r
gnus-default-posting-charset 'koi8-r
)
;=====================
There is a nasty tradition among Russian loosers to mark their koi8-r
messages as latin-1-encoded (actually, many defective mailers do not
offer a possibility to specify the correct encoding and everything
beyond ASCII mark as iso8859-1); so you may want to indicate that for the
Russian groups of your choice the charset specification iso8859-1
should be ignored and interpreted as koi8-r. In the Groups Buffer,
position the point at the Russian group, say "G c" and customize the
ignored and the default charsets (you may be interested to see the
`gnus-newsgroup-ignored-charsets' variable).
You could explore the online manual, say "C-h i g (gnus)charsets"
Vladimir> Also I'd like to setup rmail in Emacs with
Vladimir> rmail-preserve-inbox is t. The problem is: every call
Vladimir> to M-x rmail reads all my mail, so at first read my
Vladimir> RMAIL file contains 492 messages, at second time 982 etc.
Vladimir> Is it possible to make rmail reads only new messages and
Vladimir> appends it to RMAIL?
I don't know (I use gnus for both mail and news).
--
Sergei
I've figured out that to read difficult Russian mail
(set-language-environment "Cyrillic-KOI8")
is enough, am I right?
And after that you can (set-language-environment "English") and turn back to your normal work.
The binding is "C-x l"
Regards,
Evgenii
P.S. according to my experience, only one person sends me emails I can not view in GNUS automatically because of this KOI8 problem. Only one...