zsh-workers
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: Re: Compctl fixes & a query
Date: Tue, 18 Jul 1995 22:31:42 +0100 (BST)	[thread overview]
Message-ID: <12476.199507182131@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <3430.9507181027@pyro.swan.ac.uk> from "P.Stephenson@swansea.ac.uk" at Jul 18, 95 11:27:40 am

>I'm not keen on this either, it's just too long for a short cut.
>Furthermore, on this keyboard ~ and + are at opposite ends of the
>keyboard.  I can do both with a left shift or right shift but it's a
>little messy.  I'm not very accurate with touch-typing the top row and
>this maximises the difficulty.

Yes.  I suppose it will have to be ~n rather than ~+n, or maybe both
could be available.  It would just be very neat to have only ~+whatever
and ~-whatever treated specially.

>It shouldn't be too cumbersome to check for a row of numbers followed
>by either a slash or the end of the word.  Presumably named
>directories are going to have to take priority anyway in case there
>are numeric user names (and on the basis that if you put it there, you
>want it back again).

There's a slight problem there if a numeric username clashes with a
directory stack reference.  Unless anyone has any major objections,
then when the next testing/beta release is made I'll code the following
semantics:

o It will not be possible to add a directory name starting with +, - or
  a digit to the hash table;

o When a directory is looked up for %~ prompt sequences and similar,
  only entries in the hash table will be used (this is actually what is
  currently done);

o When a ~ sequence is expanded, anything starting with +, - or a digit
  will not be looked up in the hash table, though the empty sequence
  (i.e. ~/whatever) will be;

o ~+ and ~- will be as they are now, ~n will refer to what =n currently
  refers to regardless of PUSHD_MINUS (is this what was meant by
  "absolute" stack references?), and (this is the only really new bit,
  does anyone want it?) ~+n and ~-n will refer to directory stack
  entries in accordance with PUSHD_MINUS.

-zefram


  parent reply	other threads:[~1995-07-18 21:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-07-16 14:33 Zefram
1995-07-17 10:08 ` P.Stephenson
1995-07-17 17:17   ` Zefram
1995-07-17 18:17     ` Vinnie Shelton
1995-07-17 19:12       ` Zefram
1995-07-18 10:27     ` P.Stephenson
1995-07-18 14:29       ` Mark Borges
1995-07-18 21:31       ` Zefram [this message]
1995-07-17 13:15 ` Vinnie Shelton

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=12476.199507182131@stone.dcs.warwick.ac.uk \
    --to=a.main@dcs.warwick.ac.uk \
    --cc=zsh-workers@math.gatech.edu \
    /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).