Gnus development mailing list
 help / color / mirror / Atom feed
* RFE: d/l only the header
@ 2004-09-26 13:49 Sam Steingold
  2004-09-27 14:45 ` Reiner Steib
  0 siblings, 1 reply; 5+ messages in thread
From: Sam Steingold @ 2004-09-26 13:49 UTC (permalink / 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);}




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-27 21:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-26 13:49 RFE: d/l only the header Sam Steingold
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

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).