[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Clocking repeating tasks
From: |
Bernt Hansen |
Subject: |
[Orgmode] Re: Clocking repeating tasks |
Date: |
Mon, 24 Jan 2011 19:44:34 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Jeff Horn <address@hidden> writes:
> PS - Would you mind sharing what you throw in your minimal init file?
> Or do you whip one up for each testing task?
Not at all. I've actually posted my setup a few times on this list
already. I have a permanent 'minimal-emacs' command I run from the bash
prompt. It looks for an optional /tmp/test.el file to load if it exists
so I can put stuff in there for repeatable tests (usually when I want to
bisect something and find the commit that affected whatever I'm looking
for.)
Here's my minimal emacs setup:
~/bin is in my PATH
~/bin/minimal-emacs
--8<---------------cut here---------------start------------->8---
#!/bin/sh
TESTEL=
TESTFILE=/tmp/test.el
if test -e $TESTFILE
then
TESTEL="-l /tmp/test.el"
fi
emacs -q -l ~/minimal.emacs $TESTEL
--8<---------------cut here---------------end--------------->8---
/tmp/test.el
--8<---------------cut here---------------start------------->8---
(setq org-agenda-start-on-weekday 6)
--8<---------------cut here---------------end--------------->8---
~/minimal.emacs
--8<---------------cut here---------------start------------->8---
(add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
(add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
(require 'org-install)
(global-set-key "\C-cl" 'org-store-link)
(global-set-key "\C-ca" 'org-agenda)
(global-set-key "\C-cb" 'org-iswitchb)
--8<---------------cut here---------------end--------------->8---
and that's it. The /tmp/test.el is a leftover from the last time I used
this to report a problem on this list (around Jan 17th)
Regards,
Bernt