From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: How to make Emacs paths in the minibuffer start at root (/) instead of $HOME (~)? Date: Wed, 26 Mar 2014 18:46:42 -0600 Message-ID: <20140327004642.GA15203@hysteria.proulx.com> References: <5331C7DB.4070907@arlsoft.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1395881217 5989 80.91.229.3 (27 Mar 2014 00:46:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 27 Mar 2014 00:46:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: MBR Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 27 01:47:06 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 1WSyTK-0003Ro-9U for geh-help-gnu-emacs@m.gmane.org; Thu, 27 Mar 2014 01:47:06 +0100 Original-Received: from localhost ([::1]:50968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSyTJ-0006fs-Jp for geh-help-gnu-emacs@m.gmane.org; Wed, 26 Mar 2014 20:47:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59911) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSyT3-0006fW-St for help-gnu-emacs@gnu.org; Wed, 26 Mar 2014 20:46:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WSySx-0001dT-Tw for help-gnu-emacs@gnu.org; Wed, 26 Mar 2014 20:46:49 -0400 Original-Received: from joseki.proulx.com ([216.17.153.58]:42499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WSySx-0001dL-MD for help-gnu-emacs@gnu.org; Wed, 26 Mar 2014 20:46:43 -0400 Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 26D0E21232; Wed, 26 Mar 2014 18:46:43 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 1903C2DCC0; Wed, 26 Mar 2014 18:46:42 -0600 (MDT) Mail-Followup-To: MBR , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <5331C7DB.4070907@arlsoft.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 216.17.153.58 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:96776 Archived-At: MBR wrote: > Is there any way to force Emacs to always start paths in the minibuffer at > "/" instead of starting some of them at "~"? Emacs starts paths at the current directory. If you start emacs in your home then the current directory at the start is your home and it will be ~/. If you start emacs elsewhere then it will be wherever you start emacs. This is done buffer by buffer. So the simplest answer is to start emacs at the "/" filesystem root and then paths will start from there. Alternatively you can simply "cd" to the root after starting emacs. Simply use M-x cd ENTER and then specify where you want the current buffer to change directory. Note again that this is buffer specific. Bob