zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@brasslantern.com>
To: Adam McNeeney <adam@meliorist.co.uk>, zsh-workers@sunsite.dk
Subject: Re: Directory Name ?Bug
Date: Mon, 15 Apr 2002 15:45:10 +0000	[thread overview]
Message-ID: <1020415154511.ZM9166@candle.brasslantern.com> (raw)
In-Reply-To: <20020415082504.GA29414@meliorist.co.uk>

On Apr 15,  9:25am, Adam McNeeney wrote:
} Subject: Directory Name ?Bug
}
} When I tab complete/type in with appropriate backslashes a directory
} name containing a single ' charocter and a space gets the complaint
} that there is an unmatched ' and brings you back to the prompt.

First question, are you using the "new" completion system (loaded from
your startup files with `compinit') or are you using default completion
(based on the `compctl' command)?

If you're using `compinit', then instead of TAB, type ctrl-X and then a
question mark.  This will dump a debugging trace of the completion attempt
to a file in /tmp.  (There's no such facility with default completion.)

Does the "unmatched" error affect every command after which you attempt to
complete this directory, or only for `cd' commands, or ...?

} The only way that I have found to do anything with this directory is
} to escape appropriate characters _and_ put it in double quotes.

Define "do anything."  Does something go wrong in a case other than tab
completion?  *Exactly* what are you trying to complete -- the directory
name itself, or files inside that directory (where the whole directory
name is already on the command line)?

} e.g.:
} File name: don't stop
} How I tried to refer to it: don\'t\ stop
} How I had to refer to it: "don\'t\ stop"

This is not enough information.  We need to see the entire and exact
string that is present at the zsh prompt right before you press TAB.

} If it's useful, I'm using zsh 4.0.4.

The zsh version number is always essential.

I can't reproduce the behavior you describe, but I really don't know if
I'm trying the same things you are.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


      reply	other threads:[~2002-04-15 15:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-15  8:25 Adam McNeeney
2002-04-15 15:45 ` Bart Schaefer [this message]

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=1020415154511.ZM9166@candle.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=adam@meliorist.co.uk \
    --cc=zsh-workers@sunsite.dk \
    /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 public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).