From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: Sorting table columns (*not* content) Date: Mon, 1 Nov 2010 20:44:22 +0100 Message-ID: <4A6A8F31-8B8F-4A69-9C39-8CB0EDA452BB@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47301 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PD0zT-0002I8-Jv for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 16:28:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PD0zP-0005U6-1G for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 16:28:27 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:47259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PD0zO-0005Tx-RN for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 16:28:22 -0400 Received: by eydd26 with SMTP id d26so3110219eyd.0 for ; Mon, 01 Nov 2010 13:28:22 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Gary Cc: emacs-orgmode@gnu.org On Nov 1, 2010, at 3:15 PM, Gary wrote: > Jeff Horn wrote: > >> Hope this helps, > > Not much, really. You're saying that I can do rectangle editing, > which I > knew. Are you basically saying "you have to sort them yourself"? (If > so, > that's okay, it's a valid answer, even if it isn't the one I want!) I guess in many cases it will be fast to sort by hand in a situation like this. Maybe not using rectangle commands, but using the commands for dragging along a column, M-right and M-left. If you have many columns, you can use a transposition as indicated very cleverly by Juan. Or you can write the command and send us a patch :D Maybe just a bubble sort, using the column-shifting commands might be good enough. How many columns do you have? Cheers. - Carsten