Gnus development mailing list
 help / color / mirror / Atom feed
From: weg@indiscrete.org (Eythan Weg)
Subject: Re: nnrss links
Date: Mon, 08 May 2006 08:11:52 -0400	[thread overview]
Message-ID: <874q00wwaf.fsf@indiscrete.org> (raw)
In-Reply-To: <9ehd43z8li.fsf@doze.jochen-kuepper.de>



 From: Jochen Küpper <jochen@fhi-berlin.mpg.de>
 Date: Sat, 06 May 2006 13:38:33 +0200


>
> From my .gnus, collected here on ding, I guess:
> ,----
> | (defun jk/browse-nnrss-url(arg)
> |   (interactive "p")
> |   (let ((url (assq nnrss-url-field
> |                    (mail-header-extra
> |                     (gnus-data-header
> |                      (assq (gnus-summary-article-number)
> |                            gnus-newsgroup-data))))))
> |     (if url
> |         (progn
> |           (browse-url (cdr url))
> |           (gnus-summary-mark-as-read-forward 1))
> |       (gnus-summary-scroll-up arg))))
> | (add-to-list 'nnmail-extra-headers nnrss-url-field)
> | (add-hook 'gnus-summary-mode-hook
> |           (lambda ()
> |             (if (string-match "nnrss" gnus-newsgroup-name)
> |                 (define-key gnus-summary-mode-map (kbd "<RET>") 'jk/browse-nnrss-url))))

Thank you.  works very well.  eythan.




      reply	other threads:[~2006-05-08 12:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-05  1:20 Eythan Weg
     [not found] ` <87veslmfn3.fsf-5BmGIU6vVXU6GL+IUqp+Xg@public.gmane.org>
2006-05-06 11:38   ` Jochen Küpper
2006-05-08 12:11     ` Eythan Weg [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=874q00wwaf.fsf@indiscrete.org \
    --to=weg@indiscrete.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).