From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex =?utf-8?Q?Benn=C3=A9e?= Newsgroups: gmane.emacs.help Subject: Re: I'm looking for a project management system for Emacs Date: Thu, 03 Apr 2014 14:14:11 +0100 Message-ID: <87a9c2sggs.fsf@bennee.com> References: <20140329192129.35d65066@aga-netbook> <87ioqr42gg.fsf@robertthorpeconsulting.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1396532079 14705 80.91.229.3 (3 Apr 2014 13:34:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 13:34:39 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Marcin Borkowski To: Robert Thorpe Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 15:34:32 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WVhT5-0004vt-Sn for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 15:14:08 +0200 Original-Received: from localhost ([::1]:43969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVhT5-0004lW-Ci for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 09:14:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVhSo-0004kp-Hg for help-gnu-emacs@gnu.org; Thu, 03 Apr 2014 09:13:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVhSj-0001Lb-RL for help-gnu-emacs@gnu.org; Thu, 03 Apr 2014 09:13:50 -0400 Original-Received: from static.88-198-71-155.clients.your-server.de ([88.198.71.155]:51343 helo=socrates.bennee.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVhSj-0001K5-M6 for help-gnu-emacs@gnu.org; Thu, 03 Apr 2014 09:13:45 -0400 Original-Received: from localhost ([127.0.0.1] helo=zen.linaro.local) by socrates.bennee.com with esmtp (Exim 4.80) (envelope-from ) id 1WVhT6-0004SQ-EQ; Thu, 03 Apr 2014 15:14:08 +0200 User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.5 In-reply-to: <87ioqr42gg.fsf@robertthorpeconsulting.com> X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: kernel-hacker@bennee.com X-SA-Exim-Scanned: No (on socrates.bennee.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 88.198.71.155 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:96933 Archived-At: Robert Thorpe writes: > Marcin Borkowski 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")) > 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