[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: |
Toby Allsopp |
Subject: |
Re: [emacs-wiki-discuss] Re: Planner on multiple computers |
Date: |
Fri, 01 Apr 2005 08:09:48 +1200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (cygwin) |
On 1 Apr 2005 at 06:55 NZST, Paul Lussier (address@hidden) wrote:
> 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)
[...]
> Any ideas?
Did you leave out the single quote character in "(call-interactively
'planner-create-note-from-task)" perhaps? That's all I can think of,
sorry.
Toby.