emacs-pretest-bug
[Top][All Lists]
Advanced

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

RE: region face has no background by default for new frames?


From: Drew Adams
Subject: RE: region face has no background by default for new frames?
Date: Sat, 29 Jul 2006 19:33:37 -0700

        I tried to clarify the test in the Emacs Lisp manual.
        Please take a look.

        Can you please tell me where to look?

    In the section which describes these functions, which I believe is
    Face Attribute Functions.

I meant, where can I find the latest text? Where is it in relation, say, to
this location: http://cvs.savannah.gnu.org/viewcvs/emacs/emacs/?

If I look in the last Emacs version I have, which is probably before your
corrections, the doc string and the Elisp manual seem to conflict. In some
cases, the Elisp manual text contradicts itself or is ambiguous.

In any case, it is not at all clear to me.

1. doc string of face-background:

nil:

"If frame is omitted or nil, use the selected frame."

t:

"If frame is t, report on the defaults for face face (for new frames)."

a frame:

"report on face face in that frame."


2. Elisp node Attribute Functions:

nil:

"If you don't specify FRAME, they refer to the default data for new frames."
Also, the text at the top of the node apparently applies here: "otherwise,
they affect all frames as well as the defaults that apply to new frames."
These two statements don't say the same thing, IMO.

t:

Nothing explicit said about t, except what is implied by the text at the
node top: "otherwise, they affect all frames as well as the defaults that
apply to new frames." In this case, there is no distinction between nil and
t.

a frame:

Nothing explicit said about a frame arg, except what is said at the node
top: "If you specify FRAME, they affect just that frame"









reply via email to

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