Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 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-02 21:09 ` Dmitrii Kashin
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: Emanuel Berg @ 2013-10-02 19:47 UTC (permalink / raw)
  To: info-gnus-english

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] 12+ messages in thread

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-02 19:47 How to not get the Cc header in Gnus, on reply to mail Emanuel Berg
2013-10-02 21:09 ` Dmitrii Kashin
     [not found] ` <mailman.3273.1380748202.10748.info-gnus-english@gnu.org>
2013-10-02 21:40   ` Emanuel Berg
2013-10-02 22:18 ` Adam Sjøgren
     [not found] ` <mailman.3275.1380752323.10748.info-gnus-english@gnu.org>
2013-10-02 22:37   ` Emanuel Berg
2013-10-03 15:15     ` Teemu Likonen
     [not found]     ` <mailman.3311.1380813356.10748.info-gnus-english@gnu.org>
2013-10-03 19:20       ` Emanuel Berg
2013-10-03 21:26       ` Emanuel Berg
2013-10-03 22:05         ` Adam Sjøgren
     [not found]         ` <mailman.3353.1380837955.10748.info-gnus-english@gnu.org>
2013-10-03 22:22           ` Emanuel Berg
2013-10-03 22:35             ` Adam Sjøgren
     [not found]             ` <mailman.3356.1380839774.10748.info-gnus-english@gnu.org>
2013-10-03 23:26               ` 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 NNTP newsgroup(s).