Gnus development mailing list
 help / color / mirror / Atom feed
* A small, but useful patch!
@ 1996-11-27 15:57 Hrvoje Niksic
  1996-11-27 16:45 ` Per Abrahamsen
  0 siblings, 1 reply; 9+ messages in thread
From: Hrvoje Niksic @ 1996-11-27 15:57 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: A small, but useful patch!
@ 1996-11-28 22:28 St. Suika Fenderson Roberts
  0 siblings, 0 replies; 9+ messages in thread
From: St. Suika Fenderson Roberts @ 1996-11-28 22:28 UTC (permalink / raw)


Kai Wrote:
> >>>>> Per Abrahamsen (abraham@dina.kvl.dk) wrote:

>   Per> The quote is: ``in *reading* agents''.  I don't think we yet
>   Per> can assume that everybody are using Gnus to read the messages.

> >>>>> Hrvoje Niksic writes:

>   Hrvoje> Why not?  The person who uses 'message-indent-citation
>   Hrvoje> probably also uses message, i.e. Gnus.

> You use Gnus.  You write a message using 'message-indent-citation.
> You send the message to John Smith.  In what way can you deduce from
> this that John Smith uses Gnus, too?  The idea is that *his* reader
> can easily skip quoted text.

The only real problem I see here is that _no_ mail/news reader that I
know of has such a function.  This, to my POV, renders quote-prefixing
blank lines rather pointless.  Besides which, the SOR states one should
use `>' instead of indentation to mark cited text . . .

ja ne,
	Suika (being heretical.  BSD mail and vim ^_^ features or speed ^^; )
--
	  	<wrobert2@mailhost.tcs.tulane.edu>
Zou-Morrigu, goddess of elephant war.  Yeah, yeah, it's cheesy.  But
why else would I need to know a Celtic goddesses name?  Hmmm?
						--Gin Daizou, atashi no imouto


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

end of thread, other threads:[~1996-11-28 22:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-11-27 15:57 A small, but useful patch! Hrvoje Niksic
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

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