From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell Adams Subject: Re: Timeline View Ouput for a Project Date: Fri, 15 Jan 2010 09:50:24 -0600 Message-ID: <20100115155024.GD21878@thinkpad.adamsinfoserv.com> References: <20100115132415.GC27823@thinkpad.adamsinfoserv.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVoRa-0002KN-FQ for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:50:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVoRX-0002J6-W1 for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:50:37 -0500 Received: from [199.232.76.173] (port=37641 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVoRX-0002J0-S1 for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:50:35 -0500 Received: from squirtle.drak.net ([72.52.144.201]:45367) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NVoRX-0000VB-Eo for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 10:50:35 -0500 Received: from 206.180.155.43.adsl.hal-pc.org ([206.180.155.43] helo=localhost) by squirtle.drak.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1NVoRM-0007iF-VG for emacs-orgmode@gnu.org; Fri, 15 Jan 2010 09:50:25 -0600 Content-Disposition: inline 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: Emacs-orgmode mailing list On Fri, Jan 15, 2010 at 09:38:39AM -0600, Xiaolong Tang wrote: > Certainly inserting an (inactive) timestamp in the case as you > mentioned is necessary (to me). Your code is preferred, of course, > if you had time. Add this to your .emacs, and F9 will insert an inactive timestamp for "now". C-u C-c . RET is four keystrokes, this is a single. Its a great shortcut. Forgive the duplication, I think I posted this twice to the ML in the last six months. ;; Insert immediate timestamp (define-key global-map (kbd "") '(lambda () (interactive) (when (eq major-mode 'org-mode) (org-insert-time-stamp nil t t) (insert "\n")))) > Yes, you are correct. Yet I have a few questions. > > 1. The agenda view with logbook-mode enabled does not show the > deadline for a project in some cases. For example, I scheduled a > project on Monday January 11, and set up its deadline, say, March > 20. Thus, the original headline looks like: > > * TODO XXXXXX > SCHEDULED: <2010-01-11 Mon> DEADLINE: <2010-03-20 Sat> > > The view output, however, does not show the deadline. I guess that > the logbook-mode wold not show just because the deadline is far away > from today, and it in principle only shows those happenings. Am I > right? I just checked my agenda in logbook mode, I do see scheduled and deadline items, but only on *today*. It won't tell you if you met them. > 2. Generally creating the agenda view works for all agenda > files. So, in case that one want to create the view for an org file, > is there any efficient way to do that? I have not figured out a > satisfying method. Do you have any comment on this? When I'm working in a project file, I'll call agenda and restrict it to the current file (C-c a 1 a). I don't typically add a project file to my main agenda list. This also helps with exporting, a customer doesn't need to see *my* agenda, just the project items. > 3. As you mentioned below, you export the view to HTML. How do you > get this done? http://orgmode.org/manual/Exporting-Agenda-Views.html#Exporting-Agenda-Views I do not setup export views for C-c a e, I don't do them often enough. I'll just goto the logbook view, and C-x C-w. Alternatively I think you can just call M-x htmlize-buffer. Enjoy! ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3