From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13436 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: [John Moreno ] Re: GNKSA and Gnus Date: 05 Jan 1998 05:11:09 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035152804 9295 80.91.224.250 (20 Oct 2002 22:26:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:26:44 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id UAA10266 for ; Sun, 4 Jan 1998 20:45:47 -0800 Original-Received: from farabi.hpc.uh.edu (farabi.hpc.uh.edu [129.7.102.2]) by xemacs.org (8.8.5/8.8.5) with ESMTP id WAA28018 for ; Sun, 4 Jan 1998 22:46:12 -0600 (CST) Original-Received: from sina.hpc.uh.edu (lists@[10.1.1.1]) by farabi.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id GAN16791; Fri, 2 Jan 1998 06:38:33 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 04 Jan 1998 22:29:36 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id WAA05825 for ; Sun, 4 Jan 1998 22:29:07 -0600 (CST) Original-Received: (qmail 31393 invoked by uid 504); 5 Jan 1998 04:28:55 -0000 Original-Received: (qmail 31379 invoked from network); 5 Jan 1998 04:28:54 -0000 Original-Received: from xyplex35.uio.no (HELO sparky.gnus.org) (129.240.154.55) by claymore.vcinet.com with SMTP; 5 Jan 1998 04:28:52 -0000 Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id FAA08476; Mon, 5 Jan 1998 05:28:54 +0100 Mail-Copies-To: never Original-To: ding@gnus.org In-Reply-To: Russ Allbery's message of "04 Jan 1998 13:31:23 -0800" X-Mailer: Quassia Gnus v0.22/Emacs 19.34 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > ;; Delete anything between the current point and the signature (defined as > ;; the block starting with "-- " at the beginning of a line. *Extremely* > ;; useful for killing quoted text. > (define-key message-mode-map "\C-cz" 'rra-kill-to-signature) > (defun rra-kill-to-signature () > "Deletes all text up to the signature." > (interactive) > (save-excursion > (push-mark (point) t t) > (re-search-forward "^-- ") > (forward-line -1) > (kill-region (mark) (point)))) Seems like a useful command to me. What keystroke should it be bound to? The `C-c C-LETTER' keymap is starting to get rather full... -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen