From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Gtk tabs in emacs, new branch Date: Fri, 23 Apr 2010 09:53:37 -0700 Message-ID: <750140A47B7D4FBD93371813D65478F8@us.oracle.com> References: <4BB4CF6B.2000007@alice.it> <4BB59476.7010600@swipnet.se><4BB5C01E.10701@alice.it> <4BB608EE.7080101@swipnet.se><4BB9A469.6050608@alice.it> <4BC072C3.2080302@swipnet.se><4BC0B692.2000702@alice.it> <4BC0BD6D.3060103@swipnet.se><4BC0F715.2060605@alice.it><45EB8DD4-B0F8-4FB3-941F-13FADA4DAD66@swipnet.se><4BC1854B.2060409@alice.it> <4BC1A9D2.8050607@swipnet.se><4BC206C0.2010202@alice.it> <87fx2pdvfq.fsf@mail.jurta.org> <87y6gg95ad.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1272042842 3280 80.91.229.12 (23 Apr 2010 17:14:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Apr 2010 17:14:02 +0000 (UTC) Cc: 'Lennart Borgman' To: "'Juri Linkov'" , "'Emacs'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Apr 23 19:14:00 2010 connect(): No such file or directory Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O5MPp-0007Qu-9Q for ged-emacs-devel@m.gmane.org; Fri, 23 Apr 2010 19:13:57 +0200 Original-Received: from localhost ([127.0.0.1]:57829 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5MPZ-000178-4m for ged-emacs-devel@m.gmane.org; Fri, 23 Apr 2010 13:11:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O5M8g-0006tJ-No for emacs-devel@gnu.org; Fri, 23 Apr 2010 12:54:02 -0400 Original-Received: from [140.186.70.92] (port=53314 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O5M8f-0006sM-Ef for emacs-devel@gnu.org; Fri, 23 Apr 2010 12:54:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O5M8d-0000jA-Jr for emacs-devel@gnu.org; Fri, 23 Apr 2010 12:54:01 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:60532) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O5M8d-0000iQ-Ei for emacs-devel@gnu.org; Fri, 23 Apr 2010 12:53:59 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3NGrnGn026409 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 23 Apr 2010 16:53:52 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o3N8LOeq016601; Fri, 23 Apr 2010 16:53:48 GMT Original-Received: from abhmt016.oracle.com by acsmt354.oracle.com with ESMTP id 203467701272041616; Fri, 23 Apr 2010 09:53:36 -0700 Original-Received: from dradamslap1 (/10.175.223.120) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 23 Apr 2010 09:53:35 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87y6gg95ad.fsf@mail.jurta.org> Thread-Index: Acrha29jF+bM+jDRQcuot3X+CUmIZgBltdZg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Auth-Type: Internal IP X-Source-IP: acsinet15.oracle.com [141.146.126.227] X-CT-RefId: str=0001.0A090207.4BD1D0A1.0185:SCFMA922111,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:124131 Archived-At: > From: Juri Linkov > I also implemented C functions to save window configurations > in Lisp expressions that could be used later to save tabs > in the desktop file. For example, > > (current-window-configuration-to-sexp) > => > (window-configuration > (frame-cols . 80) > (frame-lines . 41) > (frame-menu-bar-lines . 1) > (frame-tool-bar-lines . 4) > (frame-tab-bar-lines . 4) ... Is the intention to be able to save and restore all current window & frame configurations? That is what I would like to see, to be able to save and restore an Emacs state as completely as possible wrt frames and windows. [That would of course mean saving all frame parameters that can be restored. I would even like to see the ability for users to hook into such a feature, so that user-defined frame parameters could be handled also. E.g. for a user-defined frame parameter `foo', a user could specify how it can be saved and restored, so that frame-config saving & restoring would then DTRT wrt it.] Lennart made a stab at saving/restoring frame and window configs, but his code didn't work when I tested it (there were apparently some dependencies on his EmacsW32 etc.). Perhaps you and he could put together something general. It seems like you're both close. I would like to see the ability to save & restore each of the following independently, in such a way that you could use them separately or together (to save and restore various combinations): desktops, window configs, frame configs. IOW, we should not couple any of them in such a way that you could no longer save only a desktop (without also saving frame configs) or only the current frame & window configs, etc. E.g., a saved desktop should not necessarily include frame and window configs, but you should also be able to save all at once.