unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: "title" frame param: Want "string %f %b" with string	different	for some frames
Date: Thu, 28 Aug 2008 17:54:43 -0400	[thread overview]
Message-ID: <yu9ej48yfdo.fsf@nyu.edu> (raw)
In-Reply-To: <m2bpzcsvmp.fsf@nschum.de> (Nikolaj Schumacher's message of "Thu\, 28 Aug 2008 23\:00\:14 +0200")

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	other threads:[~2008-08-28 21:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-28 16:28 "title" frame param: Want "string %f %b" with string different for some frames Allan Gottlieb
2008-08-28 17:23 ` Nikolaj Schumacher
2008-08-28 19:43   ` Allan Gottlieb
2008-08-28 21:00     ` Nikolaj Schumacher
2008-08-28 21:54       ` Allan Gottlieb [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yu9ej48yfdo.fsf@nyu.edu \
    --to=gottlieb@nyu.edu \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).