zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: zsh-workers@sunsite.dk
Subject: Re: up-line-or-search question
Date: Wed, 27 Mar 2002 10:19:23 -0800 (PST)	[thread overview]
Message-ID: <Pine.LNX.4.44.0203271004020.17952-100000@ns1.sodaware.com> (raw)
In-Reply-To: <20020327180029.GA20166@logica.com>

On Wed, 27 Mar 2002, Oliver Kiddle wrote:

> On Wed, Mar 27, 2002 at 04:30:03PM +0000, Bart Schaefer wrote:
> >
> > Not exactly -- __searching will get cleared as soon as a search fails and
> > a simple up/down motion is done -- but you're right, the test should be
> > [[ $__searching = *-line-or-search && $LASTWIDGET = *-line-or-search ]]
> > or something along those lines.
>
> I'm not quite sure what that is trying to achieve.

It's just treating searches in both directions as equivalent for purposes
of whether to re-use the saved cursor position (or string) or to start a
new search with the current $LBUFFER.

> I also can't remember how I got it not to work in the first place
> because it is now.

Search up successfully, and then immediately try to search down again?

> Okay, I'll probably put the push-line-or-edit in when enabled with
> a style too then. Could we maybe agree a common prefix for the
> contexts of the styles in Functions/Zle - ':zle:' maybe?

E.g., change :predict to :zle:predict ?

I wish we'd thought about that sooner ... it's not a bad idea, but it
means changing predict-on, incremental-complete-word, etc. ... maybe
we can use the excuse of differentiating complex stateful widgets from
simple zle functions.


  reply	other threads:[~2002-03-27 18:19 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1020227161622.ZM10705@candle.brasslantern.com>
2002-02-27 16:29 ` Peter Stephenson
2002-02-27 16:56   ` Bart Schaefer
2002-02-27 17:07   ` Oliver Kiddle
2002-02-27 17:29     ` Peter Stephenson
2002-02-27 18:03       ` Bart Schaefer
2002-03-21 22:56   ` Peter Stephenson
2002-03-26 14:30     ` Oliver Kiddle
2002-03-26 15:48       ` Bart Schaefer
2002-03-26 19:23         ` Oliver Kiddle
2002-03-26 19:51           ` Bart Schaefer
2002-03-27 12:59             ` Oliver Kiddle
2002-03-27 16:30               ` Bart Schaefer
2002-03-27 18:00                 ` Oliver Kiddle
2002-03-27 18:19                   ` Bart Schaefer [this message]
2002-03-27 19:35                     ` Oliver Kiddle
2002-03-28 10:01                       ` Sven Wischnowsky
2002-04-04 11:46                         ` Oliver Kiddle
2002-04-09  9:51                           ` Sven Wischnowsky
2002-04-16  7:47                           ` Sven Wischnowsky

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=Pine.LNX.4.44.0203271004020.17952-100000@ns1.sodaware.com \
    --to=schaefer@brasslantern.com \
    --cc=okiddle@yahoo.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).