From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.help Subject: Re: desktop.el and frame parameters when -nw Date: Wed, 25 Jul 2018 08:33:40 +0200 Message-ID: <5B5819C4.7060909@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1532500338 4160 195.159.176.226 (25 Jul 2018 06:32:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 25 Jul 2018 06:32:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: jaygkamat@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 25 08:32:14 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fiDLK-0000zV-2V for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jul 2018 08:32:14 +0200 Original-Received: from localhost ([::1]:45229 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiDNR-00020W-0g for geh-help-gnu-emacs@m.gmane.org; Wed, 25 Jul 2018 02:34:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fiDMw-00020G-U9 for help-gnu-emacs@gnu.org; Wed, 25 Jul 2018 02:33:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fiDMt-0001M5-UQ for help-gnu-emacs@gnu.org; Wed, 25 Jul 2018 02:33:54 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:46607) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fiDMt-0001Kw-JW for help-gnu-emacs@gnu.org; Wed, 25 Jul 2018 02:33:51 -0400 Original-Received: from [192.168.1.101] ([213.162.73.134]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0McEDD-1fSc9q0em7-00JXMp; Wed, 25 Jul 2018 08:33:49 +0200 Original-References: 87fu08xe9r.fsf@gmail.com X-Provags-ID: V03:K1:uz6c3MH4tSeGi6+jvf7DC9LUXN7UaHHMNgwJ/PeRTeJVpb3iSV7 74ro6K3G/l20uIiJPCZRZMDqd4ZZEHpBGb6Krhzl8h3D3WV4eOftrCZEK7Iz4Qrjr4LbPFL EYVocQWgWVC2SUr8osPBy/9+v6w9D/S35EwD4mADht5v3xY9SuJ1rBCJEwFVAboaYL5AVtr 2f5TSXZislaKK1qLBfdLQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:meJfra9FcUc=:540ho/S5Fo6PFLNvHQ8FyD BQa8fL9FgMA1E4tvz/R/k5jTVookEOWVbzTrEMX9UmKmTZYhnbuqXPvktWOekWvh0D0N2EoE4 aoLMvb5Js0QXMOadAL5jhT4R/HwVL8dFkuoRK4d9jz3McEoh+iXCGLrM0ZLMeC0UqWmOmrMcn VzeXYyywq+ebYeghXnVCaSejYOG2y8LEcW3CN9IdgZV3ILnv0OkfHxAISfV/5x2xnx6yKpA/f UxkA2/XVR6rJBjt4twHqX/13+e0SQ6EVZLZlkWSaR92+p03R2AfRpPr4/ExUS0wpbbhk6myqe SmOKPjUQaUEKGbNUisMR+dpDhp9CbzqfXjL4yPWryA+LhCoLDlPP1nfDbIVH+DsJovvpmXyY6 w9F+JuLkBb2iVdWSBCpvCsIIeHc7X5AckNhMTUlfs8rqvbnlgYIHGRAmuR/SxJ/NB3l6pZMn+ B5/+Zcnz/z7lXW1qkLkFeBBHVFbnZAbctaZIa8VITvfaR+QLAQoVRuLkabCVhrQXLsR1aKHKb 6+iZDLuZCBTFBO/2q1QacyA75Apk+1PjVYPunsJqRi1aR772qtcciMnqccIoYcCHXx7vW/cV1 lrr0lAFJcMrIS7ga0H/FRqVEGDOu7lTHg6u+KX95bQ9s1+9AmQ4KHfNxob7EmudSXw1+GPXpr 2ZEDhcy/s+dj2ZaYkUT48uNZW6vntL/9eicJjYZEQDrYlyLZaIayOu9ucNNNMGYy9HDy7PJJH q1X/ys4GwX4uiiwElImMO824ZtjXNQXEKv4MFNmAESwf9/6rroAsXF31AO8gT0hJgNHGBnCX X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.20 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117585 Archived-At: > When desktop.el saves/loads a session, it normally saves and loads the 'frame > parameters' (set with `set-frame-parameter' and `frame-parameter'). However, > when starting emacs with -nw (in a terminal, with no gui), these frame > parameters don't seem to be restored. I suppose this is due to desktop.el's (defun desktop-restoring-frameset-p () "True if calling `desktop-restore-frameset' will actually restore it." (and desktop-restore-frames desktop-saved-frameset (display-graphic-p) t)) Try removing the (display-graphic-p). But I'm quite confident that this will get you into lots of other troubles. martin