From: Bernt Hansen <bernt@norang.ca>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Org-mode ml <emacs-orgmode@gnu.org>
Subject: Re: Clocking repeating tasks
Date: Mon, 24 Jan 2011 19:44:34 -0500 [thread overview]
Message-ID: <87aaipbyml.fsf@norang.ca> (raw)
In-Reply-To: <AANLkTinFV--VOPENYs1qGoG4O+bDQC8WW9GMqVF4S3va@mail.gmail.com> (Jeff Horn's message of "Mon, 24 Jan 2011 19:20:19 -0500")
Jeff Horn <jrhorn424@gmail.com> 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
next prev parent reply other threads:[~2011-01-25 0:44 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-24 10:10 Clocking repeating tasks Jeff Horn
2011-01-24 15:37 ` Bernt Hansen
2011-01-24 18:09 ` Jeff Horn
2011-01-24 18:18 ` Bernt Hansen
2011-01-25 0:20 ` Jeff Horn
2011-01-25 0:44 ` Bernt Hansen [this message]
2011-01-25 0:52 ` Matt Lundin
2011-01-25 1:52 ` Jeff Horn
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=87aaipbyml.fsf@norang.ca \
--to=bernt@norang.ca \
--cc=emacs-orgmode@gnu.org \
--cc=jrhorn424@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).