Re: delphi-other-face mismatch

2005-09-10 Thread martin rudalics
Thanks for the patient explanations. If FACE is empty the display engine interprets the semantics of FACE I am not sure what situation you're talking about. Where in the data structure was nil encountered? I needlessly complicated things here. All I wanted to say is that the

Re: delphi-other-face mismatch

2005-09-03 Thread Richard M. Stallman
Just to make things clear for myself: An Elisp `face' is not a primitive type like say `integer' or `overlay'. It's merely a set of attributes stored, together with some identifying information, in a vector which is interpreted by the display engine in a special way. That data

Re: delphi-other-face mismatch

2005-09-02 Thread martin rudalics
Perhaps we should define nil as a face that has no attributes. Then it would work to set any face-valued variable to nil. What do people think of that? Just to make things clear for myself: An Elisp `face' is not a primitive type like say `integer' or `overlay'. It's merely a set of

Re: delphi-other-face mismatch

2005-09-01 Thread Richard M. Stallman
Could be, but all the font-lock levels I've seen don't do me any good: they allow me to choose between coarse and fine highlighting, not between fruit-salad and sobriety. I want sober fine highlighting. You have lost me. ___

Re: delphi-other-face mismatch

2005-08-30 Thread Richard M. Stallman
Setting the value to the face `default' (which produces the desirable visual effect) is not exactly the same as a nil value. When you say it is not exactly the same, could you explain what that means? The two values are not eq, of course--is that what you mean? Or are you referring to a

Re: delphi-other-face mismatch

2005-08-30 Thread Richard M. Stallman
The simplest fix would be to specify a non-nil default. Would someone who has a feel for choosing faces please do that? delphi-other-face is placed on way too many things which are (to my taste) better left un-highlighted. So I think a default of nil is the right

Re: delphi-other-face mismatch

2005-08-30 Thread martin rudalics
Richard M. Stallman wrote: Setting the value to the face `default' (which produces the desirable visual effect) is not exactly the same as a nil value. When you say it is not exactly the same, could you explain what that means? The two values are not eq, of course--is that what you

Re: delphi-other-face mismatch

2005-08-30 Thread Juri Linkov
When redisplay merges faces a face `nil' won't have any effect on the previous face. `default' will override the previous face with the default face. In cases like (add-text-properties start end (list 'face face-variable)) either `nil' or `default' will override the previous face. -- Juri

Re: delphi-other-face mismatch

2005-08-30 Thread Juri Linkov
Setting the value to the face `default' (which produces the desirable visual effect) is not exactly the same as a nil value. When you say it is not exactly the same, could you explain what that means? The two values are not eq, of course--is that what you mean? Or are you referring

Re: delphi-other-face mismatch

2005-08-30 Thread Stefan Monnier
When redisplay merges faces a face `nil' won't have any effect on the previous face. `default' will override the previous face with the default face. In cases like (add-text-properties start end (list 'face face-variable)) either `nil' or `default' will override the previous face. But if

Re: delphi-other-face mismatch

2005-08-30 Thread Stefan Monnier
The simplest fix would be to specify a non-nil default. Would someone who has a feel for choosing faces please do that? delphi-other-face is placed on way too many things which are (to my taste) better left un-highlighted. So I think a default of nil is the right choice.

Re: delphi-other-face mismatch

2005-08-29 Thread Richard M. Stallman
Why not do what similar options, like `display-time-mail-face' do in similar situations? I can install the trivial patch below if desired. Because it is more complex, and is not helpful by default. ___ Emacs-pretest-bug mailing list

Re: delphi-other-face mismatch

2005-08-29 Thread Juri Linkov
`delphi.el' has nil mismatch in: (defcustom delphi-other-face nil *Face used to color everything else. :type 'face :group 'delphi) The simplest fix would be to specify a non-nil default. Would someone who has a feel for choosing faces please do that? There

Re: delphi-other-face mismatch

2005-08-28 Thread Luc Teirlinck
Richard Stallman wrote: `delphi.el' has nil mismatch in: (defcustom delphi-other-face nil *Face used to color everything else. :type 'face :group 'delphi) The simplest fix would be to specify a non-nil default. Would someone who has a feel for

delphi-other-face mismatch

2005-08-27 Thread martin rudalics
`delphi.el' has nil mismatch in: (defcustom delphi-other-face nil *Face used to color everything else. :type 'face :group 'delphi) ___ Emacs-pretest-bug mailing list Emacs-pretest-bug@gnu.org