all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: D. Goel <deego@glue.umd.edu>
Subject: Re: html mail filter in gnus
Date: 19 Sep 2002 16:58:01 -0400	[thread overview]
Message-ID: <87r8fp1yue.fsf@computer.localdomain> (raw)
In-Reply-To: 7i8z1xzpuc.fsf@neoscale.com

Kin Cho <kin@neoscale.com> writes:

> This approach seems to best fit my need.  How do you hook
> my:gnus-html2text into gnus so that it is run automatically on
> html mail?

oh, forgot to paste that part.. wow, never realized my .gnus has
become so bizarre by now--->

I guess this (dotgnus-remassoc) removes any previous text/html
bindings that mm-inline-media-tests may have.  Dunno if this step is
needed.  Wasn't there a simpler function for this dotgnus-remassoc?
remove* perhaps?


(setq ;; use lynx -dump to view inline HTML mm-inline-media-tests
(cons '("text/html" my:gnus-html2text (lambda (handle) (fboundp
'my:gnus-html2text))) (dotgnus-remassoc "text/html"
mm-inline-media-tests)) )



(defun dotgnus-remassoc (elt list)
  (let ((result '()))
    (mapcar (lambda (e) (unless (and (consp e)
				     (equal elt (car e)))
			  (setq result (cons e result))))
	    list)
    (nreverse result)))






DG                                 http://24.197.159.102/~deego/
--

  reply	other threads:[~2002-09-19 20:58 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-17 19:02 html mail filter in gnus Kin Cho
2002-09-17 22:16 ` James Cozine
2002-09-18  6:38   ` Ichimusai
2002-09-18  8:38 ` Kai Großjohann
2002-09-18  8:57 ` Jonas Steverud
2002-09-18 20:07 ` D. Goel
2002-09-19 20:28   ` Kin Cho
2002-09-19 20:58     ` D. Goel [this message]
2002-09-19 21:00       ` D. Goel
2002-09-20 15:17         ` Nils Goesche
2002-09-20 16:45           ` D. Goel
2002-09-20 17:59             ` Nils Goesche

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=87r8fp1yue.fsf@computer.localdomain \
    --to=deego@glue.umd.edu \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.