From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-users@sunsite.dk
Subject: Re: Problem with 'predict-on'
Date: Thu, 25 Mar 2004 03:17:46 +0000 [thread overview]
Message-ID: <1040325031746.ZM16573@candle.brasslantern.com> (raw)
In-Reply-To: <1ox5qp2em0zf0.dlg@thorstenkampe.de>
On Mar 24, 9:25pm, Thorsten Kampe wrote:
}
} * Bart Schaefer (2004-03-24 17:45 +0100)
}
} But I think the real culprit is *toggle*. It should turn off
} predict-on when predict-on doesn't make sense. But toggle turns off
} predict-on as soon as I type my first character (and that *really*
} doesn't make sense)
Hmm. Try this:
Index: Functions/Zle/predict-on
===================================================================
retrieving revision 1.2
diff -c -r1.2 predict-on
--- predict-on 15 Mar 2003 17:43:15 -0000 1.2
+++ predict-on 25 Mar 2004 03:16:14 -0000
@@ -56,7 +56,7 @@
else
LBUFFER="$LBUFFER$KEYS"
if [[ $LASTWIDGET == (self-insert|magic-space|backward-delete-char) ||
- $LASTWIDGET == (complete-word|accept-*|predict-*) ]]
+ $LASTWIDGET == (complete-word|accept-*|predict-*|zle-line-init) ]]
then
if ! zle .history-beginning-search-backward
then
Hey, PWS! I think zle-line-init should not put itself in LASTWIDGET.
prev parent reply other threads:[~2004-03-25 3:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-24 4:18 Thorsten Kampe
2004-03-24 16:45 ` Bart Schaefer
2004-03-24 20:25 ` Thorsten Kampe
2004-03-25 3:17 ` 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=1040325031746.ZM16573@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=zsh-users@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).