all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: MBR <mbr@arlsoft.com>
To: help-gnu-emacs@gnu.org
Subject: How to make Emacs paths in the minibuffer start at root (/) instead of $HOME (~)?
Date: Tue, 25 Mar 2014 14:15:55 -0400	[thread overview]
Message-ID: <5331C7DB.4070907@arlsoft.com> (raw)

There are times when I'd like to make an Emacs buffer's current 
directory available to be pasted into other applications.  I can do this 
by typing:

    C-x C-f              (this asks what file you want to open, and puts
    the current directory in the mini-buffer with the cursor at the end)
    C-a (move to the beginning of the minibuffer)
    C-k (kill the contents of the minibuffer, and as a side effect make
    the line you just killed available to be pasted)
    C-g (cancel the file open operation)

A bit of a kludge, I know, but it works.  Except that for subdirectories 
of my home directory the path starts at "~" instead of "/", and some of 
the applications I might want to paste it into don't understand "~".

Is there any way to force Emacs to always start paths in the minibuffer 
at "/" instead of starting some of them at "~"?

    Mark Rosenthal
    mbr@arlsoft.com




             reply	other threads:[~2014-03-25 18:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-25 18:15 MBR [this message]
2014-03-26  0:11 ` How to make Emacs paths in the minibuffer start at root (/) instead of $HOME (~)? Christopher Howard
     [not found] ` <mailman.18211.1395792654.10748.help-gnu-emacs@gnu.org>
2014-03-26  1:23   ` Joost Kremers
2014-03-27  0:46 ` Bob Proulx

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5331C7DB.4070907@arlsoft.com \
    --to=mbr@arlsoft.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.