From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/11111 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.gnus.general Subject: Re: Summary format question Date: 27 May 1997 18:07:53 +0200 Message-ID: References: <2xoh9x9dq0.fsf@ccae-sv.inesc.pt> Reply-To: Kai Grossjohann NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.100) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035150876 28363 80.91.224.250 (20 Oct 2002 21:54:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:54:36 +0000 (UTC) Return-Path: Original-Received: from sandy.calag.com (root@sandy [206.190.83.128]) by altair.xemacs.org (8.8.5/8.8.5) with ESMTP id KAA11637 for ; Tue, 27 May 1997 10:39:42 -0700 Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by sandy.calag.com (8.8.5/8.8.5) with ESMTP id KAA23359 for ; Tue, 27 May 1997 10:39:27 -0700 Original-Received: from ifi.uio.no (0@ifi.uio.no [129.240.64.2]) by xemacs.org (8.8.5/8.8.5) with SMTP id MAA06604 for ; Tue, 27 May 1997 12:38:46 -0500 (CDT) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Tue, 27 May 1997 18:07:57 +0200 Original-Received: (qmail 30297 invoked by uid 504); 27 May 1997 16:07:56 -0000 Original-Received: (qmail 30294 invoked from network); 27 May 1997 16:07:55 -0000 Original-Received: from waldorf.informatik.uni-dortmund.de (129.217.4.42) by claymore.vcinet.com with SMTP; 27 May 1997 16:07:55 -0000 Original-Received: from naunet.informatik.uni-dortmund.de (naunet.informatik.uni-dortmund.de [129.217.20.111]) by waldorf.informatik.uni-dortmund.de with SMTP id SAA11873 for ; Tue, 27 May 1997 18:07:54 +0200 (MES) Original-Received: by naunet.informatik.uni-dortmund.de id SAA16140; Tue, 27 May 1997 18:07:54 +0200 Original-To: ding@gnus.org In-Reply-To: Nelson Jose dos Santos Ferreira's message of 27 May 1997 15:44:23 +0100 X-Mailer: Gnus v5.4.55/Emacs 19.34 Original-Lines: 47 Original-Xref: altair.xemacs.org dgnus-list:1501 Xref: main.gmane.org gmane.emacs.gnus.general:11111 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:11111 >>>>> Nelson Jose dos Santos Ferreira writes: Nelson> 1. Set Gcc replies for mail folders to that folder. I use the following: ,----- | (defun kai-gnus-outgoing-message-group () | (cond ((and gnus-newsgroup-name | (stringp gnus-newsgroup-name) | (string-match "^nnml" gnus-newsgroup-name)) | gnus-newsgroup-name) | (t "nnml:mail.misc"))) | (setq gnus-outgoing-message-group 'kai-gnus-outgoing-message-group) `----- I also have the following function bound to a key in message mode. ,----- | (defun message-toggle-gcc () | (interactive) | (save-excursion | (save-restriction | (let ((pmin (progn (beginning-of-buffer) (point))) | (pmax (progn | (beginning-of-buffer) | (re-search-forward (concat "^" mail-header-separator | "$")) | (beginning-of-line) | (point)))) | (beginning-of-buffer) | (narrow-to-region pmin pmax) | (if (re-search-forward "^gcc: .*" nil t) | (progn | (beginning-of-line) | (kill-line 1)) | (goto-char pmax) | (insert (concat "Gcc: " | (kai-gnus-outgoing-message-group) | "\n"))))))) `----- hth, kai -- Life is hard and then you die.