all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: gamename <namesagame-usenet@yahoo.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Shell Mode 'cd' Strangeness
Date: Mon, 14 Jan 2008 15:40:26 -0800 (PST)	[thread overview]
Message-ID: <5f5173fe-05da-4c24-a3dc-db819bd12e30@l1g2000hsa.googlegroups.com> (raw)
In-Reply-To: mailman.6128.1200351720.18990.help-gnu-emacs@gnu.org

On Jan 14, 3:01 pm, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 14.01.2008 um 19:54 schrieb gamename:
>
> > However, if I do the exact same thing, but this time pre-pending "./",
> > it will fail:
>
> >> cd ./boojum/foo<tab><enter>
> > bash: cd: ./boojum/fooBr/: No such file or directory
>
> > Any ideas why this would happen?  I have dot (".") in my path, so it
> > should work.   This is on bash on fedora 7.
>
> This is definitely strange. Can you reproduce this also when
> launching GNU Emacs with -Q and removing ~/.emacs_bash and also all
> bash related RC files, including ~/.inputrc? Could be any of these is
> interfering. Is TAB bound to comint-dynamic-complete?
>
> --
> Greetings
>
>    Pete
>
> We also sponsor National Invisible Chronic Illness Awareness Week
> annually in September.
> Join the millions

When I start emacs with "-Q", the problem appears to go away.  If the
subdir "FooBar" is partially spelled, the completion will _not_ happen
unless the leading "F" is upper case. In no case does the shell care
if there is a leading "./" or not.

Example:
tnsfc7:~
> cd boojum/foo<tab><enter>
bash: cd: boojum/foo: No such file or directory
tnsfc7:~
> cd ./boojum/foo<tab><enter>
bash: cd: ./boojum/foo: No such file or directory
tnsfc7:~
> cd boojum/Foo<tab><enter>
tnsfc7:~/boojum/FooBar

tnsfc7:~
> cd ./boojum/Foo<tab><enter>
tnsfc7:~/boojum/FooBar
>

  parent reply	other threads:[~2008-01-14 23:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-14 18:54 Shell Mode 'cd' Strangeness gamename
2008-01-14 20:41 ` Peter Dyballa
     [not found] ` <mailman.6125.1200343298.18990.help-gnu-emacs@gnu.org>
2008-01-14 20:52   ` gamename
2008-01-14 23:01 ` Peter Dyballa
     [not found] ` <mailman.6128.1200351720.18990.help-gnu-emacs@gnu.org>
2008-01-14 23:40   ` gamename [this message]
2008-01-15  9:13     ` Peter Dyballa
     [not found]     ` <mailman.6137.1200388442.18990.help-gnu-emacs@gnu.org>
2008-01-15 11:19       ` gamename

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=5f5173fe-05da-4c24-a3dc-db819bd12e30@l1g2000hsa.googlegroups.com \
    --to=namesagame-usenet@yahoo.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.