|
From: | Alex Bennée |
Subject: | Re: I'm looking for a project management system for Emacs |
Date: | Thu, 03 Apr 2014 14:14:11 +0100 |
User-agent: | mu4e 0.9.9.6pre2; emacs 24.3.50.5 |
Robert Thorpe <rt@robertthorpeconsulting.com> writes: > Marcin Borkowski <mbork@wmi.amu.edu.pl> writes: > >> A toolbox of features to combine into a tailor-made solution is fine >> for me. Especially that my requirements might not be exactly common >> (especially the scattering of the "project" files around many >> directories). > > You could write some simple functions like this: > > (defun project1 () > (interactive) > (find-file "project1/*" t) > (find-file "elsewhere/randomfile.txt") > (find-file "...")) > > (defun project2 () > (interactive) > (find-file "project2/*" t) > (find-file "project1/foo.txt")) > <snip> That's sort of the approach eproject takes. You define a generic project template and then it can apply the same rules to any instance of that project. e.g: ;; QEMU (define-project-type qemu (generic-git) (look-for "qemu-log.c") :c-style "qemu-c-style") (add-hook 'qemu-project-file-visit-hook 'my-eproj-is-c) (add-hook 'qemu-project-file-visit-hook 'whitespace-mode) -- Alex Bennée
[Prev in Thread] | Current Thread | [Next in Thread] |