From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Run coding system auto-detection manually? Date: Thu, 08 Aug 2002 15:12:45 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: <200208070824.RAA17705@etlken.m17n.org> <200208080701.g7871vx04204@wijiji.santafe.edu> <200208081245.VAA19702@etlken.m17n.org> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1028812345 22758 127.0.0.1 (8 Aug 2002 13:12:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2002 13:12:25 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17cn5U-0005ux-00 for ; Thu, 08 Aug 2002 15:12:24 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17cnRa-0006HH-00 for ; Thu, 08 Aug 2002 15:35:14 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cn6A-0005Sx-00; Thu, 08 Aug 2002 09:13:06 -0400 Original-Received: from waldorf.cs.uni-dortmund.de ([129.217.4.42]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17cn5y-0005Os-00; Thu, 08 Aug 2002 09:12:54 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g78DCpb19087; Thu, 8 Aug 2002 15:12:51 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id PAA11449; Thu, 8 Aug 2002 15:12:46 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 012843AC84; Thu, 8 Aug 2002 15:12:45 +0200 (CEST) Original-To: Kenichi Handa In-Reply-To: <200208081245.VAA19702@etlken.m17n.org> (Kenichi Handa's message of "Thu, 8 Aug 2002 21:45:04 +0900 (JST)") Original-Lines: 15 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:6363 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6363 Kenichi Handa 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)