all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: How to not get the Cc header in Gnus, on reply to mail
Date: Wed, 02 Oct 2013 21:47:41 +0200	[thread overview]
Message-ID: <87ob77xxmx.fsf__46455.9829947122$1380743423$gmane$org@nl106-137-194.student.uu.se> (raw)

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


             reply	other threads:[~2013-10-02 19:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-02 19:47 Emanuel Berg [this message]
2013-10-03  3:19 ` How to not get the Cc header in Gnus, on reply to mail Eric Abrahamsen
     [not found] ` <mailman.3285.1380770349.10748.help-gnu-emacs@gnu.org>
2013-10-03 19:35   ` Emanuel Berg
     [not found] <87ob77xxmx.fsf@nl106-137-194.student.uu.se>
2013-10-02 22:44 ` Emanuel Berg
2013-10-03  3:10   ` Floyd L. Davidson
2013-10-03 19:30     ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='87ob77xxmx.fsf__46455.9829947122$1380743423$gmane$org@nl106-137-194.student.uu.se' \
    --to=embe8573@student.uu.se \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.