zsh-workers
 help / color / mirror / code / Atom feed
From: pacman@cqc.com
To: zsh-workers@math.gatech.edu
Subject: Re: Oh my God! They killed completion! YOU BASTARDS!
Date: Thu, 7 May 1998 13:45:54 -0500 (EST)	[thread overview]
Message-ID: <19980507184554.22535.qmail@defiant.cqc.com> (raw)
In-Reply-To: <199805070858.JAA01558@taos.demon.co.uk> from "Andrew Main" at May 7, 98 09:58:16 am

Andrew Main wrote:
>
>pacman@cqc.com wrote:
>
>There was a policy decision made in 3.1.1 that, generally speaking, the
>clever interactive options should be enabled by default.

For new features, that might make sense. For things which are variations on
an existing feature, I'm not so sure.

>                                                          It does change
>the default behaviour, but it doesn't affect scripts (where compatibility
>really matters), and the new behaviour is usually preferred.

It broke a script in my head, which says "Left little finger pushes tab. Eyes
move to bottom of screen to find cursor". My brain-script has been working
that way since zsh 2.5 or so, and before that, it worked that way with tcsh.

>
>The Etc/NEWS file does list new options.  These options being on by
>default isn't listed, but this is a beta version, and it is listed in
>the ChangeLog.

OK, now I have a roadmap for upgrade: read that new option list and then
check their description, and turn them off if you're married to the old
behavior.

>
>>17:01 6 londo /home/pacman/src %echo $ZSH_ <--\
>>ZSH_NAME     ZSH_VERSION                      |
>>                              /---------------/
>>My cursor is sitting HERE! --/ WHAT THE HELL IS THAT?
>
>ALWAYS_LAST_PROMPT.  One of my favourite features.  It means that you
>don't waste screen space with old completion lists -- new lists visibly
>replace the old one -- and the command line doesn't jump around, so
>it's easier to keep your eyes on what you're editing.  This has been
>available since 2.5.

You make it sound so nice, but I'm really used to knowing that everything
after my prompt is part of the command I'm typing. Considering multi-line,
ZLE, there really is no clear separator between what is part of the command
line, and what is just some other stuff after it, except that you can't move
the cursor down there. Even ^R and ^L treat the completion list as if it was
part of the command line! Ugh!

>
>I'm glad to see I'm not the only person that gets this emotional about
>computer programs.

You should have seen me. I was pounding my desk and straining to keep from
screaming.

>
>But ALWAYS_LAST_PROMPT is right.  It's SO right.  So vastly right that
>having to use bash purees my brain when it puts the completion list in
>the wrong place.

That's funny, the first thing I thought when I saw it happen was "Oh no, this
must be some crazy bash feature. They're cloning bash now."

>
>"unsetopt alwayslastprompt".

What I tried was "setopt noalwayslastprompt" and it didn't seem to have an
effect. Of course now, after I complain about it, it does. I should have
saved the history from that test, because now I'll never know what was
happening. OK, I'll revise my complaint: FAQ 4.3, which lists all the
completion-related options, doesn't have alwayslastprompt.

>You'll get used to it, if you use it.  I can understand how it might be
>confusing when unexpected.
>

Quite.

More minor things I noticed while playing around:

With 3.0, there is a default compctl for setopt itself. In 3.1, it seems to
be gone. What do I have to do, pick apart the compctl example file and add
lots of stuff to /etc/zshrc, just to make 3.1 catch up with 3.0's default
completion awareness?

With automenu on, echo $ZSH_<TAB><TAB> shows ZSH_NAME with a slash after it.
Why's that?

-- 
Alan Curry


  parent reply	other threads:[~1998-05-07 18:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-05-07  5:14 pacman
1998-05-07  8:58 ` Andrew Main
1998-05-07 16:39   ` Bart Schaefer
1998-05-07 16:47     ` Andrew Main
1998-05-17  1:58       ` TGAPE!
1998-05-17  9:19         ` Bart Schaefer
1998-05-18  5:12         ` Zoltan Hidvegi
1998-05-07 18:45   ` pacman [this message]
1998-05-08  8:59     ` Andrew Main
1998-05-07 18:08 ` Andrew R. Large
1998-05-07  9:30 Sven Wischnowsky
1998-05-07  9:59 ` Peter Stephenson

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=19980507184554.22535.qmail@defiant.cqc.com \
    --to=pacman@cqc.com \
    --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).