From: Sam Steingold <sds@gnu.org>
Subject: RFE: d/l only the header
Date: Sun, 26 Sep 2004 09:49:59 -0400 [thread overview]
Message-ID: <uk6uhm96g.fsf@gnu.org> (raw)
When reading mailing lists on gmane, I use this to mark spam:
(defun sds-gmane-url (type)
(concat "http://" type ".gmane.org/"
(if (string-match ":\\([^:]*\\)$" gnus-newsgroup-name)
(match-string 1 gnus-newsgroup-name)
gnus-newsgroup-name)
":" (number-to-string (mail-header-number
gnus-current-headers))))
(defun sds-gmane-article ()
(interactive)
(let ((url (sds-gmane-url "article")) (x-select-enable-clipboard t))
(kill-new url)
(message "Gmane: %s" url)))
(defun sds-gmane-spam () (interactive) (browse-url (sds-gmane-url "spam")))
Very often I know the article is spam just by looking at the sender and
subject, but the above code only works if I download the whole article
(which may be 1,000+ lines long!)
Is there a way to request just the header?
--
Sam Steingold (http://www.podval.org/~sds) running w2k
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.honestreporting.com>
main(a){printf(a,34,a="main(a){printf(a,34,a=%c%s%c,34);}",34);}
next reply other threads:[~2004-09-26 13:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-26 13:49 Sam Steingold [this message]
2004-09-27 14:45 ` Reiner Steib
2004-09-27 16:06 ` Ted Zlatanov
2004-09-27 20:57 ` Sam Steingold
2004-09-27 21:42 ` Reiner Steib
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=uk6uhm96g.fsf@gnu.org \
--to=sds@gnu.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).