emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Russell Adams <RLAdams@AdamsInfoServ.Com>
To: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Timeline View Ouput for a Project
Date: Fri, 15 Jan 2010 09:50:24 -0600	[thread overview]
Message-ID: <20100115155024.GD21878@thinkpad.adamsinfoserv.com> (raw)
In-Reply-To: <m24omnqsxs.wl%xiaolong.snake@gmail.com>

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 "<f9>")
  '(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

      reply	other threads:[~2010-01-15 15:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-15  7:36 Timeline View Ouput for a Project Xiaolong Tang
2010-01-15 13:24 ` Russell Adams
2010-01-15 15:38   ` Xiaolong Tang
2010-01-15 15:50     ` Russell Adams [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100115155024.GD21878@thinkpad.adamsinfoserv.com \
    --to=rladams@adamsinfoserv.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).