emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Nicholas S-A <novanasa@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Remind functionality?
Date: Sun, 25 Jan 2009 22:17:16 +0100	[thread overview]
Message-ID: <68633AE9-8E49-46A8-962C-163E26AD421D@uva.nl> (raw)
In-Reply-To: <20090125163605.GA20825@Edwards.local>

Hi Nicolas,

On Jan 25, 2009, at 5:36 PM, Nicholas S-A wrote:

> Hi,
>    I am attempting to use org-mode as a replacement for remind. I
> currently have it set up with the following in my .bash_profile:
>
> emacs --batch --no-init-file -q  -l ~/.emacs.slim --eval "(progn
> (org-agenda-list) (princ (buffer-string)))" 2> /dev/null
>
> Where ~/.emacs.slim is a very small init file which essentially just
> loads org-mode and sets the agenda alist.
>
> This works great, but I have a few qualms:
> 1) Is there any way to just load the agenda part of org-mode? The
> current exec time of the line above is around 1s, compared to about . 
> 1s
> for remind. If not, are there any other tricks to reduce emacs startup
> time?

It is unlikely that this can be make faster in a significant way.
Why is it a problem????  Even if it takes 10 seconds?
Ah, I see, you do this in every new shell??????  This sounds
unnecessary, to say the least.
Maybe you have to explain better what exactly your are doing....

> If not, I will probably just write an org-agenda clone in some
> other language to reduce the overhead.
> 2) Can I change the format of the Deadline lines to be more obvious by
> adding **** Deadline: xxx ****, but *only* in the .emacs.slim executed
> version? princ doesn't print in color, so I have to scan through to  
> see
> whether something is a deadline or a scheduled item.

No, this is not possible.  The only handle you have is the variable
org-agenda-deadline-leaders, maybe you can do something with this.

- Carsten

  reply	other threads:[~2009-01-25 21:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-25 16:36 Remind functionality? Nicholas S-A
2009-01-25 21:17 ` Carsten Dominik [this message]
2009-01-25 23:32   ` Nicholas S-A
2009-01-26  4:36     ` Carsten Dominik
2009-01-26 18:14       ` Oliver Charles
2009-01-26  8:31     ` Taru Karttunen
2009-01-26 16:37       ` Nicholas S-A
2009-01-27 11:27         ` Daniel Clemente

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=68633AE9-8E49-46A8-962C-163E26AD421D@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=novanasa@gmail.com \
    /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).