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: Mon, 8 Jul 2013 04:50:27 +0200 Message-ID: References: <51C5AA68.4000204@alice.it> <51CD6324.2040504@gmx.at> <834ncifkq9.fsf@gnu.org> <83zjuae19s.fsf@gnu.org> <83r4fmdsw5.fsf@gnu.org> <85k3ldtion.fsf@member.fsf.org> <4E4C522D-DBCC-4133-A764-82C9CCE81E2D@swipnet.se> <8913208E-7FE2-41F5-AC93-000108413C47@swipnet.se> <51D126A4.50402@gmx.at> <51D2ADC1.5060902@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1373251873 2036 80.91.229.3 (8 Jul 2013 02:51:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Jul 2013 02:51:13 +0000 (UTC) Cc: Emacs developers To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 08 04:51:15 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 1Uw1Xn-0006fc-7R for ged-emacs-devel@m.gmane.org; Mon, 08 Jul 2013 04:51:15 +0200 Original-Received: from localhost ([::1]:40487 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uw1Xm-0000Mr-HB for ged-emacs-devel@m.gmane.org; Sun, 07 Jul 2013 22:51:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54449) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uw1Xj-0000Lv-Gu for emacs-devel@gnu.org; Sun, 07 Jul 2013 22:51:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uw1Xi-0000Tn-LR for emacs-devel@gnu.org; Sun, 07 Jul 2013 22:51:11 -0400 Original-Received: from mail-ea0-x230.google.com ([2a00:1450:4013:c01::230]:56969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uw1Xi-0000Tj-El for emacs-devel@gnu.org; Sun, 07 Jul 2013 22:51:10 -0400 Original-Received: by mail-ea0-f176.google.com with SMTP id z15so2604656ead.35 for ; Sun, 07 Jul 2013 19:51:09 -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=T0t+WwYPmuL8x0uqssQu6J72bNOGAIJ111AC79xEIYo=; b=sjGmV+Toamv4/w79gTskBQj1d/Bv/sTtwXGYEK3jKD6OuC75iDRH3pMSwde9Pov96t fCSn5Jy9LPsHOGSgk6hvtkJNtzFJee6IJw7oKdsC+YJkH25kdfb1Me1v9Ax5qx+C91Kb QpLf2+vGsu/IpBOk+Z2WooN2g9vDrL65eQ00dIfh45Ep9cYunf0QpFA6HspP6bILkbPb Obb1XxITxrZkF3sdDuBnvkMe8KTL58yBpz7n2Q6gbKN45GdmeQOFfYqn7CDx8n/EKtNV BNGRB6hIQTY9eMdFdbilqxYlHgm2CXlvrnV4IrDQgONXlqMMgii4IXYijUM7alTr9OiV 67FA== X-Received: by 10.15.102.68 with SMTP id bq44mr22671271eeb.89.1373251869115; Sun, 07 Jul 2013 19:51:09 -0700 (PDT) Original-Received: by 10.14.142.4 with HTTP; Sun, 7 Jul 2013 19:50:27 -0700 (PDT) In-Reply-To: <51D2ADC1.5060902@gmx.at> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4013:c01::230 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:161716 Archived-At: [Sorry, I've been busy and didn't test your code until now] On Tue, Jul 2, 2013 at 12:38 PM, martin rudalics wrote: > A first, untested stab is below: Frames get a desktop-mini parameter > which is a cons. The car is t if the frame has a minibuffer and nil if > not. But: > ;; Do nothing if we are our own minibuffer frame. > ((eq minibuffer-frame frame)) In fact, it is possible to do emacs -Q --eval "(make-frame `((minibuffer . ,(minibuffer-window))))" and have the second frame to use the first one's minibuffer, so even frames that arew their own minibuffer frames should be saved as (desktop-mini t . NUMBER), shouldn't they? J