emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[emacs-wiki-discuss] Renaming/changing a task?


From: pll+ew
Subject: [emacs-wiki-discuss] Renaming/changing a task?
Date: Fri, 02 Apr 2004 10:20:20 -0500

Now that I'm getting the hang of this, I have some basic usage 
questions:


- How do I rename a task.
   Do I just edit it, or should I delete it, and start over?
- What is the proper way to delete notes inserted with M-x remember ?
  Just C-k that line?
- Is it okay to intermingle notes via M-x rememer with more free-form
  notes (i.e. paragraphs), or should there be a separate section for 
  that?

Also, there seems to be a minor problem with M-x planner-replan-task 
when the task item in question does not have a default page or 
task-id associated with it.

For example, I created some tasks last week when things were not 
working all that well for me.  The tasks were basic, without task IDs 
or default pages, etc., so just of the form:

 #A0 _ Some description of the task

Trying the replan these results in a backtrace of:

Signaling: (wrong-type-argument stringp nil)
  string-match("^\\[\\[\\([^]]+\\)\\]" nil)
  (if (string-match "^\\[\\[\\([^]]+\\)\\]" name) (setq name (match-string 1 
name)))
  (let ((name wiki-name) lookup) (if (string-match "^\\[\\[\\([^]]+\\)\\]" 
name) (setq name ...)) (if (and emacs-wiki-interwiki-names ... ...) (let ... 
...) (if ... ...) (when ... ...)) (emacs-wiki-link-unescape name))
  (progn (let (... lookup) (if ... ...) (if ... ... ... ...) 
(emacs-wiki-link-unescape name)))
  (unwind-protect (progn (let ... ... ... ...)) (store-match-data match-data))
  (let ((match-data ...)) (unwind-protect (progn ...) (store-match-data 
match-data)))
  (save-match-data (let (... lookup) (if ... ...) (if ... ... ... ...) 
(emacs-wiki-link-unescape name)))
  emacs-wiki-wiki-link-target(nil)
  (equal (emacs-wiki-wiki-link-target (planner-task-plan info)) 
(emacs-wiki-wiki-link-target page-name))
  (if (equal (emacs-wiki-wiki-link-target ...) (emacs-wiki-wiki-link-target 
page-name)) nil (planner-delete-task) (planner-create-task-from-info info nil 
nil nil nil (emacs-wiki-make-link page-name) nil page-name))
  (unless (equal (emacs-wiki-wiki-link-target ...) (emacs-wiki-wiki-link-target 
page-name)) (planner-delete-task) (planner-create-task-from-info info nil nil 
nil nil (emacs-wiki-make-link page-name) nil page-name))
  (if info (unless (equal ... ...) (planner-delete-task) 
(planner-create-task-from-info info nil nil nil nil ... nil page-name)))
  (when info (unless (equal ... ...) (planner-delete-task) 
(planner-create-task-from-info info nil nil nil nil ... nil page-name)))
  (let ((info ...)) (when info (unless ... ... ...)))
  (lambda (page-name) "Change or assign the plan page for the current 
task.\nPAGE-NAME is the new plan page for the task. 
Use\n`planner-copy-or-move-task' if you want to change the date." (interactive 
(list ...)) (let (...) (when info ...)))("LapTops")
  call-interactively(planner-replan-task)
  command-execute(planner-replan-task t)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)

Thanks,
-- 
Seeya,
Paul

GPG Key fingerprint = 1660 FECC 5D21 D286 F853  E808 BB07 9239 53F1 28EE

         If you're not having fun, you're not doing it right!






reply via email to

[Prev in Thread] Current Thread [Next in Thread]