Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: Tsuyoshi AKIHO <akiho@kawachi.zaq.ne.jp>
Subject: Re: improving nnrss.el
Date: Wed, 22 Dec 2004 20:25:14 +0900	[thread overview]
Message-ID: <b9y1xdiziat.fsf@jpl.org> (raw)
In-Reply-To: <b9yd5xdvyvx.fsf@jpl.org>

[-- Attachment #1: Type: text/plain, Size: 3267 bytes --]

>>>>>> In <b9y4qivqcks.fsf@jpl.org> Katsumi Yamaoka wrote:

>> I and Tsuyoshi AKIHO are now planning to make nnrss.el support
>> multilingual text.

> ftp://ftp.jpl.org/pub/tmp/nnrss-patch-20041214.gz
> or http://www.jpl.org/ftp/pub/tmp/nnrss-patch-20041214.gz

The new patch is here:

ftp://ftp.jpl.org/pub/tmp/nnrss-patch-20041221.gz
or http://www.jpl.org/ftp/pub/tmp/nnrss-patch-20041221.gz

To use this patch, you need to use the latest Gnus CVS.

I and Tsuyoshi AKIHO will install it into the Gnus trunk in the
near feature after he finished the paper work to FSF.  The new
nnrss.el supports multilingual text and non-ASCII group names.
You who are already subscribing to rss groups will need to do
some tedious tasks before using the new nnrss.el.  I'm sorry for
that but it will give you a real advantage.

Please note, you won't get a good result if your Emacs doesn't
support the `utf-8' coding system.

If you are an Emacs user and don't mind the past articles may
break a little, you have nothing to do except for removing of
the `charset' group parameter.

1. Remove the `charset' group parameter for the rss groups if
   you've set them.  It was a possible workaround in order to
   decode non-ASCII articles, but it is no longer necessary.

2. You may be able to continue to read past articles using the
   new nnrss.el, although articles which have broken from the
   first cannot be helped (it likely occurred because of the old
   nnrss.el).  To attempt to do that, read each rss file as
   binary, decode the contents using the proper coding system
   (which was used as the `charset' group parameter, maybe), and
   save it using the coding system which is specified to the
   `nnrss-file-coding-system' variable (see below).  I made a
   simple command for doing that.  It is attached at the end of
   this message.

   OTOH, removing all existing rss groups, removing all files
   under the ~/News/rss/ directory, restarting Gnus and creating
   again those groups is a good idea. ;-)

3. If you are an XEmacs user and want to use non-ASCII group
   names, you have to specify the value for the
   `nnmail-pathname-coding-system' variable.  It is used to
   encode and decode local rss filenames which will contain
   non-ASCII group names.  The value should be the coding system
   which is used as your computer's default.  For example:

   (setq nnmail-pathname-coding-system 'iso-8859-1)

   Although Emacs users don't have to bother to specify it since
   Emacs should set the `default-file-name-coding-system'
   variable properly, you can override it in the same way.

4. If you are using both Emacs and XEmacs-MULE, you have to
   specify the value for the `nnrss-file-coding-system' variable
   properly.  It is used to encode text contents which are saved
   in local rss files.  The default value is `emacs-mule' in
   Emacs or is `escape-quoted' in XEmacs-MULE, those are
   incompatible.  The possible values include `iso-2022-7bit',
   `utf-8', `ctext', etc.  For example:

   (setq nnrss-file-coding-system 'iso-2022-7bit)


OT: nnshimbun.el contained in the emacs-w3m package is also
useful for reading news sites in the world.  There are modules
for BBC News, Heise, Laut, N24, Rediff, Spiegel, The Register,
Welt, Zeit, etc.

\f

[-- Attachment #2: Type: application/emacs-lisp, Size: 1603 bytes --]

  reply	other threads:[~2004-12-22 11:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-09 23:25 Katsumi Yamaoka
2004-12-14 12:37 ` Katsumi Yamaoka
2004-12-22 11:25   ` Katsumi Yamaoka [this message]
2004-12-26 13:46     ` Katsumi Yamaoka

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=b9y1xdiziat.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=akiho@kawachi.zaq.ne.jp \
    /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).