From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: How to not get the Cc header in Gnus, on reply to mail Date: Wed, 02 Oct 2013 21:47:41 +0200 Organization: Aioe.org NNTP Server Message-ID: <87ob77xxmx.fsf__46455.9829947122$1380743423$gmane$org@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1380743413 27075 80.91.229.3 (2 Oct 2013 19:50:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2013 19:50:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 02 21:50:19 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VRSR9-0005wM-5t for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Oct 2013 21:50:19 +0200 Original-Received: from localhost ([::1]:37622 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRSR8-0001gU-Rr for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Oct 2013 15:50:18 -0400 Original-Path: usenet.stanford.edu!news.glorb.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help,gnu.emacs.gnus Original-Followup-To: gnu.emacs.help,gnu.emacs.gnus Original-Lines: 36 Original-NNTP-Posting-Host: VVbyYd/iFZoeWNmD9i++cQ.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:GUEvI8+BnCpMaSoyThOyTFlvstg= Original-Xref: usenet.stanford.edu gnu.emacs.help:201531 gnu.emacs.gnus:87645 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:93801 Archived-At: When I answer a mail in Gnus (with `gnus-article-followup-with-original') I get an undesired Cc header (with my own mail address). I suppose this is some hack to get a "sent messages" archive (?), but I already have that as (setq gnus-message-archive-group '("archived-news-and-mail") ) and (defun save-sent-mail () "Save sent messages." (write-file (format-time-string "~/Mail/sent/%Y-%m-%d_%T.m") nil) ) ; no confirm (add-hook 'message-sent-hook 'save-sent-mail) so I don't want it. I wrote this (defun remove-cc () (interactive) (save-excursion (message-goto-cc) (beginning-of-line) (kill-line) ) (set-buffer-modified-p nil) ) which works (if invoked), but I couldn't automatize it because I didn't manage to get it to be carried out in the message buffer - instead it was executed in the article mode buffer, where it made no sense. -- Emanuel Berg - programmer (hire me! CV below) computer projects: http://user.it.uu.se/~embe8573 internet activity: http://home.student.uu.se/embe8573