Hadron <[EMAIL PROTECTED]> writes:

> Could someone please advise on how best to change the current
> muse/planner project? I have defined two in my
> muse-project-alist. Should I define a function to change
> planner-project? Is there not an function which can list current
> available projects for selection?
>
> Again, thanks for any help and information.

This should be relatively easy to get working.  For now, the best way
to accomplish this is to do something like:

(global-set-key (kbd "C-c p 1")
                (lambda () (interactive (setq planner-project "Plans"))))
(global-set-key (kbd "C-c p 2")
                (lambda () (interactive (setq planner-project "Plans2"))))

And then hit `C-c p 1' to switch to the first planner project, and
`C-c p 2' to switch to the second.

Eventually it might be nice if we make a `planner-switch-project'
function that parses muse-project-alist for every entry that has
:major-mode of 'planner-mode, give the user a list to choose from
interactively, and then just (setq planner-project <project-name>).

I think that should be all that's required to implement this.

-- 
Michael Olson -- FSF Associate Member #652 -- http://www.mwolson.org/
Interests: Lisp, text markup, protocols -- Jabber: mwolson_at_hcoop.net
  /` |\ | | | Projects: Emacs, Muse, ERC, EMMS, Planner, ErBot, DVC
 |_] | \| |_| Reclaim your digital rights by eliminating DRM.
      See http://www.defectivebydesign.org/what_is_drm for details.

Attachment: pgpeW3UAtPTUE.pgp
Description: PGP signature

_______________________________________________
Planner-el-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/planner-el-discuss

Reply via email to