From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Display-local settings (was: It is time for a feature freeze) Date: 16 Apr 2004 22:38:15 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87eks0654s.fsf@sno.mundell.ukfsn.org> <87n06bp4ng.fsf@sno.mundell.ukfsn.org> <8765cwkejr.fsf@mail.jurta.org> <200404071157.UAA25094@etlken.m17n.org> <200404071312.WAA25268@etlken.m17n.org> <87zn9nqras.fsf@emacswiki.org> <87hdvux5uz.fsf@orebokech.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1082148854 16793 80.91.224.253 (16 Apr 2004 20:54:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 16 Apr 2004 20:54:14 +0000 (UTC) Cc: "Kim F. Storm" , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Apr 16 22:54:02 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BEaLa-0005Vy-00 for ; Fri, 16 Apr 2004 22:54:02 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BEaLa-0003LC-00 for ; Fri, 16 Apr 2004 22:54:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEaHa-0006zt-2b for emacs-devel@quimby.gnus.org; Fri, 16 Apr 2004 16:49:54 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BEaFz-0006kn-2f for emacs-devel@gnu.org; Fri, 16 Apr 2004 16:48:15 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BEa6P-0004lj-CZ for emacs-devel@gnu.org; Fri, 16 Apr 2004 16:38:53 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BEa6O-0004lX-Do for emacs-devel@gnu.org; Fri, 16 Apr 2004 16:38:20 -0400 Original-Received: from fencepost.gnu.org ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.24) id 1BEa5c-0002sa-Tw; Fri, 16 Apr 2004 16:37:33 -0400 Original-To: Stefan Monnier In-Reply-To: Original-Lines: 32 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:21799 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:21799 Stefan Monnier writes: > > I don't see how. After all, we are not talking about the > > _possibility_ of having a menu-bar or not (that's trivial), but about > > the default for creation of new frames. And as far as I can tell, > > you can't set different defaults for different displays. > > But it's like mode-local variables. We don't have those, but we can > simulate them with buffer-local variables. Almost every mode has a startup hook. > So frame-local settings are sufficient as long as we get a chance to > dynamically setup those parameters whenever a new frame is created. We currently only have frame-creation-function's value is x-create-frame-with-faces Window-system dependent function to call to create a new frame. The window system startup file should set this to its frame creation function, which should take an alist of parameters as its argument. Defined in `frame'. [back] That's hardly sufficient. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum