[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]
[meadow-develop:1997/183]meadow-3.00 bug report (x-create-frame)
- X-ml-count: 183
- Subject: [meadow-develop:1997/183]meadow-3.00 bug report (x-create-frame)
- From: morioka@xxxxxxxxxxx (守岡 知彦 / MORIOKA Tomohiko)
- Date: 17 Nov 1997 21:10:27 +0900
- X-mailer: Quassia Gnus v0.12/XEmacs 20.3 - "Istanbul"
;; はじめまして、Meadow をあんまり使っていないのに入れてもらった守岡です。
;; (^_^;;;
;;; この mailing list ってもしかして ezmlm なんですね? (^_^)
>>>>> <un2j3ddrd.fsf@xxxxxxxxxxxxxxxxxxxxxxxxxxx> にて“himi”=
>>>>> Miyashita Hisashi(宮下 尚:HIMI) <himi@xxxxxxxxxxxxxxxxxxxxxxxxx>
>>>>> さま曰く:
himi> > > げっ!、(set-face-property)はMeadowの重要な関数です。....
himi> > > うーん、こまったなぁ。名前がかち合ったか。
himi> >
himi> > > ## Emacs20にこの機能が取り込まれたら、かえる必要ないんだけどねぇ。:-P
himi> >
himi> > > うーん、face-attributeに名前変えようかなぁ。;_;
himi> >
himi> > overlay-put/overlay-get とかにならって face-put/face-get とかは?
himi> あ、いいですね。これ使わせていただきます。
himi> ## に、しても名前空間の問題はやっぱ難しいです。;_;
ところで Meadow の set-face-property の仕様はどうなんでしょうか?ちな
みに問題になっている XEmacs のは
(set-face-property FACE PROPERTY VALUE &optional LOCALE TAG-SET HOW-TO-ADD)
Change a property of a FACE.
NOTE: If you want to remove a property from a face, use `remove-face-property'
rather than attempting to set a value of nil for the property.
For built-in properties, the actual value of the property is a
specifier and you cannot change this; but you can change the
specifications within the specifier, and that is what this function
will do. For user-defined properties, you can use this function
to either change the actual value of the property or, if this value
is a specifier, change the specifications within it.
If PROPERTY is a built-in property, the specifications to be added to
this property can be supplied in many different ways:
-- If VALUE is a simple instantiator (e.g. a string naming a font or
color) or a list of instantiators, then the instantiator(s) will
be added as a specification of the property for the given LOCALE
(which defaults to 'global if omitted).
-- If VALUE is a list of specifications (each of which is a cons of
a locale and a list of instantiators), then LOCALE must be nil
(it does not make sense to explicitly specify a locale in this
case), and specifications will be added as given.
-- If VALUE is a specifier (as would be returned by `face-property'
if no LOCALE argument is given), then some or all of the
specifications in the specifier will be added to the property.
In this case, the function is really equivalent to
`copy-specifier' and LOCALE has the same semantics (if it is
a particular locale, the specification for the locale will be
copied; if a locale type, specifications for all locales of
that type will be copied; if nil or 'all, then all
specifications will be copied).
HOW-TO-ADD should be either nil or one of the symbols 'prepend,
'append, 'remove-tag-set-prepend, 'remove-tag-set-append, 'remove-locale,
'remove-locale-type, or 'remove-all. See `copy-specifier' and
`add-spec-to-specifier' for a description of what each of
these means. Most of the time, you do not need to worry about
this argument; the default behavior usually is fine.
In general, it is OK to pass an instance object (e.g. as returned
by `face-property-instance') as an instantiator in place of
an actual instantiator. In such a case, the instantiator used
to create that instance object will be used (for example, if
you set a font-instance object as the value of the 'font
property, then the font name used to create that object will
be used instead). If some cases, however, doing this
conversion does not make sense, and this will be noted in
the documentation for particular types of instance objects.
If PROPERTY is not a built-in property, then this function will
simply set its value if LOCALE is nil. However, if LOCALE is
given, then this function will attempt to add VALUE as the
instantiator for the given LOCALE, using `add-spec-to-specifier'.
If the value of the property is not a specifier, it will
automatically be converted into a 'generic specifier.
The following symbols have predefined meanings:
foreground The foreground color of the face.
For valid instantiators, see `color-specifier-p'.
background The background color of the face.
For valid instantiators, see `color-specifier-p'.
font The font used to display text covered by this face.
For valid instantiators, see `font-specifier-p'.
display-table The display table of the face.
This should be a vector of 256 elements.
background-pixmap The pixmap displayed in the background of the face.
Only used by faces on X devices.
For valid instantiators, see `image-specifier-p'.
underline Underline all text covered by this face.
For valid instantiators, see `face-boolean-specifier-p'.
strikethru Draw a line through all text covered by this face.
For valid instantiators, see `face-boolean-specifier-p'.
highlight Highlight all text covered by this face.
Only used by faces on TTY devices.
For valid instantiators, see `face-boolean-specifier-p'.
dim Dim all text covered by this face.
Only used by faces on TTY devices.
For valid instantiators, see `face-boolean-specifier-p'.
blinking Blink all text covered by this face.
Only used by faces on TTY devices.
For valid instantiators, see `face-boolean-specifier-p'.
reverse Reverse the foreground and background colors.
Only used by faces on TTY devices.
For valid instantiators, see `face-boolean-specifier-p'.
doc-string Description of what the face's normal use is.
NOTE: This is not a specifier, unlike all
the other built-in properties, and cannot
contain locale-specific values.
です。もし、仕様が一緒にできるなら一緒にするという道もあると思います。
--
┯━…‥・懐かしい未来の記憶をふと思い出しかけた・‥…━━┯━━━┯━
││ ─ │ ─ / ─ ┼─ ┬ ─ ─┼ ┬┴─
┼┼─┼|〓━─┼ 守岡 知彦 (MORIOKA Tomohiko) <morioka@xxxxxxxxxxx>─
┻┻━┻━┷━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
P.S. XEmacs の Windows port(X なし)が本格的に始まったみたいです。でも、
Emacs 20.3 の variable width の方が期待大かな?