Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Benjamin Rutt <rutt+news@cis.ohio-state.edu>
Subject: gnus 5.10.1:  message-kill-to-signature doesn't?
Date: Tue, 06 May 2003 20:16:05 -0400	[thread overview]
Message-ID: <wc3bryf392y.fsf@gamma.cis.ohio-state.edu> (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"))))
 

             reply	other threads:[~2003-05-07  0:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-07  0:16 Benjamin Rutt [this message]
     [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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wc3bryf392y.fsf@gamma.cis.ohio-state.edu \
    --to=rutt+news@cis.ohio-state.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).