From: Per Abrahamsen <abraham@dina.kvl.dk>
Subject: PATCH: Don't quote signature (was: Re: GNKSA and Gnus)
Date: 13 Jan 1998 16:58:34 +0100 [thread overview]
Message-ID: <rjd8hwwel1.fsf_-_@zuse.+dina.kvl.dk> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 12 Jan 1998 23:15:25 +0100
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Providing an alternative to `message-cite-original' that removes the
> signature might be nice.
Here is a patch to `message-cite-original' which simply doesn't quote
the signature. I think that in the rare cases where the user *want*
to quote the signature, he can just cut and paste it manually.
1998-01-13 Per Abrahamsen <abraham@dina.kvl.dk>
* gnus/message.el (message-cite-original): Don't quote signature.
cd /pack/emacs-20/share/emacs/20.2/lisp/gnus/
diff -c message.el~ message.el
*** message.el~ Fri Sep 5 08:12:49 1997
--- message.el Tue Jan 13 16:56:11 1998
***************
*** 1598,1608 ****
--- 1598,1612 ----
(defun message-cite-original ()
"Cite function in the standard Message manner."
(let ((start (point))
+ (end (mark t))
(functions
(when message-indent-citation-function
(if (listp message-indent-citation-function)
message-indent-citation-function
(list message-indent-citation-function)))))
+ (goto-char end)
+ (when (re-search-backward "^-- $" start t)
+ (delete-region (point) end))
(goto-char start)
(while functions
(funcall (pop functions)))
Compilation exited abnormally with code 1 at Tue Jan 13 16:57:05
next prev parent reply other threads:[~1998-01-13 15:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <199712280107.UAA02498@mail.interpath.net>
1998-01-05 19:54 ` GNKSA and Gnus Per Abrahamsen
1998-01-05 20:31 ` Russ Allbery
1998-01-05 21:29 ` Selective quoting (was: Re: GNKSA and Gnus) Per Abrahamsen
1998-01-12 22:15 ` GNKSA and Gnus Lars Magne Ingebrigtsen
1998-01-12 22:45 ` Russ Allbery
1998-02-02 18:25 ` Lars Magne Ingebrigtsen
1998-01-12 22:48 ` Hrvoje Niksic
1998-01-13 15:58 ` Per Abrahamsen [this message]
1998-01-14 23:57 ` PATCH: Don't quote signature (was: Re: GNKSA and Gnus) Kim-Minh Kaplan
1998-01-15 0:15 ` Hrvoje Niksic
1998-01-15 8:52 ` Stig Sandbeck Mathisen
1998-01-15 13:55 ` Per Abrahamsen
1998-01-15 14:16 ` Lars Balker Rasmussen
1998-01-15 14:42 ` Per Abrahamsen
1998-01-15 14:49 ` Lars Balker Rasmussen
1998-01-15 15:36 ` Per Abrahamsen
1998-01-18 13:16 ` Kim-Minh Kaplan
1998-02-08 15:18 ` Lars Magne Ingebrigtsen
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=rjd8hwwel1.fsf_-_@zuse.+dina.kvl.dk \
--to=abraham@dina.kvl.dk \
/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).