Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <4uce.02.r.steib@gmx.net>
Subject: Re: gnus-group-fetch-charter
Date: Fri, 23 Aug 2002 15:26:21 +0200	[thread overview]
Message-ID: <v9fzx5btaa.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <m3ptwchl1k.fsf@defun.localdomain>

On Wed, Aug 21 2002, Jesper Harder wrote:

> I thought it would be nice to have a convenient way to get the charter
> for a group (like gnus-group-fetch-faq for FAQ's).  

Nice idea.

> This works for some of the regional hierarchies 

The following patch adds the de.* hierarchy. WIBNI we could call the
function from the summary buffer too?

> (it's not so easy to do for the Big8 and alt).

:-(

--- gnus-fetch-charter.el.orig	Fri Aug 23 15:10:36 2002
+++ gnus-fetch-charter.el	Fri Aug 23 15:09:59 2002
@@ -1,7 +1,8 @@
 (defun gnus-group-fetch-charter (group)
   "Fetch the charter for the current group."
   (interactive
-   (list (gnus-group-group-name)))
+   (or (list (gnus-group-group-name))
+       gnus-newsgroup-name))
   (unless group
     (error "No group name given"))
   (let ((name (gnus-group-real-name group))
@@ -10,6 +11,8 @@
       (setq hierarchy (match-string 1 name))
       (cond ((string= hierarchy "no")
 	     (setq url (concat "http://no.news-admin.org/charter/" name ".txt")))
+	    ((string= hierarchy "de")
+	     (setq url (concat "http://purl.net/charta/" name ".html")))
 	    ((string= hierarchy "dk")
 	     (setq url (concat "http://www.usenet.dk/grupper.pl?get=" name)))
 	    ((string= hierarchy "england")

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/



  reply	other threads:[~2002-08-23 13:26 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-21  4:51 gnus-group-fetch-charter Jesper Harder
2002-08-23 13:26 ` Reiner Steib [this message]
2002-08-24  3:08   ` gnus-group-fetch-charter Jesper Harder
2002-08-24 15:27     ` gnus-group-fetch-charter Kai Großjohann
2002-08-26 21:11       ` gnus-group-fetch-charter Jesper Harder
2002-08-30 16:43         ` gnus-group-fetch-charter Reiner Steib
2002-08-30 20:45           ` gnus-group-fetch-charter Simon Josefsson
2002-08-25 18:20     ` gnus-group-fetch-charter Reiner Steib
2002-08-26 21:28       ` gnus-group-fetch-charter Jesper Harder
2002-12-29 22:31 ` gnus-group-fetch-charter Lars Magne Ingebrigtsen
2002-12-29 22:51   ` gnus-group-fetch-charter Kai Großjohann
2002-12-29 23:02     ` gnus-group-fetch-charter Lars Magne Ingebrigtsen
2002-12-29 23:00   ` gnus-group-fetch-charter Jesper Harder
2002-12-29 23:13     ` gnus-group-fetch-charter Lars Magne Ingebrigtsen
2003-01-02 21:26       ` gnus-group-fetch-charter Jesper Harder

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=v9fzx5btaa.fsf@marauder.physik.uni-ulm.de \
    --to=4uce.02.r.steib@gmx.net \
    --cc=reiner.steib@gmx.de \
    /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).