emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposed function: x-display-usable-bounds


From: Stefan Monnier
Subject: Re: Proposed function: x-display-usable-bounds
Date: Tue, 04 Dec 2007 08:56:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

> It seems the 'x-' prefix may sometimes mean "X-windows display
> function" but is mostly used as "generic windowing system function".

Usually it started as "X-only" and then code started to use it and in
order not to have to fix it other backends also used "x-" when
implementing the corresponding feature.

But this is wrong and should be fixedm and has been fixed in several
cases (e.g. most of the functions that start with "display-").

> Changing this might be good but it would make the most sense to do it
> all at once after determining the best plan.

Yes, maybe it should be fixes wholesale as well, but at least let's not
make things worse than they already are.

> Note there is also an 'xw-' prefix used for some functions (e.g.
> xw-color-defined-p).

Indeed.  And notice that there's `color-defined-p' as well, which is the
one that should be used.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]