From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Damian Newsgroups: gmane.emacs.help Subject: Re: Working with different projects in Emacs Date: Wed, 8 Apr 2009 20:21:38 +0200 Message-ID: <47a330c50904081121y506d6105s649b49692991421e@mail.gmail.com> References: <47a330c50904080550s4e5f2b3ck43b765fc2b7cd802@mail.gmail.com> <002301c9b863$0aa35840$c2b22382@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239215016 14021 80.91.229.12 (8 Apr 2009 18:23:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2009 18:23:36 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 20:24:54 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 1LrcRD-0002u4-DY for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 20:23:51 +0200 Original-Received: from localhost ([127.0.0.1]:38889 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrcPo-00032J-SV for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Apr 2009 14:22:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LrcPP-00031O-IE for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 14:21:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LrcPL-000302-Ag for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 14:21:59 -0400 Original-Received: from [199.232.76.173] (port=55314 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LrcPL-0002zy-5A for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 14:21:55 -0400 Original-Received: from mail-fx0-f166.google.com ([209.85.220.166]:50833) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LrcPK-0002NN-QK for help-gnu-emacs@gnu.org; Wed, 08 Apr 2009 14:21:55 -0400 Original-Received: by fxm10 with SMTP id 10so274487fxm.42 for ; Wed, 08 Apr 2009 11:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=59/fGoqmzKOol4hc8Im9YZcEcqxFbZskHvRxFTng0yA=; b=wQk5ea1AeAxd6axzE1HM8rhl7yMQRj9DjNCG8RQtYcBRVhVelr9IJT/+q6NvL9yAZt 7dzLhKbNjwkvPumu3ZXvWtxxfr2QyaWMcquAELDTBbPN3Xwy9rreq7R+k15g1XvfFuXi POkEOmxKo2pLfDHeju1ZQVafG8esr/reu6ZBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=aGYtkBFvrGGD0LrrlgAQ0c91vWfpGOSvLU/1N4+dwvnuywcpPP+F51b8uWzAykjcvM CiITx/pzzhIR+JMre/AtfGRAHrh2Cw8OZ6ZqSrA2ADktFzNf1rITZ44HVxrKaIvsQ+1g sV25b/KlePWZokmd9+YINKNPNxED8mRn1jdTA= Original-Received: by 10.223.123.129 with SMTP id p1mr507358far.29.1239214913392; Wed, 08 Apr 2009 11:21:53 -0700 (PDT) In-Reply-To: <002301c9b863$0aa35840$c2b22382@us.oracle.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63584 Archived-At: Hello Drew, > 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. The problem I have with this solution, is that if I open a file in some other directory, the working directory is changed again :( > 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. And here it seems like one has to perform a lot of steps just to get the autocompletion of the files for a project. But probably I'm not getting it right Thanks for your answer, Damian.