From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: Run coding system auto-detection manually? Date: Thu, 8 Aug 2002 21:45:04 +0900 (JST) Sender: emacs-devel-admin@gnu.org Message-ID: <200208081245.VAA19702@etlken.m17n.org> References: <200208070824.RAA17705@etlken.m17n.org> <200208080701.g7871vx04204@wijiji.santafe.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1028810726 17616 127.0.0.1 (8 Aug 2002 12:45:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 8 Aug 2002 12:45:26 +0000 (UTC) Cc: Kai.Grossjohann@CS.Uni-Dortmund.DE, 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 17cmfN-0004a1-00 for ; Thu, 08 Aug 2002 14:45:25 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17cn1S-0005kZ-00 for ; Thu, 08 Aug 2002 15:08: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 17cmg1-0002YY-00; Thu, 08 Aug 2002 08:46:05 -0400 Original-Received: from tsukuba.m17n.org ([192.47.44.130]) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17cmf5-0002UT-00; Thu, 08 Aug 2002 08:45:07 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6/3.7W-20010518204228) with ESMTP id g78Cj5l07864; Thu, 8 Aug 2002 21:45:05 +0900 (JST) (envelope-from handa@m17n.org) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.3/3.7W-20010823150639) with ESMTP id g78Cj4917006; Thu, 8 Aug 2002 21:45:05 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id VAA19702; Thu, 8 Aug 2002 21:45:04 +0900 (JST) Original-To: rms@gnu.org In-Reply-To: <200208080701.g7871vx04204@wijiji.santafe.edu> (message from Richard Stallman on Thu, 8 Aug 2002 01:01:57 -0600 (MDT)) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) 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:6362 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6362 In article <200208080701.g7871vx04204@wijiji.santafe.edu>, Richard Stallman= writes: > So, for the case of a precious file, I think we must check > VISIT (if that is string) instead of FILENAME in > find-operation-coding-system. What do you think about the > this patch? > It seems right to me. Ok, I've just installed it for RC and HEAD. In article , Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=EF=BF=BDjohann) writes: > Will there be a way for Tramp to decide whether the fix is in Emacs > already? If at all possible, it would be great if the same version > of Tramp worked on older Emacsen, the new Emacs, and XEmacs. 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. --- Ken'ichi HANDA handa@etl.go.jp