Gnus development mailing list
 help / color / mirror / Atom feed
From: Shenghuo ZHU <zsh@cs.rochester.edu>
Subject: Re: escape-quoted
Date: 04 Dec 1998 15:16:46 -0500	[thread overview]
Message-ID: <5bbtlj3bo1.fsf@brandy.cs.rochester.edu> (raw)
In-Reply-To: <3.0.3.32.19981204093713.00b91540@exchange.parallax.co.uk>


Fri Dec  4 12:13:12 1998  Shenghuo ZHU  <zsh@cs.rochester.edu>

	* message.el (message-draft-coding-system): Fix for XEmacs-NT.
	* mm-util.el (mm-find-charset-region): Ditto.

-- 
Shenghuo

:- patch ------------------------------
--- message.el	1998/12/04 17:06:13	1.1
+++ message.el	1998/12/04 19:28:32
@@ -879,8 +879,12 @@
   "Coding system to encode outgoing mail.")
 
 (defvar message-draft-coding-system 
-  (if (string-match "XEmacs\\|Lucid" emacs-version)
-      'escape-quoted 'emacs-mule)
+  (cond 
+   ((not (fboundp 'coding-system-p)) nil)
+   ((coding-system-p 'emacs-mule) 'emacs-mule)
+   ((coding-system-p 'escape-quoted) 'escape-quoted)
+   ((coding-system-p 'no-conversion) 'no-conversion)
+   (t nil))
   "Coding system to compose mail.")
 
 (defvar message-default-charset 'iso-8859-1

--- mm-util.el	1998/12/04 17:12:48	1.1
+++ mm-util.el	1998/12/04 17:13:36
@@ -249,7 +249,8 @@
   "Return a list of charsets in the region."
   (cond
    ((and (boundp 'enable-multibyte-characters)
-	 enable-multibyte-characters)
+	 enable-multibyte-characters
+	 (fboundp 'find-charset-region))
     (find-charset-region b e))
    ((not (boundp 'current-language-environment))
     (save-excursion


  reply	other threads:[~1998-12-04 20:16 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Shenghuo ZHU's message of "04 Dec 1998 11:31:05 -0500">
1998-12-04  8:56 ` escape-quoted Fabrice POPINEAU
1998-12-04  9:37   ` escape-quoted Andy Piper
1998-12-04 20:16     ` Shenghuo ZHU [this message]
1998-12-04 14:34   ` escape-quoted Lars Magne Ingebrigtsen
1998-12-04 15:45     ` escape-quoted Hrvoje Niksic
1998-12-04 16:38       ` escape-quoted Shenghuo ZHU
1998-12-04 18:16         ` escape-quoted Hrvoje Niksic
1998-12-04 16:31   ` escape-quoted Shenghuo ZHU
1998-12-04 16:38     ` escape-quoted Hrvoje Niksic
1998-12-04 16:50       ` escape-quoted Andy Piper
1998-12-04 22:30   ` escape-quoted Martin Buchholz
1998-12-05 22:50     ` escape-quoted 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=5bbtlj3bo1.fsf@brandy.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    /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).