From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/55154 Path: main.gmane.org!not-for-mail From: Chris Green Newsgroups: gmane.emacs.gnus.general Subject: calling gnus-group-mail with a groupname Date: Tue, 09 Dec 2003 10:21:13 -0500 Organization: have you seen my office? Sender: ding-owner@lists.math.uh.edu Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1070986609 14518 80.91.224.253 (9 Dec 2003 16:16:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2003 16:16:49 +0000 (UTC) Original-X-From: ding-owner+M3694@lists.math.uh.edu Tue Dec 09 17:16:46 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ATkXW-0002CB-00 for ; Tue, 09 Dec 2003 17:16:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1ATkWw-0000pu-00; Tue, 09 Dec 2003 10:16:10 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1ATjog-0000mE-00 for ding@lists.math.uh.edu; Tue, 09 Dec 2003 09:30:26 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id D62803A0033 for ; Tue, 9 Dec 2003 09:30:25 -0600 (CST) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ATjof-0003cI-00 for ; Tue, 09 Dec 2003 16:30:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ATjfm-0003XH-00 for ; Tue, 09 Dec 2003 16:21:14 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1ATjfm-0001fY-00 for ; Tue, 09 Dec 2003 16:21:14 +0100 Original-Lines: 23 Original-X-Complaints-To: usenet@sea.gmane.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:FVHDxKDlEYpLY0vhiluDwG8a944= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:55154 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:55154 Hey folks, I've been trying to give myself a shortcut to a mailing list group that I don't read with gnus but I have defined a posting style for by wrapping a call to gnus-group-mail so that it uses the posting style of the group. The problem is after defining this wrapper, I still get prompted for the argument nam I'm using CVS from a little while ago if that's helps my problem. (defun cmg:mail-xyz () "Use this to mail using the posting style of xyx" (interactive) ;; overwrite the group-name function (flet ((gnus-group-group-name (&optional arg) "xyz")) (gnus-group-mail "xyz"))) ;; I wish it could use an arg groupname Replacing gnus-group-mail with (message (gnus-group-group-name)) seems to do the right thing. Any suggestions? -- Chris Green To err is human, to moo bovine.