From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Neat features in Eclipse editor Date: Sun, 23 Mar 2008 11:54:03 +0100 Message-ID: <47E636CB.1050607@gmx.at> References: <873aqia0eh.fsf@stupidchicken.com> <873aqiw4xm.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206269605 21987 80.91.229.12 (23 Mar 2008 10:53:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 23 Mar 2008 10:53:25 +0000 (UTC) Cc: emacs-devel To: joakim@verona.se Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 23 11:53:55 2008 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.50) id 1JdNpq-0006HO-DC for ged-emacs-devel@m.gmane.org; Sun, 23 Mar 2008 11:53:54 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdNpF-0002Oy-FA for ged-emacs-devel@m.gmane.org; Sun, 23 Mar 2008 06:53:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JdNpB-0002Of-H0 for emacs-devel@gnu.org; Sun, 23 Mar 2008 06:53:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JdNpA-0002OL-67 for emacs-devel@gnu.org; Sun, 23 Mar 2008 06:53:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JdNpA-0002OI-0A for emacs-devel@gnu.org; Sun, 23 Mar 2008 06:53:12 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JdNp9-0008DE-Kk for emacs-devel@gnu.org; Sun, 23 Mar 2008 06:53:11 -0400 Original-Received: (qmail invoked by alias); 23 Mar 2008 10:53:10 -0000 Original-Received: from N870P002.adsl.highway.telekom.at (EHLO [62.47.52.162]) [62.47.52.162] by mail.gmx.net (mp048) with SMTP; 23 Mar 2008 11:53:10 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18cKLR67eccNLS1Kn5/tXPeZ5Cl5jrdEvYD8wM2uS 92FJL3Be0CRu1m User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en In-Reply-To: X-Y-GMX-Trusted: 0 X-detected-kernel: by monty-python.gnu.org: 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:93251 Archived-At: Apologies for the previous mail. > - Create a new Emacs window object called a sub-frame. This sits between > frames and windows. It nominaly provides a list of windows like a frame > does and is normaly the same list of windows the frame has. A frame can > have several sub-frames, but at the start only one. When no sub-frame > features are used, emacs behaves exactly as it does today. > > - as an example, I now create 2 subframes called left and right. When > I'm in the left sub-frame and do other-window, I only jump between > windows in the left sub-frame. Likewise for the right sub-frame. When I > do delete-other-windows, only other windows in the sub-frame goes away. > > Again, this is achieved by all window functions looking at the list of > windows in the sub-frame structure rather than the frame structure. > > Moving between sub-frames needs a new function similar to other-frame. > > Does this sound at all feasible? It wouldn't be difficult, at least. The more hairy aspect is that you probably want to create new subframes below/right or above/left of existing ones. I modified windows.c appropriately to do this for what I call "window combos". In your parlance these are subframes consisting of a left and right (or upper and lower) window only.