From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Clocking repeating tasks Date: Mon, 24 Jan 2011 19:44:34 -0500 Message-ID: <87aaipbyml.fsf@norang.ca> References: <87sjwib9em.fsf@norang.ca> <87ipxeb1ww.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=50906 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhX1U-0003Gf-0K for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 19:44:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhX1S-0005Zc-Oi for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 19:44:39 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:27309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PhX1S-0005ZT-Hm for emacs-orgmode@gnu.org; Mon, 24 Jan 2011 19:44:38 -0500 In-Reply-To: (Jeff Horn's message of "Mon, 24 Jan 2011 19:20:19 -0500") 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: Jeff Horn Cc: Org-mode ml Jeff Horn 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