[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Run coding system auto-detection manually?
From: |
Kenichi Handa |
Subject: |
Re: Run coding system auto-detection manually? |
Date: |
Thu, 8 Aug 2002 10:09:27 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.1.30 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, address@hidden (Kai Gro�johann) writes:
> How about, instead of hard-coding the write-region operation,
> find-operation-coding-system is extended so that the target-idx
> property can express the rule?
> If Fget (operation, Qtarget_idx) returns a cons, one could eval it and
> assume that the result would be an integer to use. Then the
> target-idx property for write-region could be (if (stringp visit) 5 3)
> or something like that.
> What do you think? (I don't mean the concrete suggestion, it might
> well turn out to be rubbish. I mean the idea to make the decision in
> find-operation-coding-system configurable from Lisp.)
I'm not sure it's worth making find-operation-coding-system
configurable in that way. Even if it is, I think the above
method is too indirect for the purpose of configuring
find-operation-coding-system.
If a Lisp program wants find-operation-coding-system to
choose a different target from the arguments than normal
case, it can call find-operation-coding-system just with
different arguments.
---
Ken'ichi HANDA
address@hidden
Re: Run coding system auto-detection manually?, Kai Großjohann, 2002/08/06
- 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