bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#1653: 23.0.60; encoding system nil != no-conversion, is it deliberat


From: Stefan Monnier
Subject: bug#1653: 23.0.60; encoding system nil != no-conversion, is it deliberately?
Date: Sun, 21 Dec 2008 21:57:37 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> In emacs23, setting a encoding system to nil doesn't behaver the same
> as setting it to no-conversion. 
> For example: (setq default-process-coding-system '(nil . utf-8))
> and (setq default-process-coding-system '(no-conversion . utf-8))
> have differenct effects on the following "call-process".
> Is this deliberately? is there any good reason?

> This setting will break quite a lot of 3rd party .el plugins
> (emms/unicad etc), which usually set
> xxxxxxxx-default-encoding-system's default value to nil.

Why would anybody use nil to mean `binary' aka `no-conversion' aka
`raw-text-unix'?  In this context, nil should simply mean "the coding
system is not specified by this variable, so keep looking for other
clues to figure out which coding system to use".


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]