From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7349 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Your signature is 10 lines?? Date: 27 Jul 1996 19:24:58 +0200 Message-ID: References: <199607262236.AAA15738@bombur2.uio.no> NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147674 6938 80.91.224.250 (20 Oct 2002 21:01:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:01:14 +0000 (UTC) Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id KAA14576 for ; Sat, 27 Jul 1996 10:57:13 -0700 Original-Received: from hler.ifi.uio.no (hler.ifi.uio.no [129.240.94.23]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Sat, 27 Jul 1996 19:29:53 +0200 Original-Received: (from larsi@localhost) by hler.ifi.uio.no ; Sat, 27 Jul 1996 19:30:04 +0200 Original-To: ding@ifi.uio.no In-Reply-To: Hallvard B Furuseth's message of Sat, 27 Jul 1996 00:36:49 +0200 (MET DST) Original-Lines: 18 X-Mailer: Gnus v5.2.38/Emacs 19.29 Xref: main.gmane.org gmane.emacs.gnus.general:7349 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:7349 Hallvard B Furuseth writes: > It looks like a safe bet that this wil become a FAQ... > Maybe you should insert something like this: > (goto-char (point-max)) > (skip-chars-backward " \t\n") > (forward-line 1) > (and (not (eobp)) > (y-or-n-p (format "Delete the trailing blank line%s %s? " > (if (looking-at ".*\n[ \t\n]") "s" "") > (if has-signature "after the signature " ""))) > (delete-region (point) (point-max))) Ok; I'll be adding this to Red Gnus. -- "Yes. The journey through the human heart would have to wait until some other time."