From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Run coding system auto-detection manually? Date: Mon, 5 Aug 2002 07:48:03 +0300 (IDT) Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1028523029 3641 127.0.0.1 (5 Aug 2002 04:50:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 5 Aug 2002 04:50:29 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17bZp3-0000wW-00 for ; Mon, 05 Aug 2002 06:50:25 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17ba9W-0004qn-00 for ; Mon, 05 Aug 2002 07:11:34 +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 17bZpf-0001Px-00; Mon, 05 Aug 2002 00:51:03 -0400 Original-Received: from is.elta.co.il ([199.203.121.2]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17bZp5-00014P-00 for ; Mon, 05 Aug 2002 00:50:27 -0400 Original-Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id HAA25505; Mon, 5 Aug 2002 07:48:03 +0300 (IDT) X-Sender: eliz@is Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE In-Reply-To: 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:6289 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6289 On Sun, 4 Aug 2002 Kai.Grossjohann@CS.Uni-Dortmund.DE wrote: > But I would like to use write-region to write the buffer contents to > another file, but I would like this call to use the same coding > system that Emacs would have used for C-x C-s. Perhaps this means that the place where "C-x C-s" computes the encoding is not the right one. Perhaps there should be a function that does that and calls write-region, and "C-x C-s" should call that function.