Gnus development mailing list
 help / color / mirror / Atom feed
From: Mark Milhollan <mlm@attglobal.net>
Subject: Posting illegible text
Date: 20 Mar 2002 10:49:04 GMT	[thread overview]
Message-ID: <mlm+m1henbo72x@attglobal.net> (raw)

Sometimes posting `illegible' text is just what you want to do.  So,
another option for message-fix-before-sending would be helpful.

Index: message.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v
retrieving revision 6.220
diff -u -r6.220 message.el
--- message.el	2002/03/13 19:51:34	6.220
+++ message.el	2002/03/20 10:48:36
@@ -2746,6 +2746,7 @@
 	       "Illegible text found. Continue posting? "
 	       '((?d "Remove and continue posting")
 		 (?r "Replace with dots and continue posting")
+		 (?i "Ignore and continue posting")
 		 (?e "Continue editing"))))
 	(if (eq choice ?e)
 	  (error "Illegible text found"))
@@ -2758,9 +2759,11 @@
 			   (memq (char-charset char)
 				 '(eight-bit-control eight-bit-graphic
 						     control-1)))))
-	    (delete-char 1)
-	    (if (eq choice ?r)
-		(insert ".")))
+	    (if (eq choice ?i)
+		(remove-text-properties (point) (1+ (point)) '(highlight t))
+	      (delete-char 1)
+	      (if (eq choice ?r)
+		  (insert "."))))
 	  (forward-char)
 	  (skip-chars-forward mm-7bit-chars))))))
 

/mark



             reply	other threads:[~2002-03-20 10:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-20 10:49 Mark Milhollan [this message]
2002-03-21 19:43 ` 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=mlm+m1henbo72x@attglobal.net \
    --to=mlm@attglobal.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).