Path: utzoo!attcan!uunet!husc6!spdcc!ima!haddock!karl
From: karl@haddock.ISC.COM (Karl Heuer)
Newsgroups: comp.emacs
Subject: Re: non-ASCII support
Message-ID: <4754@haddock.ISC.COM>
Date: 25 Jun 88 02:05:09 GMT
References: <2641@zyx.SE> <807@titan.SW.MCC.COM>
Reply-To: karl@haddock.ima.isc.com (Karl Heuer)
Organization: Interactive Systems, Boston
Lines: 17

In article <807@titan.SW.MCC.COM> janssen@titan.SW.MCC.COM (Bill Janssen) writes:
>In article <2641@zyx.SE>, arndt@zyx.SE (Arndt Jonasson) writes:
>> Suggestions for how Gnu Emacs can be made to handle non-ASCII. ...
>> The [display] changes involve a half dozen tests in xdisp.c and indent.c,

>It isn't quite this easy.  A lot of the code that figures out "what line
>is where" in the window uses the knowledge that certain character codes
>take up 2 or 4 character positions.  This knowledge seems to be scattered
>through the code, and might require some rooting to eliminate cleanly.

It seems to me that any such knowledge, if it correctly handles control
characters, must test the ctl-arrow variable.  A grep on the 18.41 sources
revealed five places where it's being used in this way.  (As Arndt said, it's
confined to xdisp.c and indent.c.)  Can you give a specific example of
something else that would need to be changed?

Karl W. Z. Heuer (ima!haddock!karl or karl@haddock.isc.com), The Walking Lint