Gnus development mailing list
 help / color / mirror / Atom feed
* Re: Your signature is 10 lines??
       [not found] ` <w8sybk88i0z.fsf@hler.ifi.uio.no>
@ 1996-07-26 22:36   ` Hallvard B Furuseth
  1996-07-27  4:21     ` Steven L Baur
  1996-07-27 17:24     ` Lars Magne Ingebrigtsen
  0 siblings, 2 replies; 3+ messages in thread
From: Hallvard B Furuseth @ 1996-07-26 22:36 UTC (permalink / raw)


>From: Lars Magne Ingebrigtsen <larsi@hler.ifi.uio.no>
>Newsgroups: gnu.emacs.gnus
> 
>Victor Miller <victor@ccr-p.ida.org> 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Your signature is 10 lines??
  1996-07-26 22:36   ` Your signature is 10 lines?? Hallvard B Furuseth
@ 1996-07-27  4:21     ` Steven L Baur
  1996-07-27 17:24     ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Steven L Baur @ 1996-07-27  4:21 UTC (permalink / raw)


>>>>> "Hallvard" == Hallvard B Furuseth <h.b.furuseth@usit.uio.no> writes:

Lars> When Gnus says that your signature is ten lines, it is ten lines.  :-)
Lars> Remove the trailing blank lines from your signature file.

Hallvard> It looks like a safe bet that this wil become a FAQ...

O.K.  I put it in the FAQ.
-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be proofread for $250/hour.
Andrea Seastrand: For your vote on the Telecom bill, I will vote for anyone
except you in November.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Your signature is 10 lines??
  1996-07-26 22:36   ` Your signature is 10 lines?? Hallvard B Furuseth
  1996-07-27  4:21     ` Steven L Baur
@ 1996-07-27 17:24     ` Lars Magne Ingebrigtsen
  1 sibling, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-07-27 17:24 UTC (permalink / raw)


Hallvard B Furuseth <h.b.furuseth@usit.uio.no> 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."


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-07-27 17:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <ulwwzsqx0t.fsf@ccr-p.ida.org>
     [not found] ` <w8sybk88i0z.fsf@hler.ifi.uio.no>
1996-07-26 22:36   ` Your signature is 10 lines?? Hallvard B Furuseth
1996-07-27  4:21     ` Steven L Baur
1996-07-27 17:24     ` Lars Magne Ingebrigtsen

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).