From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sumit Narayan Newsgroups: gmane.emacs.help Subject: Default compile directory Date: Mon, 17 Aug 2009 17:12:49 -0400 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1250555967 32092 80.91.229.12 (18 Aug 2009 00:39:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Aug 2009 00:39:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 18 02:39:22 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 1MdCjQ-00062E-FX for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Aug 2009 02:39:20 +0200 Original-Received: from localhost ([127.0.0.1]:37489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdCjP-0003m5-QR for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Aug 2009 20:39:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Md9Vm-00079V-NV for help-gnu-emacs@gnu.org; Mon, 17 Aug 2009 17:13:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Md9Vm-00078a-3S for help-gnu-emacs@gnu.org; Mon, 17 Aug 2009 17:13:02 -0400 Original-Received: from [199.232.76.173] (port=34204 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Md9Vm-00078K-0I for help-gnu-emacs@gnu.org; Mon, 17 Aug 2009 17:13:02 -0400 Original-Received: from ey-out-1920.google.com ([74.125.78.149]:4956) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Md9Vl-0001q0-NN for help-gnu-emacs@gnu.org; Mon, 17 Aug 2009 17:13:01 -0400 Original-Received: by ey-out-1920.google.com with SMTP id 5so930033eyb.24 for ; Mon, 17 Aug 2009 14:12:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=sCLHNVkwZCXm4hJmEMF30gX49mrEB4jWQCdKrnuXveM=; b=pPyn4CA4pilu4I/WuGq1B3B1AQHyIdwdfEq6xZ8FTo3zduacn+xfxXRptwUtE8/e6y qhliNpM+oNZwJktfb1dEZK+bvRnfM1gNBHKA0oUChqggV1AKP3M8Fy5g1gdwZ9zC9m1j taURt1mZCnxMYvGhSUHCcpy8qcVXjM6mSQxQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=Y7LINnGMBXeC5VeZ4Sl5GaR88kuYeIXuDYqOp6N+GyU7R+BzAImuqCtXawlNuf5SJV NTagae2kcbhDCPzUPMWJJjVW+KUWnSGRiymN6RMubxfQJR2f87D5FL3dhuLghyzZKBPj 3/wGMxrATaBaOWgQ9olsqLoiexAKBXC5Dd6Gk= Original-Received: by 10.210.71.12 with SMTP id t12mr1480747eba.24.1250543579715; Mon, 17 Aug 2009 14:12:59 -0700 (PDT) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Mon, 17 Aug 2009 20:34:29 -0400 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:67232 Archived-At: Hi, Is there any way to set default compile directory? The problem: I have a many sub-folders in my project and when I edit a file deep inside subfolders and do M-x compile, I end up running make in that subfolder, instead of the root folder. Is there any way for Emacs to always run compile in the default folder? One thing I figured was to change default compile command to be: cd ; make. Is that the only/best way? Thanks. Sumit.