[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [emacs-wiki-discuss] Re: Planner on multiple computers
From: |
Paul Lussier |
Subject: |
Re: [emacs-wiki-discuss] Re: Planner on multiple computers |
Date: |
Thu, 31 Mar 2005 13:55:20 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Toby Allsopp <address@hidden> writes:
> I wanted the exact same thing. Here's what I have in my .emacs:
>
> --8<---------------cut here---------------start------------->8---
> ;; Create notes from tasks
> (defun my-planner-create-note-possibly-from-task ()
> "Create a note. If point is on a task then craete a note from that task."
> (interactive)
> (if (planner-current-task-info)
> (call-interactively 'planner-create-note-from-task)
> (call-interactively 'planner-create-note)))
> (define-key planner-mode-map [(control c) (control n)]
> 'my-planner-create-note-possibly-from-task)
> --8<---------------cut here---------------end--------------->8---
Hmmm, I tried adding this, but it resulted in a backtrace:
Debugger entered--Lisp error: (void-variable planner-create-note-from-task)
(call-interactively planner-create-note-from-task)
(if (planner-current-task-info) (call-interactively
planner-create-note-from-task) (call-interactively planner-create-note))
my-planner-create-note-possibly-from-task()
call-interactively(my-planner-create-note-possibly-from-task)
execute-extended-command(nil)
call-interactively(execute-extended-command)
Any ideas?
--
Thanks,
Paul