From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Gtk tabs in emacs, new branch Date: Wed, 21 Apr 2010 18:45:07 +0300 Organization: JURTA Message-ID: <87y6gg95ad.fsf@mail.jurta.org> 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> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1271865489 32263 80.91.229.12 (21 Apr 2010 15:58:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Apr 2010 15:58:09 +0000 (UTC) To: Emacs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 21 17:58:08 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 1O4cJT-000337-3n for ged-emacs-devel@m.gmane.org; Wed, 21 Apr 2010 17:58:07 +0200 Original-Received: from localhost ([127.0.0.1]:33854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4cJS-0000Lp-N4 for ged-emacs-devel@m.gmane.org; Wed, 21 Apr 2010 11:58:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O4cG8-0004i0-Q1 for emacs-devel@gnu.org; Wed, 21 Apr 2010 11:54:40 -0400 Original-Received: from [140.186.70.92] (port=57772 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O4cG3-0004cZ-Pv for emacs-devel@gnu.org; Wed, 21 Apr 2010 11:54:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O4cG1-0005iI-KS for emacs-devel@gnu.org; Wed, 21 Apr 2010 11:54:35 -0400 Original-Received: from smtp-out1.starman.ee ([85.253.0.3]:37524 helo=mx1.starman.ee) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O4cG1-0005hd-8x for emacs-devel@gnu.org; Wed, 21 Apr 2010 11:54:33 -0400 X-Virus-Scanned: by Amavisd-New at mx1.starman.ee Original-Received: from mail.starman.ee (82.131.28.200.cable.starman.ee [82.131.28.200]) by mx1.starman.ee (Postfix) with ESMTP id 204F83F41C6 for ; Wed, 21 Apr 2010 18:54:29 +0300 (EEST) In-Reply-To: <87fx2pdvfq.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 21 Apr 2010 11:55:45 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:123985 Archived-At: 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) (current-buffer . "*scratch*") (minibuf-scroll-window) (minibuf-selected-window) (saved-windows . (saved-window (current-window . t) (buffer . "*scratch*") (left-col . 0) (top-line . 5) (total-cols . 86) (total-lines . 35) (hscroll . 0) (min-hscroll . 0) (display-table) (orig-top-line) (orig-total-lines) (left-margin-cols) (right-margin-cols) (left-fringe-width) (right-fringe-width) (fringes-outside-margins) (scroll-bar-width) (vertical-scroll-bar-type . t) (dedicated) (resize-proportionally) (pointm . 236) (start . 1) (start-at-line-beg . t) (mark . 192) (next . (saved-window (buffer . " *Minibuf-0*") (left-col . 0) (top-line . 40) (total-cols . 86) (total-lines . 1) (hscroll . 0) (min-hscroll . 0) (display-table) (orig-top-line) (orig-total-lines) (left-margin-cols) (right-margin-cols) (left-fringe-width) (right-fringe-width) (fringes-outside-margins) (scroll-bar-width) (vertical-scroll-bar-type . t) (dedicated) (resize-proportionally) (pointm . 1) (start . 1) (start-at-line-beg)))))) -- Juri Linkov http://www.jurta.org/emacs/