Hard: The appearance of a hard text property like :underline always means the same thing: the text is underlined. Users can decide to use it or not use it, but they cannot redefine it.
This is a weird statement. What should people who listen to underlined text do? (They may want the underlined text to be different from the rest.) What should people who look at text, but for various reasons, use colors, never underlines or other such modifications. (Setting in their .emacs file.) I'm not sure what your point is. Is it my statement that you find weird or the fact that :underline is cast in concrete as underlining? Are you suggesting that text properties such as :underline should have or should allow an alternative interpretation for, for example, those with disabilities such as loss of sight? Are you suggesting that such text properties can already be used in this way? What is your point? If you are questioning whether such properties are really "hard" today, that is, whether they do not in fact allow for alternative display or interpretation as, say, sound, then I think the answer is "yes" - out of the box, Emacs does not allow for any alternative treatment for such properties: :underline always means "underline". The :underline text property simply determines whether or not the text in question is underlined. From Info: `:underline' Whether or not characters should be underlined, and in what color. If the value is `t', underlining uses the foreground color of the face. If the value is a string, underlining uses that color. The value `nil' means do not underline. Someone might, I suppose, write code to interpret :underline in some other way. That is not the point I was making by distinguishing "soft" from "hard" text properties. In particular, I wanted to distinguish link text from underlined text. Just because some text might be underlined does not make it a link. To be a link, it must behave as a link. I suggested we provide a way to make a portion of text appear as a link - in whatever way that appearance might be manifested. Being able to realize :underline text as text read aloud in a certain way would not help us with the problem of changing the representation of links, because not all :underline text is link text. The distinction of soft from hard that I was driving at is, as I mentioned, the difference between using Emphasis and Bold markup tags: Emphasis text is intended to be displayed in different ways, depending on the context; Bold text is not. It is the difference between software and hardware. Softer vs harder is essentially later vs earlier binding. Such a distinction is old - you can see it in the design, for instance, of Tex/LaTex. Maybe there is a better name for it than "soft vs hard" - I don't know. _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel