[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to make Emacs paths in the minibuffer start at root (/) instead
From: |
Bob Proulx |
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 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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