Gnus development mailing list
 help / color / mirror / Atom feed
* message-newline-and-reformat with odd citation characters
@ 2000-09-29  8:27 dme
  2000-11-04 15:19 ` ShengHuo ZHU
  0 siblings, 1 reply; 2+ messages in thread
From: dme @ 2000-09-29  8:27 UTC (permalink / raw)


If one uses a citation character which is not `>',
message-newline-and-reformat doesn't insert the correct citation
leader in situations where it breaks lines.

This patch corrects that.

As usual, sorry if my lisp is poor.

Index: message.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v
retrieving revision 5.130
diff -c -r5.130 message.el
*** message.el	2000/09/20 20:52:34	5.130
--- message.el	2000/09/29 07:28:49
***************
*** 1694,1700 ****
      (unless (bolp)
        (save-excursion
  	(beginning-of-line)
! 	(when (looking-at (concat prefix
  				  supercite-thing))
  	  (setq quoted (match-string 0))))
        (insert "\n"))
--- 1694,1700 ----
      (unless (bolp)
        (save-excursion
  	(beginning-of-line)
! 	(when (looking-at (concat prefix "\\|"
  				  supercite-thing))
  	  (setq quoted (match-string 0))))
        (insert "\n"))

dme.
-- 
David Edmondson, Director of Development, Thus plc.



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

* Re: message-newline-and-reformat with odd citation characters
  2000-09-29  8:27 message-newline-and-reformat with odd citation characters dme
@ 2000-11-04 15:19 ` ShengHuo ZHU
  0 siblings, 0 replies; 2+ messages in thread
From: ShengHuo ZHU @ 2000-11-04 15:19 UTC (permalink / raw)


dme@thus.net writes:

> If one uses a citation character which is not `>',
> message-newline-and-reformat doesn't insert the correct citation
> leader in situations where it breaks lines.
> 
> This patch corrects that.

Installed. Thanks.

ShengHuo



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

end of thread, other threads:[~2000-11-04 15:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-29  8:27 message-newline-and-reformat with odd citation characters dme
2000-11-04 15:19 ` ShengHuo ZHU

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