Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* gnus 5.10.1:  message-kill-to-signature doesn't?
@ 2003-05-07  0:16 Benjamin Rutt
       [not found] ` <84fznm7meo.fsf@lucy.is.informatik.uni-duisburg.de>
  0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Rutt @ 2003-05-07  0:16 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 601 bytes --]

In gnus 5.10.1, is it true that the `message-kill-to-signature'
function has changed somehow?  If you place some text (like foo bar,
below) on the last line just before the signature, and then place some
text before it, like below, and leave the cursor where the exclamation
point is below, it kills most of the lines between the point and the
signature, but it leaves the 'foo bar'.  Is anyone else seeing this?
Or was it always like this?

Maybe it should be changed so it really does kill all text up to the
signature?  I've attached a patch that does this.

!blah
blah
blah 

foo bar
-- 
Benjamin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: message.el.patch --]
[-- Type: text/x-patch, Size: 329 bytes --]

--- message.el.orig	2003-05-01 09:13:04.000000000 -0400
+++ message.el	2003-05-06 20:11:36.827783000 -0400
@@ -2627,7 +2627,7 @@
     (message-goto-signature)
     (unless (eobp)
       (forward-line -2))
-    (kill-region point (point))
+    (kill-region point (line-end-position))
     (unless (bolp)
       (insert "\n"))))
 

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

end of thread, other threads:[~2003-05-10 20:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-07  0:16 gnus 5.10.1: message-kill-to-signature doesn't? Benjamin Rutt
     [not found] ` <84fznm7meo.fsf@lucy.is.informatik.uni-duisburg.de>
2003-05-10 18:30   ` Vasily Korytov
     [not found]   ` <m3fznmk3gn.fsf@defun.localdomain>
2003-05-10 20:11     ` Kai Großjohann

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