[Top][All Lists]
[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: |
Tue, 06 Aug 2002 11:50:00 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
address@hidden (Kai Großjohann) 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
--
A large number of young women don't trust men with beards. (BFBS Radio)
Re: Run coding system auto-detection manually?,
Kai Großjohann <=
- Re: Run coding system auto-detection manually?, Kenichi Handa, 2002/08/07
- Re: Run coding system auto-detection manually?, Richard Stallman, 2002/08/08
- Re: Run coding system auto-detection manually?, Kai Großjohann, 2002/08/08
- Re: Run coding system auto-detection manually?, Kenichi Handa, 2002/08/08
- Re: Run coding system auto-detection manually?, Kai Großjohann, 2002/08/08