[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: po file charset via auto-coding-functions
From: |
Kenichi Handa |
Subject: |
Re: po file charset via auto-coding-functions |
Date: |
Sun, 20 Nov 2005 21:05:56 +0900 |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (i686-pc-linux-gnu) MULE/5.0 (SAKAKI) |
In article <address@hidden>, "Richard M. Stallman" <address@hidden> writes:
> Binding buffer-file-name is rather unclean.
> And I don't see a reason to do it.
> so that find-operation-coding-system (called in
> decode-coding-inserted-region) can surely find
> po-find-file-coding-system to be called, and it can surely
> find the current buffer by get-file-buffer.
> decode-coding-inserted-region passes its FILENAME arg to
> find-operation-coding-system. So all you need to do is to pass
> this funny file name to decode-coding-inserted-region.
> There is no need to bind buffer-file-name.
> Why are you concerned about whether get-file-buffer can be used with
> this funny file name?
A function registered in find-operation-coding-system have
to find which buffer is pretending to visit FILENAME if
FILENAME doesn't exist. And, get-file-buffer is the only
(or at least the very natural) way for that.
---
Kenichi Handa
address@hidden
- Re: po file charset via auto-coding-functions, (continued)
- Re: po file charset via auto-coding-functions, Stefan Monnier, 2005/11/10
- Re: po file charset via auto-coding-functions, Richard M. Stallman, 2005/11/11
- Re: po file charset via auto-coding-functions, Kenichi Handa, 2005/11/18
- Re: po file charset via auto-coding-functions, Stefan Monnier, 2005/11/18
- Re: po file charset via auto-coding-functions, Kenichi Handa, 2005/11/18
- Re: po file charset via auto-coding-functions, Juri Linkov, 2005/11/19
- Re: po file charset via auto-coding-functions, Kevin Rodgers, 2005/11/29
- Re: po file charset via auto-coding-functions, Juri Linkov, 2005/11/29
- Re: po file charset via auto-coding-functions, Richard M. Stallman, 2005/11/30
- Re: po file charset via auto-coding-functions, Richard M. Stallman, 2005/11/19
- Re: po file charset via auto-coding-functions,
Kenichi Handa <=