emacs-devel
[Top][All Lists]
Advanced

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

Re: Run coding system auto-detection manually?


From: Kai Großjohann
Subject: Re: Run coding system auto-detection manually?
Date: Thu, 08 Aug 2002 15:12:45 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Kenichi Handa <address@hidden> writes:

> How about this?
>
> (let ((file-coding-system-alist '(("test" emacs-mule))))
>   (find-operation-coding-system 'write-region 0 0 "" nil "test"))
>
> If it returns non-nil, the fix is in Emacs already.

Very nice!  I've included some code in Tramp, so that I can easily
use this test when I get around to it.

kai
-- 
A large number of young women don't trust men with beards.  (BFBS Radio)



reply via email to

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