From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Allan Gottlieb Newsgroups: gmane.emacs.help Subject: Re: "title" frame param: Want "string %f %b" with string different for some frames Date: Thu, 28 Aug 2008 17:54:43 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219960325 12047 80.91.229.12 (28 Aug 2008 21:52:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Aug 2008 21:52:05 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 28 23:52:59 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KYpQJ-0001z0-1W for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2008 23:52:59 +0200 Original-Received: from localhost ([127.0.0.1]:33111 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYpPK-0006jc-0n for geh-help-gnu-emacs@m.gmane.org; Thu, 28 Aug 2008 17:51:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KYpP2-0006jX-Rp for help-gnu-emacs@gnu.org; Thu, 28 Aug 2008 17:51:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KYpP1-0006j3-1m for help-gnu-emacs@gnu.org; Thu, 28 Aug 2008 17:51:40 -0400 Original-Received: from [199.232.76.173] (port=56954 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KYpP0-0006j0-Uj for help-gnu-emacs@gnu.org; Thu, 28 Aug 2008 17:51:38 -0400 Original-Received: from smtp.cs.nyu.edu ([128.122.80.33]:46513) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KYpOy-000079-Sb for help-gnu-emacs@gnu.org; Thu, 28 Aug 2008 17:51:37 -0400 Original-Received: from ajglap.localdomain (ool-4578d291.dyn.optonline.net [69.120.210.145]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id m7SLpUjK027531 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 28 Aug 2008 17:51:31 -0400 (EDT) Original-Received: by ajglap.localdomain (Postfix, from userid 1502) id 4E87D19D931; Thu, 28 Aug 2008 17:54:43 -0400 (EDT) In-Reply-To: (Nikolaj Schumacher's message of "Thu\, 28 Aug 2008 23\:00\:14 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:57076 Archived-At: At Thu, 28 Aug 2008 23:00:14 +0200 Nikolaj Schumacher wrote: > Allan Gottlieb 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