From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Include buffer-move.el Date: Wed, 15 Aug 2007 15:46:21 +0200 Message-ID: <46C303AD.5080900@gmail.com> References: <87vebhzndq.fsf@jurta.org> <46C2440C.2060702@gmail.com> <87odh9qcwr.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: sea.gmane.org 1187185640 24601 80.91.229.12 (15 Aug 2007 13:47:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2007 13:47:20 +0000 (UTC) Cc: Juri Linkov , Leo , emacs-devel@gnu.org To: Andreas Schwab Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 15 15:47:17 2007 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 1ILJDM-0006Xx-Aj for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 15:47:12 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILJDL-00054N-Q4 for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2007 09:47:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ILJDI-00053g-53 for emacs-devel@gnu.org; Wed, 15 Aug 2007 09:47:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ILJDG-00052n-2D for emacs-devel@gnu.org; Wed, 15 Aug 2007 09:47:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ILJDF-00052k-V5 for emacs-devel@gnu.org; Wed, 15 Aug 2007 09:47:05 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ILJDF-0006NM-Hi for emacs-devel@gnu.org; Wed, 15 Aug 2007 09:47:05 -0400 Original-Received: from c83-254-133-189.bredband.comhem.se ([83.254.133.189]:65219 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.66) (envelope-from ) id 1ILJDB-0000Lq-5t; Wed, 15 Aug 2007 15:47:02 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666 In-Reply-To: X-Antivirus: avast! (VPS 000765-1, 2007-08-13), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.133.189 X-Scan-Result: No virus found in message 1ILJDB-0000Lq-5t. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1ILJDB-0000Lq-5t 02478029dbc3680951b132c5bcdcc90d X-Detected-Kernel: Linux 2.6? (barebone, rare!) 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:76572 Archived-At: Andreas Schwab wrote: > Juri Linkov writes: > >> Just split a frame into 4x4 squares, create buffers with names 1..15, >> and use S-arrows to move point between windows and C-S-arrows to move >> buffers between windows (well, this is not exactly real rules of 15, >> since adjacent buffers are swapped, not moved with pushing other squares >> but this is very close.) > > It's a rather important detail, since with the original rules it is > impossible to swap two neighbouring squares, partitioning all possible > arrangements into two distinct sets with no way to transform between > them. Why would you have games if you could not cheat? Anyway, just add a buffer named "empty" and only allow switching with that one.