* default coding-system of nnheader and nnmail
@ 1997-11-30 22:44 守岡 知彦 / MORIOKA Tomohiko
1997-11-30 22:59 ` Hrvoje Niksic
0 siblings, 1 reply; 3+ messages in thread
From: 守岡 知彦 / MORIOKA Tomohiko @ 1997-11-30 22:44 UTC (permalink / raw)
Cc: Kenichi Handa
[-- Attachment #1: Type: text/plain, Size: 450 bytes --]
Handa-san changed default value of
nntp-coding-system-for-{read|write} binary. I think it is good
choice, because it does not have any effect for no MULE emacsen and
MULE people may use gnus-mule or SEMI. Of course it may be good for
MULE-less setting Emacs 20.
Similarly I think it is better to change default value of
nnheader-file-coding-system and nnmail-file-coding-system to binary or
raw-text.
Following is a patch for qgnus-0.17:
[-- Attachment #2: Type: text/plain, Size: 207 bytes --]
+1997-11-27 MORIOKA Tomohiko <morioka@jaist.ac.jp>
+
+ * nnmail.el (nnmail-file-coding-system): Use `raw-text' in
+ default.
+
+ * nnheader.el (nnheader-file-coding-system): Use `raw-text' in
+ default.
[-- Attachment #3: Type: application/octet-stream, Size: 1187 bytes --]
Index: lisp/nnheader.el
===================================================================
RCS file: /hare/cvs/root/gnus/lisp/nnheader.el,v
retrieving revision 1.1.1.3
retrieving revision 1.3
diff -u -r1.1.1.3 -r1.3
--- nnheader.el 1997/11/27 17:23:17 1.1.1.3
+++ nnheader.el 1997/11/27 18:02:39 1.3
@@ -746,7 +746,7 @@
(ange-ftp-re-read-dir path)))))
;; 1997/5/4 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
-(defvar nnheader-file-coding-system nil
+(defvar nnheader-file-coding-system 'raw-text
"Coding system used in file backends of Gnus.")
(defun nnheader-insert-file-contents (filename &optional visit beg end replace)
Index: lisp/nnmail.el
===================================================================
RCS file: /hare/cvs/root/gnus/lisp/nnmail.el,v
retrieving revision 1.1.1.5
retrieving revision 1.3
diff -u -r1.1.1.5 -r1.3
--- nnmail.el 1997/11/27 17:23:19 1.1.1.5
+++ nnmail.el 1997/11/27 18:05:56 1.3
@@ -477,7 +477,7 @@
(mail-send-and-exit nil))
;; 1997/5/4 by MORIOKA Tomohiko <morioka@jaist.ac.jp>
-(defvar nnmail-file-coding-system nil
+(defvar nnmail-file-coding-system 'raw-text
"Coding system used in nnmail.")
(defun nnmail-find-file (file)
[-- Attachment #4: Type: text/plain, Size: 558 bytes --]
I use raw-text instead of binary because it seems better for
Windows, OS/2 or DOS, namely raw-text canonicalizes line break code.
Maybe "Content-Transfer-Encoding: binary" is not used for mail/news in
normal case.
Note that emacs-mule of Emacs 20 is not existed in XEmacs/mule.
no-conversion is as same as raw-text in XEmacs 20.3, however it is as
same as binary in Emacs 20. In addition, XEmacs 20.2 (or older than
it) does not have raw-text, so no-conversion or binary may be better
if backward compatibility is preferred.
Best regards,
--
tomo.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: default coding-system of nnheader and nnmail
1997-11-30 22:44 default coding-system of nnheader and nnmail 守岡 知彦 / MORIOKA Tomohiko
@ 1997-11-30 22:59 ` Hrvoje Niksic
1997-11-30 23:12 ` 守岡 知彦 / MORIOKA Tomohiko
0 siblings, 1 reply; 3+ messages in thread
From: Hrvoje Niksic @ 1997-11-30 22:59 UTC (permalink / raw)
Cc: ding, Kenichi Handa
morioka@jaist.ac.jp (=?ISO-2022-JP?B?GyRCPGkyLBsoQiAbJEJDTkknGyhC?= / MORIOKA Tomohiko) writes:
> I use raw-text instead of binary because it seems better for
> Windows, OS/2 or DOS, namely raw-text canonicalizes line break code.
[...]
> Note that emacs-mule of Emacs 20 is not existed in XEmacs/mule.
> no-conversion is as same as raw-text in XEmacs 20.3, however it is as
> same as binary in Emacs 20. In addition, XEmacs 20.2 (or older than
> it) does not have raw-text, so no-conversion or binary may be better
> if backward compatibility is preferred.
What is the difference between FSFmacs `raw-text' and XEmacs
`no-conversion'?
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Silence!" cries Freydag. "I did not call thee in for a consultation!"
"They are my innards! I will not have them misread by a poseur!"
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: default coding-system of nnheader and nnmail
1997-11-30 22:59 ` Hrvoje Niksic
@ 1997-11-30 23:12 ` 守岡 知彦 / MORIOKA Tomohiko
0 siblings, 0 replies; 3+ messages in thread
From: 守岡 知彦 / MORIOKA Tomohiko @ 1997-11-30 23:12 UTC (permalink / raw)
Cc: ding, Kenichi Handa
>>>>> In <kigen3yyon3.fsf@jagor.srce.hr>
>>>>> "Hrv" = Hrvoje Niksic <hniksic@srce.hr> wrote:
Hrv> What is the difference between FSFmacs `raw-text' and XEmacs
Hrv> `no-conversion'?
I think they have same meaning. However Emacs 20 has variable
`enable-multibyte-characters', and binary and raw-text set
`enable-multibyte-characters' to nil. If it is nil, every non-ASCII
characters are not displayed in the buffer. In XEmacs, binary or
raw-text (= no-conversion) read/write by internal
representation. (emacs-mule of Emacs 20 and no-conversion of XEmacs
are same in behavior)
--
tomo.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1997-11-30 23:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-30 22:44 default coding-system of nnheader and nnmail 守岡 知彦 / MORIOKA Tomohiko
1997-11-30 22:59 ` Hrvoje Niksic
1997-11-30 23:12 ` 守岡 知彦 / MORIOKA Tomohiko
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).