>>>> Stephen J Turnbull <stephen(a)xemacs.org> writes:
In XEmacs it would be better style to just use (find-face face)
and use face-* functions to extract face properties ). If all you
want to do is return the name of the face, I suppose you can minimize
the diff this way, though.
I also don't understand what org-mode wants `face-at-point'
I haven't looked in org-mode so I don't now. Hence I suggested that
face-at-point returns the same as in GNU. Maybe a look in org-mode, or
general usage of face-at-point, could give a hint if returning the
face would be an easy solution. That would be best I think.
If not we are again facing (hmm...) the problem of whether we should
have a function that is compatible in name and in docs but actually
returns the right thing.
In our case maybe face-name-at-point would be a better function name
but then again there could be more than one face at a point if I
understand correctly. So we should return a list, face-names-at-point,
and suggest user to take the car of that!?
I guess if we understand what org-mode wants face-at-point with there
could be a totally different solution that fits us better. So looking
in org-mode is next thing here I suppose.
XEmacs-Beta mailing list