From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16518 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.user 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@nl106-137-194.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1380743402 26860 80.91.229.3 (2 Oct 2013 19:50:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Oct 2013 19:50:02 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Oct 02 21:50:07 2013 Return-path: Envelope-to: gegu-info-gnus-english@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 1VRSQw-0005j7-Mx for gegu-info-gnus-english@m.gmane.org; Wed, 02 Oct 2013 21:50:06 +0200 Original-Received: from localhost ([::1]:37621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VRSQw-0001bS-D3 for gegu-info-gnus-english@m.gmane.org; Wed, 02 Oct 2013 15:50:06 -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: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16518 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