From: Steinar Bang <sb@dod.no>
To: ding@gnus.org
Subject: Re: delete CC
Date: Fri, 10 May 2013 12:41:12 +0200 [thread overview]
Message-ID: <upzctxmbrubb.fsf@dod.no> (raw)
In-Reply-To: <87mws39sdq.fsf@mat.ucm.es>
>>>>> Uwe Brauer <oub@mat.ucm.es>:
> Or do I miss something?
My fingers just did `C-c C-f C-c C-a C-k C-k' and it worked (at first
try...:-) )
`C-c C-f C-c' is message-goto-cc
`C-a' is message-beginning-of-line
`C-k' is kill-line
So... I guess this will also work, but it isn't any easier than your
example...
(defun sb-eliminate-cc ()
(interactive)
(save-excursion
(message-goto-cc)
(message-beginning-of-line)
(kill-line)
(kill-line)))
There is no real benefit to using message-beginning-of-line, in this
context. We always want to go to the start of the line, so this would
be a better kandidate:
(defun sb-eliminate-cc ()
(interactive)
(save-excursion
(message-goto-cc)
(beginning-of-line)
(kill-line)
(kill-line)))
(but still no real improvement to your code, if you feel the command is
needed, that is...:-) )
prev parent reply other threads:[~2013-05-10 10:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-10 8:00 Uwe Brauer
2013-05-10 10:41 ` Steinar Bang [this message]
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=upzctxmbrubb.fsf@dod.no \
--to=sb@dod.no \
--cc=ding@gnus.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.
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).