From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: Re: How to restore the layout? Date: Wed, 3 Jul 2013 17:16:14 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <4E4C522D-DBCC-4133-A764-82C9CCE81E2D@swipnet.se> <8913208E-7FE2-41F5-AC93-000108413C47@swipnet.se> <51D126A4.50402@gmx.at> <55419fed-b69d-4d07-81b2-b5b70f113929@default> <51D3EE8D.3040306@gmx.at> <9d1b8879-0484-4a66-867f-becc4a9dabea@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372864622 27768 80.91.229.3 (3 Jul 2013 15:17:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 3 Jul 2013 15:17:02 +0000 (UTC) Cc: martin rudalics , Emacs developers To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 03 17:17:03 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UuOnm-0006Aa-Uk for ged-emacs-devel@m.gmane.org; Wed, 03 Jul 2013 17:17:03 +0200 Original-Received: from localhost ([::1]:49597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuOnm-0004gp-ES for ged-emacs-devel@m.gmane.org; Wed, 03 Jul 2013 11:17:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49462) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuOni-0004g2-18 for emacs-devel@gnu.org; Wed, 03 Jul 2013 11:16:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UuOnf-0000hJ-Ui for emacs-devel@gnu.org; Wed, 03 Jul 2013 11:16:57 -0400 Original-Received: from mail-ie0-x22f.google.com ([2607:f8b0:4001:c03::22f]:58139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UuOnf-0000hD-Pl for emacs-devel@gnu.org; Wed, 03 Jul 2013 11:16:55 -0400 Original-Received: by mail-ie0-f175.google.com with SMTP id a13so658272iee.6 for ; Wed, 03 Jul 2013 08:16:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6WsfzaGV11kRvg0OCWFk4el2HUyN4kqz0IS5R3K633w=; b=hlhMitMVLrn/hM9PzUXG6tRHAhTRZRO/DSb+qrupbGHJw0VWdwwl1vS3HcZyRv6Tab fm7YaPGIFJQIUS5CDeR0DDSXvtFxHke7bzZxglqEJgY90WgTVSf+o/eyUd652dfagGGO VpSUv7LqwYjN7rrX7uvbGKmUR8RgjWTjJdmnde1Myp3PAo5YzZew1Wf0Wcx0PeCcebVy hdmFb1BxqSYDQ+kf3+msQAMgPGzlOVWcS+vXkHcEv+MXiyxQ7nIQQW6hMC7RJzgu0k7U LAck28PM417XbeA/99r/3vBlqYJsrSDnY3iLULaHVlD9NC+Nvg2qgNwy4HicXfU2Yhf/ WAgw== X-Received: by 10.42.148.5 with SMTP id p5mr797105icv.19.1372864615194; Wed, 03 Jul 2013 08:16:55 -0700 (PDT) Original-Received: by 10.64.250.7 with HTTP; Wed, 3 Jul 2013 08:16:14 -0700 (PDT) In-Reply-To: <9d1b8879-0484-4a66-867f-becc4a9dabea@default> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c03::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:161480 Archived-At: On Wed, Jul 3, 2013 at 4:08 PM, Drew Adams wrote: > That "fix" sounds ominous, but perhaps I'm becoming paranoid. Just a little bit ;-) > (what works? Saving and restoring frames, which should (and could) produce unwanted results because I don't save the font parameter. > what is the feature? The same one I'm developing. Save&restore frames&windows. > what is the relation to changing font(set) between invocations?) That currently, if you save a frame, and then start Emacs with another fontset, and then desktop-read, the frames will not have the same size (pixel-wise), which can be a problem for big frames or frames where the exact size is important. If the font parameter were saved, recreating the frame would use it. I'm QUITE afraid you will now say that in some cases you want the font saved (you already said as much), but in other cases you would the frames to be "transparent" to the font, so restoring them woul inherit the current default font of the running Emacs. > I hope that changing the font size will continue to resize the frame and > associated building blocks. Yes. The font value of a frame parameter cannot preclude you doing (set-default-font "DejaVus Sans Mono-15" nil t) and changing every frame in sight. > I make heavy use of this feature (a frame's font driving size in > general). It would break most of what I use everyday if this feature > were to be "fixed" away. For features, all input is welcome. For bugs, I would prefer if you could wait untill you stumble upon it ;-) J