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: Thu, 27 Jun 2013 16:45:34 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <51C6CF57.9030203@alice.it> <51C87C3E.90904@gmx.at> <83ehbrju1d.fsf@gnu.org> <87r4frcq9v.fsf@rosalinde.fritz.box> <87vc5345t3.fsf@gmail.com> <51C8B2C8.4000803@gmx.at> <51C93CDB.2020301@gmx.at> <51C9C790.3020407@gmx.at> <51CA0D4C.7080204@alice.it> <51CC3E42.7020409@alice.it> <51CC4CC1.3030202@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1372344386 5592 80.91.229.3 (27 Jun 2013 14:46:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Jun 2013 14:46:26 +0000 (UTC) Cc: Emacs developers , martin rudalics , Stefan Monnier , Eli Zaretskii , Stephen Berman , Jambunathan K To: Angelo Graziosi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 27 16:46:27 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 1UsDSq-00017I-Oh for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 16:46:24 +0200 Original-Received: from localhost ([::1]:56510 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsDSq-00012V-7x for ged-emacs-devel@m.gmane.org; Thu, 27 Jun 2013 10:46:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsDSl-0000xy-F1 for emacs-devel@gnu.org; Thu, 27 Jun 2013 10:46:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UsDSk-0004UO-0p for emacs-devel@gnu.org; Thu, 27 Jun 2013 10:46:19 -0400 Original-Received: from mail-ee0-x22e.google.com ([2a00:1450:4013:c00::22e]:63676) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UsDSh-0004Ng-GN; Thu, 27 Jun 2013 10:46:15 -0400 Original-Received: by mail-ee0-f46.google.com with SMTP id d41so449198eek.5 for ; Thu, 27 Jun 2013 07:46:14 -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=O+V0FsWIbgb1AaLu4Kp8CfFq1n/xP0LQHMZ8F6FctjE=; b=zEQEsoUfuryT2PXBQQaWDwCUTIMhQ23F8fS9qTgC/Y6UGUpwXpxA2vjTaLFL7G4lJI nb+ws6qZrj4fQsh0/BEOEtv6t46sq0nPcerBHOXZBnMVlmjIFDKYnhQUawUHoV5prkCK Um/Ics58x8bLy2xl7tO+XHVnbSEetiqlrnogU2PAV86dA+23nrVCOroCONCSBVAXAkuX YqksFNm2ymDuTcxIpAnokbiF21th6DzAFR6mlrfpN7hU6IMrwX1SISGL4kk1h1QxM5A8 MDMgHkx2wl9AiTFBSYfKmiKkq7yCd/ROMZF+JkDvgPI3FToYzC332tiMTH3RE6zOkRhr 8kQQ== X-Received: by 10.15.76.71 with SMTP id m47mr9272332eey.70.1372344374571; Thu, 27 Jun 2013 07:46:14 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Thu, 27 Jun 2013 07:45:34 -0700 (PDT) In-Reply-To: <51CC4CC1.3030202@alice.it> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c00::22e 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:161140 Archived-At: On Thu, Jun 27, 2013 at 4:31 PM, Angelo Graziosi wrote: > I don't understand here.. In my /~/.emacs.d/init.el I have > > ;; Instead to save in ~/.emacs.desktop > (setq desktop-base-file-name "~/.emacs.d/desktop") > > ;; Instead to save in ~/.emacs.desktop.lock > (setq desktop-base-lock-name "~/.emacs.d/desktop.lock") OK. > Which "desktop save file" are you talking about? Perhaps > "~/.emacs.d/desktop"? According to your code above, yes. > I have tried > > $ grep window .emacs.d/desktop > > but found anything called "window-save"... > > So I am a little confused. It's not really important. If you edit that file, below ;;Global section: if you see any variable whose name starts with "desktop--" and it's not "desktop--saved-states" (which is its name now), just delete it. > Any way, adding "setq desktop-save-windows t" in my init file seem to work. I sure hoped so :-) > I notice only that if I close Emacs (the session) with the frame full > maximized (the button of the system window activated), the next time I > restart Emacs (the next session), the frame has almost the same size of > previous session (just the height one line sorter) but the maximized button > not active. If I have read correctly this, at the moment, is to be expected. Yes. I plan to fix it, but I first want advice about getting the pre-maximized frame size without having to de-maximize and re-maximite it. For the moment being, saving&restoring maximized/fullscreen frames is not really supported. > Many thanks for having added this to Emacs! Thanks for testing. If you find any other bug or unwanted behavior (as I'm sure you will), please file a bug report. It's less messy than endlessly adding to this thread. J