Gnus development mailing list
 help / color / mirror / Atom feed
From: dme@thus.net
Subject: message-newline-and-reformat with odd citation characters
Date: 29 Sep 2000 09:27:01 +0100	[thread overview]
Message-ID: <87d7hnfvsa.fsf@serafina-pekkala.dme.org> (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.



             reply	other threads:[~2000-09-29  8:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-29  8:27 dme [this message]
2000-11-04 15:19 ` ShengHuo ZHU

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=87d7hnfvsa.fsf@serafina-pekkala.dme.org \
    --to=dme@thus.net \
    /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).