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: Tue, 06 Aug 2002 11:50:00 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1028627427 22180 127.0.0.1 (6 Aug 2002 09:50:27 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 Aug 2002 09:50:27 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17c0yu-0005lY-00 for ; Tue, 06 Aug 2002 11:50:24 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17c1Jx-0002hU-00 for ; Tue, 06 Aug 2002 12:12:10 +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 17c0zX-0004hL-00; Tue, 06 Aug 2002 05:51:03 -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 17c0yd-0004ez-00 for ; Tue, 06 Aug 2002 05:50:07 -0400 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id g769o6b12661 for ; Tue, 6 Aug 2002 11:50:06 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id LAA11627; Tue, 6 Aug 2002 11:50:00 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 85E383ADDC; Tue, 6 Aug 2002 11:50:00 +0200 (CEST) Original-To: emacs-devel@gnu.org In-Reply-To: (Kai.Grossjohann@cs.uni-dortmund.de's message of "Sun, 04 Aug 2002 16:22:11 +0200") Original-Lines: 18 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:6306 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:6306 Kai.Grossjohann@cs.uni-dortmund.de (Kai Gro=DFjohann) writes: > Suppose I have a buffer and hit C-x C-s. Then Emacs figures out a > coding system to use, possibly based on the filename. > > 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. After reading the C code, I get the impression that I can always use find-operation-coding-system explicitly to find the right coding system to use. Right? So I can use that if there is no magic in write-region? kai --=20 A large number of young women don't trust men with beards. (BFBS Radio)