* Invalid coding in Win95
@ 1999-07-10 15:14 Michael Klingbeil
1999-07-10 23:27 ` Shenghuo ZHU
0 siblings, 1 reply; 3+ messages in thread
From: Michael Klingbeil @ 1999-07-10 15:14 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="", Size: 1330 bytes --]
I have this Error?
Invalid coding-system (raw-text-dos), using 'undecided
In .gnus is:
(setenv "MM_CHARSET" "iso-8859-1")
--=--=--=--=--=--=--=--=-Hier Abbeissen-=--=--=--=--=--=--=--=-
Okay, I set debug-on-error and.
Error:
Sending...
Invalid coding-system (raw-text-dos), using 'undecided
Invalid coding-system (raw-text-dos), using 'undecided
Wrote e:\XEmacs\XEmacs-21.2\i586-pc-win32\Mail\archive\news\1999-07
Sending...done
No backtrace?
I write a Mail and C-c C-c
Pgnus ask me "What Charset:
I: iso-8859-1 RET
Pgnus: What Charset:
I: iso-8859-1 RET
Error Message:
Generating summary...
Generating summary...done
Sending...
220 Hamster-SMTP Vr. 1.3 (Build 1.3.0.40) ready
250 localhost
250 OK
250 OK
354 Start mail input; end with <CRLF>.<CRLF>
250 OK
221 closing connection - goodbye!
Invalid coding-system (raw-text-dos), using 'undecided
Invalid coding-system (raw-text-dos), using 'undecided
Wrote e:\XEmacs\XEmacs-21.2\i586-pc-win32\Mail\archive\mail\1999-07
Sending...done
No backtrace
I´m testing pgnus088 and have not problems with:
Invalid coding-system (raw-text-dos), using 'undecided ?;-)
--=--=--=--=--=--=--=--=-Hier Abbeissen-=--=--=--=--=--=--=--=-
--
Zwei Dinge sind unendlich, das Universum und die menschliche Dummheit.
Beim Universum bin ich mir aber noch nicht ganz sicher.
A. Einstein
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Invalid coding in Win95
1999-07-10 15:14 Invalid coding in Win95 Michael Klingbeil
@ 1999-07-10 23:27 ` Shenghuo ZHU
1999-07-11 7:54 ` Michael Klingbeil
0 siblings, 1 reply; 3+ messages in thread
From: Shenghuo ZHU @ 1999-07-10 23:27 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 549 bytes --]
>>>>> "MK" == Michael Klingbeil <mklingbeil@knuut.de> writes:
MK> I have this Error?
MK> Invalid coding-system (raw-text-dos), using 'undecided
MK> In .gnus is:
MK> (setenv "MM_CHARSET" "iso-8859-1")
I guess you did not use xemacs+mule. Anyway, here is the patch for
guessing coding-system more safely.
1999-07-10 Shenghuo ZHU <zsh@cs.rochester.edu>
* mm-util.el (mm-running-xemacs): Removed.
(mm-coding-system-p): New function.
(mm-binary-coding-system): Safe guess.
(mm-text-coding-system): Ditto.
(mm-auto-save-coding-system): Ditto.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 95-zsh1.diff --]
[-- Type: text/x-patch, Size: 2143 bytes --]
--- mm-util.el 1999/07/10 22:52:26 1.1
+++ mm-util.el 1999/07/10 23:11:50
@@ -24,19 +24,6 @@
;;; Code:
-(defconst mm-running-xemacs (string-match "XEmacs" emacs-version))
-
-(defconst mm-binary-coding-system
- (if mm-running-xemacs
- 'binary 'no-conversion)
- "100% binary coding system.")
-
-(defconst mm-text-coding-system
- (and (fboundp 'coding-system-list)
- (if (memq system-type '(windows-nt ms-dos ms-windows))
- 'raw-text-dos 'raw-text))
- "Text-safe coding system (For removing ^M).")
-
(defvar mm-mime-mule-charset-alist
'((us-ascii ascii)
(iso-8859-1 latin-iso8859-1)
@@ -118,16 +105,34 @@
(x-ctext . ctext))
"A mapping from invalid charset names to the real charset names.")
-(defconst mm-auto-save-coding-system
+(defun mm-coding-system-p (sym)
+ "Return non-nil if SYM is a coding system."
+ (or (and (fboundp 'coding-system-p) (coding-system-p sym))
+ (memq sym (mm-get-coding-system-list))))
+
+(defvar mm-binary-coding-system
(cond
- ((memq 'emacs-mule (mm-get-coding-system-list))
- (if (memq system-type '(windows-nt ms-dos ms-windows))
- 'emacs-mule-dos 'emacs-mule))
- ((memq 'escape-quoted (mm-get-coding-system-list))
- 'escape-quoted)
- ((memq 'no-conversion (mm-get-coding-system-list))
- 'no-conversion)
+ ((mm-coding-system-p 'no-conversion) 'no-conversion)
+ ((mm-coding-system-p 'binary) 'binary)
(t nil))
+ "100% binary coding system.")
+
+(defvar mm-text-coding-system
+ (or (if (memq system-type '(windows-nt ms-dos ms-windows))
+ (and (mm-coding-system-p 'raw-text-dos) 'raw-text-dos)
+ (and (mm-coding-system-p 'raw-text) 'raw-text))
+ mm-binary-coding-system)
+ "Text-safe coding system (For removing ^M).")
+
+(defvar mm-auto-save-coding-system
+ (cond
+ ((mm-coding-system-p 'emacs-mule)
+ (if (memq system-type '(windows-nt ms-dos ms-windows))
+ (if (mm-coding-system-p 'emacs-mule-dos)
+ 'emacs-mule-dos mm-binary-coding-system)
+ 'emacs-mule))
+ ((mm-coding-system-p 'escape-quoted) 'escape-quoted)
+ (t mm-binary-coding-system))
"Coding system of auto save file.")
;;; Internal variables:
[-- Attachment #3: Type: text/plain, Size: 19 bytes --]
--
Shenghuo ZHU
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Invalid coding in Win95
1999-07-10 23:27 ` Shenghuo ZHU
@ 1999-07-11 7:54 ` Michael Klingbeil
0 siblings, 0 replies; 3+ messages in thread
From: Michael Klingbeil @ 1999-07-11 7:54 UTC (permalink / raw)
Cc: ding
Shenghuo ZHU <zsh@cs.rochester.edu> writes:
> >>>>> "MK" == Michael Klingbeil <mklingbeil@knuut.de> writes:
>
> MK> I have this Error?
> MK> Invalid coding-system (raw-text-dos), using 'undecided
> MK> In .gnus is:
> MK> (setenv "MM_CHARSET" "iso-8859-1")
>
> I guess you did not use xemacs+mule. Anyway, here is the patch for
> guessing coding-system more safely.
Thanks for the patch and I have xemacs21.2B15 not mule.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1999-07-11 7:54 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-10 15:14 Invalid coding in Win95 Michael Klingbeil
1999-07-10 23:27 ` Shenghuo ZHU
1999-07-11 7:54 ` Michael Klingbeil
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).