[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: po file charset via auto-coding-functions
From: |
Juri Linkov |
Subject: |
Re: po file charset via auto-coding-functions |
Date: |
Sun, 20 Nov 2005 03:16:19 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>> As you see, this binds buffer-file-name temporarily to
>> something like /home/handa/temp.po.gz!/home/handa/temp.po 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.
>
> Hmm... that's not what I had understood. The above looks fishy.
> Why not pass /home/handa/temp.po to find-operation-coding-system (just as
> it is used for auto-mode-alist)?
Wouldn't it be better to use the same syntax for members of
all supported archivers (gzip, zip, tar)?
Currently `buffer-file-name' of the visited archive member
uses three different syntaxes:
"/home/handa/temp.po.gz"
"/home/handa/temp.zip:vi.po"
"/home/handa/temp.tar!vi.po"
After choosing one syntax, `buffer-file-name' would be:
"/home/handa/temp.po.gz!temp.po"
"/home/handa/temp.zip!vi.po"
"/home/handa/temp.tar!vi.po"
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: po file charset via auto-coding-functions, Richard Stallman, 2005/11/02
- Re: po file charset via auto-coding-functions, Richard Stallman, 2005/11/09
- Re: po file charset via auto-coding-functions, Stefan Monnier, 2005/11/09
- Re: po file charset via auto-coding-functions, Richard M. Stallman, 2005/11/10
- 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 <=
- 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, 2005/11/20