[Top][All Lists]

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

Re: Adding parameters to windows

From: Stefan Monnier
Subject: Re: Adding parameters to windows
Date: Wed, 04 Jun 2008 22:07:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>  - What does mean "The meaningful PARAMETERs depend on the kind of
> window." Which parameters are meaningul, and for which windows?

Just remove that.  We do not document those things at those places.
E.g. we do not document the list of special text-properties in the
set-text-property functions.

>  - It is wise to return (in `window-parameter' and
> `set-window-parameter') directly the parameter alist, instead of a
> copy of it?

It's probably OK for window-parameters to return the alist itself, tho
a copy-alist wouldn't hurt.

OTOH I did miss the fact that window-parameter returns the cons-cell
rather than just the value of the parameter.  This is an error.

Also I think that set-window-parameter should not return the alist, but
the value just set (i.e. `val').


reply via email to

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