Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: A small, but useful patch!
Date: 27 Nov 1996 16:57:32 +0100	[thread overview]
Message-ID: <kigg21vjztf.fsf@jagor.srce.hr> (raw)

The problem with message-indent-citation is that it adds the
message-yank-prefix even to empty lines, or to lines consisting of
white-space only, so that commands like M-{ and M-} (or M-up and
M-down for X-oriented types) don't work on quoted text.  This patchlet
will take care of that:

*** message.el.orig     Wed Nov 27 16:49:41 1996
--- message.el  Wed Nov 27 16:54:27 1996
***************
*** 1348,1354 ****
        (save-excursion
        (goto-char start)
        (while (< (point) (mark t))
!         (insert message-yank-prefix)
          (forward-line 1)))
        (goto-char start))))
  
--- 1348,1355 ----
        (save-excursion
        (goto-char start)
        (while (< (point) (mark t))
!           (unless (looking-at "\\s-*$")
!             (insert message-yank-prefix))
          (forward-line 1)))
        (goto-char start))))
  
After that, everything works beautifully!

-- 
Hrvoje Niksic <hniksic@srce.hr> | Hocemo 101-icu!
--------------------------------+--------------------------------
"What is the sound of Perl?  Is it not the sound of a wall that
people have stopped banging their heads against?" -- Larry Wall


             reply	other threads:[~1996-11-27 15:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-11-27 15:57 Hrvoje Niksic [this message]
1996-11-27 16:45 ` Per Abrahamsen
1996-11-27 18:39   ` Hrvoje Niksic
1996-11-27 18:51     ` Per Abrahamsen
1996-11-28  9:19       ` Hrvoje Niksic
1996-11-28  9:47         ` Kai Grossjohann
1996-11-28  9:53           ` Hrvoje Niksic
1996-11-28 10:00             ` Kai Grossjohann
1996-11-28 22:28 St. Suika Fenderson Roberts

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=kigg21vjztf.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /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).