From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: Feature idea: show last log entry Date: Wed, 12 Oct 2011 19:59:06 +0200 Message-ID: <87zkh6ytud.fsf@Rainer.invalid> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE35O-0003KZ-BI for emacs-orgmode@gnu.org; Wed, 12 Oct 2011 13:59:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE35N-0005wt-9H for emacs-orgmode@gnu.org; Wed, 12 Oct 2011 13:59:22 -0400 Received: from lo.gmane.org ([80.91.229.12]:60219) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE35N-0005wf-1q for emacs-orgmode@gnu.org; Wed, 12 Oct 2011 13:59:21 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RE35L-0001W5-CV for emacs-orgmode@gnu.org; Wed, 12 Oct 2011 19:59:19 +0200 Received: from p57aad1af.dip.t-dialin.net ([87.170.209.175]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2011 19:59:19 +0200 Received: from Stromeko by p57aad1af.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 12 Oct 2011 19:59:19 +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: emacs-orgmode@gnu.org Dave Abrahams writes: > Generally I'm interested in keeping log entries for my Org items for > historical purposes only (so I like to stash them away in a :LOGBOOK: > drawer), but on a day-to-day basis I'm interested in the very latest log > entry; it tells me about the status of the item. For example, if I've > made a task DELEGATED, the latest log entry usually has the person I've > delegated it to and often a link to the mail message in which I did the > delegation. So I'd like a feature that would leave the latest log entry > outside the drawer, and always file the previous log entry into the > drawer when I make a new one. I'm currently using something similar with two drawers back-to-back: :LOGBOOK: shiny :END: :CLOSED: old cruft :END: That means I have to move old stuff by hand from LOGBOOK to CLOSED (what I really do is move the :END:/:CLOSED: markers normally), but the way I'm using this it hasn't been too much trouble. That said, I've been thinking of extending drawers to have "stops", that is each visibility cycle on a drawer would just pull it out to the next stop. Specifically for timestamps there should be some function to auto-move the stop (current+last week for instance). Presumably if that was made into a more general function one could also just keep a certain number of lines before the stop. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ DIY Stuff: http://Synth.Stromeko.net/DIY.html