* Signatures - an idea ?
@ 2002-07-15 11:11 Per-Karsten Nordhaug
2002-07-15 11:32 ` Glyn Millington
[not found] ` <87bs99usnt.fsf@enberg.org>
0 siblings, 2 replies; 3+ messages in thread
From: Per-Karsten Nordhaug @ 2002-07-15 11:11 UTC (permalink / raw)
Heya, all...
I'm no elisp guru, that's why I post this here for you all...
Has anyone (other than me) thought a little code snippet that could
_remove_ the signature (other than using posting styles), when you're
in the message buffer would be nice ?
I spend some time and effort reporting spam - put I've only bothered
to make one signature. Whenever I report stuff to abuse etc., a
feature to remove the standard signature from the buffer I'm in would
be *so* useful...
Any takers ?
--
ask not what you can do for your country, ,''`.
ask what your country did to you. : :' :
pnordhau@chello.no - http://home.chello.no/~pnordhau `. `'
GPG Public Key: http;//home.chello.no/~pnordhau/gpg.ascii `-
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Signatures - an idea ?
2002-07-15 11:11 Signatures - an idea ? Per-Karsten Nordhaug
@ 2002-07-15 11:32 ` Glyn Millington
[not found] ` <87bs99usnt.fsf@enberg.org>
1 sibling, 0 replies; 3+ messages in thread
From: Glyn Millington @ 2002-07-15 11:32 UTC (permalink / raw)
Per-Karsten Nordhaug <pnordhau@chello.no> writes:
> Heya, all...
>
> I'm no elisp guru, that's why I post this here for you all...
> Has anyone (other than me) thought a little code snippet that could
> _remove_ the signature (other than using posting styles), when you're
> in the message buffer would be nice ?
>
> I spend some time and effort reporting spam - put I've only bothered
> to make one signature. Whenever I report stuff to abuse etc., a
> feature to remove the standard signature from the buffer I'm in would
> be *so* useful...
Is this any use?
;; replace-signature will replace the signature in an email (in case it's
;; inappropriate) Lifted this from Charles Seebold's .emacs
(defun replace-signature ()
(interactive)
(save-excursion
(goto-char (point-min))
(search-forward-regexp "^--")
(search-forward-regexp "^--" (point-max) nil 1)
(next-line 1)
(beginning-of-line)
(delete-region (point) (point-max))))
(global-set-key [f9] 'replace-signature) ; hitting "F9" removes the signature
Glyn
^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <87bs99usnt.fsf@enberg.org>]
end of thread, other threads:[~2002-07-15 12:52 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-15 11:11 Signatures - an idea ? Per-Karsten Nordhaug
2002-07-15 11:32 ` Glyn Millington
[not found] ` <87bs99usnt.fsf@enberg.org>
[not found] ` <874rf1yxom.fsf@chello.no>
2002-07-15 12:52 ` Sherilyn
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).