Gnus development mailing list
 help / color / mirror / Atom feed
* My first lisp function for Gnus
@ 2000-01-21 11:23 Julien GILLES
  2000-01-21 11:38 ` Roman Belenov
  2000-01-21 12:05 ` Arvid Grøtting
  0 siblings, 2 replies; 14+ messages in thread
From: Julien GILLES @ 2000-01-21 11:23 UTC (permalink / raw)



Well, it's not a revolution for Gnus World, but for me :-) 

In the Customize view of a group, there is an admin-adress field that
is not used, it is there only for convenience. 

I think that this adress should be automatically used for sending
messages to the mailing list server associated to the group.

(defun gnus-mail-admin-address ()
  "Compose mail for admin adress of a mailing list."
  (interactive)
  (let ((adress (gnus-group-find-parameter 
		 gnus-newsgroup-name 'admin-address)))
    (cond (adress (gnus-setup-message 'message (message-mail adress)))
	  (t (display-message 'error "no admin adress")))))

(gnus-define-keys gnus-summary-mode-map "\C-ca" gnus-mail-admin-address)

- AFAK, "Control-c a" is not used. Another better keys ?
- Feel free to modify/correct/change this code, if something is not
  done the right way. 

regards

-- 
Julien Gilles.



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

end of thread, other threads:[~2000-01-26 14:45 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-21 11:23 My first lisp function for Gnus Julien GILLES
2000-01-21 11:38 ` Roman Belenov
2000-01-21 12:11   ` Julien GILLES
2000-01-21 12:41     ` Arvid Grøtting
2000-01-21 12:54       ` Julien GILLES
2000-01-21 13:02     ` Didier Verna
2000-01-22  3:24       ` Mailing list handling wishlist Russ Allbery
2000-01-21 12:18   ` My first lisp function for Gnus Kai Großjohann
2000-01-21 12:05 ` Arvid Grøtting
2000-01-21 12:17   ` Julien GILLES
2000-01-21 12:35     ` Arvid Grøtting
2000-01-21 14:07       ` Per Abrahamsen
2000-01-25 17:22         ` Justin Sheehy
2000-01-26 14:45           ` Per Abrahamsen

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