From mboxrd@z Thu Jan 1 00:00:00 1970 From: dericbytes Subject: I wrote code to reverse top-level entries order within region Date: Sat, 18 Apr 2009 15:38:48 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LvCdI-0004in-Qz for emacs-orgmode@gnu.org; Sat, 18 Apr 2009 11:39:08 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LvCdC-0004hx-W8 for emacs-orgmode@gnu.org; Sat, 18 Apr 2009 11:39:07 -0400 Received: from [199.232.76.173] (port=45727 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LvCdC-0004ht-Q2 for emacs-orgmode@gnu.org; Sat, 18 Apr 2009 11:39:02 -0400 Received: from main.gmane.org ([80.91.229.2]:55382 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LvCdC-0005rI-At for emacs-orgmode@gnu.org; Sat, 18 Apr 2009 11:39:02 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LvCd9-0001YV-Q4 for emacs-orgmode@gnu.org; Sat, 18 Apr 2009 15:38:59 +0000 Received: from cpc3-hatf1-0-0-cust829.lutn.cable.ntl.com ([82.10.67.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Apr 2009 15:38:59 +0000 Received: from dericbytes by cpc3-hatf1-0-0-cust829.lutn.cable.ntl.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 18 Apr 2009 15:38:59 +0000 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: emacs-orgmode@gnu.org > I want to reverse the entries of my logs. So the newest is at the top. I know > there is the C-c ^ sort function, but I'm not sure if any are applicable. (Not > all of my entries are dated) Here's a link to the code I wrote to reverse top-level entries on region. http://dericbytes.blogspot.com/2009/04/emacs-orgmode-my-code-to-reverse.html NOTE: its my first attempt at elisp, any tips for improving future code welcome.