From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Working with different projects in Emacs Date: Wed, 8 Apr 2009 08:59:46 -0700 Message-ID: <002301c9b863$0aa35840$c2b22382@us.oracle.com> References: <47a330c50904080550s4e5f2b3ck43b765fc2b7cd802@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239206463 15727 80.91.229.12 (8 Apr 2009 16:01:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2009 16:01:03 +0000 (UTC) To: "'Damian'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 18:02:20 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LraE5-00079B-TR for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 18:02:10 +0200 Original-Received: from localhost ([127.0.0.1]:41251 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LraCh-0007Aa-Ct for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 12:00:43 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LraC5-000797-9Q for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 12:00:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LraC0-00075f-9f for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 12:00:04 -0400 Original-Received: from [199.232.76.173] (port=40959 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LraC0-00075X-3k for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 12:00:00 -0400 Original-Received: from acsinet12.oracle.com ([141.146.126.234]:52561) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LraBz-0003YJ-GX for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 11:59:59 -0400 Original-Received: from rgminet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by acsinet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n38FxNZn004541 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 8 Apr 2009 15:59:24 GMT Original-Received: from acsmt705.oracle.com (acsmt705.oracle.com [141.146.40.83]) by rgminet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n38Fxted031416; Wed, 8 Apr 2009 15:59:57 GMT Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 08 Apr 2009 15:59:47 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <47a330c50904080550s4e5f2b3ck43b765fc2b7cd802@mail.gmail.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: Acm4W5Dwc51FogKqSUyENzNRrylA/QABb8gw X-Source-IP: acsmt705.oracle.com [141.146.40.83] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090209.49DCC9F6.02EC:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63571 Archived-At: > I work in several projects. Every project has a list of files > associated to it (for instance several source code files or latex > files). I would like that every time I start working in one of these > projects, all the files could be found quickly without specifying the > whole path. > > The filesets almost serve this purpose, but the problem is that they > open all the files in the fileset, and I just want to be able to > auto-complete its filename (when I open a file using C-x C-f). > > File cache is not an option, since I need several "caches" for each > project and I don't want to load them all when emacs starts. > > And I'm unable to understand Icicles documentation (and Icicles is > more powerful than the tool I'm looking for). > > Until now, I was able to find a solution for every problem (in the > good sense) in emacs, but for this one I cannot find one. > What can I do? If all of the files for a given project are in or under the same directory, then moving (e.g. `cd') to that directory should let you complete file names there. IOW, `M-x cd', which sets `default-directory', which is the directory, by default, for file-name completion. And you can easily write a command that takes you directly to your project directory, so you don't have to enter it each time. If the files of a project are in multiple directories, then you can use Dired, passing it the file list explicitly. Then mark specific files in that Dired buffer and then act on the marked files.