From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/7346 Path: main.gmane.org!not-for-mail From: Hallvard B Furuseth Newsgroups: gmane.emacs.gnus.general Subject: Re: Your signature is 10 lines?? Date: Sat, 27 Jul 1996 00:36:49 +0200 (MET DST) Message-ID: <199607262236.AAA15738@bombur2.uio.no> References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147671 6926 80.91.224.250 (20 Oct 2002 21:01:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:01:11 +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 RAA05346 for ; Fri, 26 Jul 1996 17:01:45 -0700 Original-Received: from goggins.uio.no (6089@goggins.uio.no [129.240.201.2]) by ifi.uio.no with SMTP (8.6.11/ifi2.4) id for ; Sat, 27 Jul 1996 00:36:52 +0200 Original-Received: from ulrik.uio.no by goggins.uio.no with local-SMTP (PP) id <15138-0@goggins.uio.no>; Sat, 27 Jul 1996 00:36:50 +0200 Original-Received: by bombur2.uio.no ; Sat, 27 Jul 1996 00:36:49 +0200 (MET DST) Original-To: ding@ifi.uio.no Xref: main.gmane.org gmane.emacs.gnus.general:7346 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:7346 >From: Lars Magne Ingebrigtsen >Newsgroups: gnu.emacs.gnus > >Victor Miller writes: > >> In using the new gnus (5.2.36), whenever I post, I get a warning that >> my signature is 10 lines. It isn't -- it's 5 lines. Where's the bug? >> -- >> Victor S. Miller | " ... Meanwhile, those of us who can compute >> victor@ccr-p.ida.org | can hardly be expected to keep writing papers >> CCR, Princeton, NJ 08540 | saying 'I can do the following useless >> | calculation in 2 seconds', and indeed what >> | editor would publish them?" -- Oliver Atkin >> >> >> >> > > When Gnus says that your signature is ten lines, it is ten lines. :-) > > Remove the trailing blank lines from your signature file. 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))) Also, I suspect that every (re-search-forward message-signature-separator) in message.el should be (goto-char (point-max)) >>> (if (re-search-backward ...) (goto-char (match-end 0))) -- Hallvard