From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Sorting nodes by clocked time Date: Thu, 17 Apr 2014 14:26:46 +0200 Message-ID: <87eh0wb0qh.fsf@bzg.ath.cx> References: <87zjjk5p9q.fsf@bzg.ath.cx> <87ioq82pk9.fsf@bzg.ath.cx> <87a9bk2pbc.fsf@bzg.ath.cx> <87lhv442xy.fsf@bzg.ath.cx> <87mwfkb26u.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WalP5-0001TS-86 for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 08:27:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WalOz-000365-Hp for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 08:26:55 -0400 Received: from mail-wg0-x22e.google.com ([2a00:1450:400c:c00::22e]:57342) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WalOz-000361-BG for emacs-orgmode@gnu.org; Thu, 17 Apr 2014 08:26:49 -0400 Received: by mail-wg0-f46.google.com with SMTP id b13so369858wgh.29 for ; Thu, 17 Apr 2014 05:26:48 -0700 (PDT) In-Reply-To: (Noah Slater's message of "Thu, 17 Apr 2014 14:02:15 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Noah Slater Cc: emacs-orgmode@gnu.org Noah Slater writes: > Okay, wow. Thanks for writing that. Do you have a Gittip or > something? I would love to support your OSS work in some way or > otherwise show my gratitude beyond words in an email! You can use my paypal account: bastien.guerry@free.fr Thanks! > Anyway. I tried your function and it works. But afterwards, the node > is completely folded. So I added (org-cycle) to the sequence of > functions inside save-restriction. That seems to work, but I'm no > elisp/Org pro. Is this how you would have done it? Well, quite long explanations would follow... I'll let you discover by reading the code and by trial-and-error for now, need to run! -- Bastien