unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to not get the Cc header in Gnus, on reply to mail
@ 2013-10-02 19:47 Emanuel Berg
  2013-10-03  3:19 ` Eric Abrahamsen
       [not found] ` <mailman.3285.1380770349.10748.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 6+ messages in thread
From: Emanuel Berg @ 2013-10-02 19:47 UTC (permalink / raw)
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-10-03 19:35 UTC | newest]

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).