all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: cd to the user's home dir
Date: Sun, 18 May 2014 19:02:31 -0600	[thread overview]
Message-ID: <20140519010231.GA7698@hysteria.proulx.com> (raw)
In-Reply-To: <87ppjaobfu.fsf@gmail.com>

Andrey Tykhonov wrote:
> Bob Proulx writes:
> >   Change default directory: ~/
> >
> > If I type in ~someuser/somepath that is expanded appropriately and
> > everything works fine.
> 
> Oh, I'm sorry! I just tried ~someuser/ and it does really works! Before
> I've tried just ~som and hit TAB after that. I expected appropriate
> completion but didn't get it and decided that that doesn't work at all,
> also I tried cd ~someuser RET (without ending slash)...
> 
> Does completion work for you if you type ~someu TAB ?

Yes.  Name completion with TAB works for me.  I am running on a Debian
system.

But playing with it I find that it doesn't work exactly the same as
find-file completion.  If I have "~/" and I try "~/~rooTAB" it will
not complete to ~root/.  I must backup first.  "~rooTAB" works.  This
is slightly different than find-file.  In find-file a slash or tilde
immediately starts a new path.  In the graphical client it greys out
the preceding path.  I think cd is enough different from find-file
that it would classify as a bug against cd because of the
inconsistency.

Bob



  parent reply	other threads:[~2014-05-19  1:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1577.1400447529.1147.help-gnu-emacs@gnu.org>
2014-05-18 21:36 ` cd to the user's home dir Emanuel Berg
     [not found]   ` <87bnuupxib.fsf@gmail.com>
2014-05-18 21:56     ` Emanuel Berg
2014-05-18 22:58   ` Andrey Tykhonov
2014-05-18 23:31     ` Bob Proulx
2014-05-19  0:32       ` Andrey Tykhonov
2014-05-19  0:54         ` Drew Adams
2014-05-19  1:02         ` Bob Proulx [this message]
2014-05-19  1:27           ` Drew Adams
2014-05-19  6:07     ` Andreas Röhler
2014-05-19 14:50       ` Eli Zaretskii
     [not found]   ` <mailman.1584.1400453956.1147.help-gnu-emacs@gnu.org>
2014-05-18 23:12     ` Emanuel Berg
2014-05-18 21:11 Andrey Tykhonov

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=20140519010231.GA7698@hysteria.proulx.com \
    --to=bob@proulx.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.