Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: A useful washing function
Date: 14 Aug 1998 21:10:47 +0200	[thread overview]
Message-ID: <m3hfzfnzuw.fsf@sparky.gnus.org> (raw)
In-Reply-To: Michael Welsh Duggan's message of "Fri, 14 Aug 1998 18:11:43 GMT"

Michael Welsh Duggan <md5i@cs.cmu.edu> writes:

> I don't know who else this would be of use to, but I find it extremely
> useful when looking at some of the crufty messages I see people send
> out full of system-dependent control characters and such.

[...]

> It might be nice to have this or something like this as an article
> washing function in gnus.  Of course, to be useful you also have to
> have a function in the gnus-article-diplay-hook which resets the
> buffer-display-table to some default.

I don't think fiddling with the display table is the right thing to
do.  Instead, it should translate the text into what you are using, so
that you can follow up to articles without propagating the breakage.

The `article-translate-characters' function is a framework for
character translation.  There is currently only one command that uses
it -- the command to translate dumbquotes into Latin-1.

I think someone should write a slew of commands to translate from
various buggy charsets, and we could put that on the `W C' keymap.
There should also be a command to guess what the articles charset is,
and then apply the required translation.

I have little use for this, but if anyone wants to write this, I'll
apply the patches.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


      parent reply	other threads:[~1998-08-14 19:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-08-14 18:11 Michael Welsh Duggan
1998-08-14 18:33 ` Michael Welsh Duggan
1998-08-14 19:10 ` Lars Magne Ingebrigtsen [this message]

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=m3hfzfnzuw.fsf@sparky.gnus.org \
    --to=larsi@gnus.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).