help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: "title" frame param: Want "string %f %b" with string different for s


From: Allan Gottlieb
Subject: Re: "title" frame param: Want "string %f %b" with string different for some frames
Date: Thu, 28 Aug 2008 17:54:43 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

At Thu, 28 Aug 2008 23:00:14 +0200 Nikolaj Schumacher <me@nschum.de> wrote:

> Allan Gottlieb <gottlieb@nyu.edu> wrote:
>
>> I have been able to set the frame parameter "title", but that doesn't
>> give the ability to use %b %f.  My attempts at using
>> make-variable-frame-local and/or modify-frame-parameters have not
>> yet yielded the equivalent of my desired
>
> I had no success with `make-variable-frame-local', either, though it should
> theoretically work.
>
> `modify-frame-parameters' won't work, because there is no
> frame-parameter for this.  I find the documentation a little fuzzy on this.

Indeed the entry for make-variable-frame-local is hard for me to
parse.  I sometimes think that this function turns a variable into a
frame parameter.

    This does not create any frame-local bindings for VARIABLE,
    it just makes them possible.

    A frame-local binding is actually a frame parameter value.
    If a frame F has a value for the frame parameter named VARIABLE,
    that also acts as a frame-local binding for VARIABLE in F--
    provided this function has been called to enable VARIABLE
    to have frame-local bindings at all.

    The only way to create a frame-local binding for VARIABLE in a frame
    is to set the VARIABLE frame parameter of that frame.  See
    `modify-frame-parameters' for how to set frame parameters.

But as you say, none of this seems to work.
allan




reply via email to

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