Re: device-color-cells a pain
"Stephen J. Turnbull" <[email protected]> Sun, 26 Feb 2006 00:15:48 +0900
| Newsgroups | gmane.emacs.xemacs.general |
|---|---|
| Organization | The XEmacs Project |
| Message-ID | <[email protected]> |
>>>>> "Bill" == Bill Wohler <[email protected]> writes: Bill> Sorry if I wasn't clear. I wasn't stating the actual Bill> heuristic, just my personal observation. I think it's reasonable to guess that GNU Emacs is using some kind of heuristic if it returns those values in those circumstances. As far as I know there is no standard way to find out how many colors a TTY supports. Bill> Thanks. Unfortunately, these don't seem to be in 21.4.18. It Bill> seems to me that putting this logic in device-color-cells in Bill> the first place would avoid these problems. As far as I can see, that would cripple applications that have more strict requirements. Either *you* have to test device-color-cells, or the "sophisticated" application has to use a completely different API. You can't both get the desired semantics from the same API. If you have a suggestion that serves both purposes, I'd love to hear it. But IMO a second API is silly when (or (device-color-cells) 2) is sufficient for your purposes. -- School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573 JAPAN Ask not how you can "do" free software business; ask what your business can "do for" free software.