zsh-users
 help / color / mirror / code / Atom feed
* 'zstyle ':predict' verbose true' hangs on zsh 4.2.1
@ 2004-08-17 23:04 Thorsten Kampe
  2004-08-18  1:14 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Thorsten Kampe @ 2004-08-17 23:04 UTC (permalink / raw)
  To: zsh-users

"zstyle ':predict' verbose true" doesn't work with the newest zsh. The
cursor goes into the "verbose area" (beneath the prompt) and makes the
prompt look like the shell "hangs" although I'm still able to type and
execute normally. The verbose messages don't show at all...


Thorsten


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'zstyle ':predict' verbose true' hangs on zsh 4.2.1
  2004-08-17 23:04 'zstyle ':predict' verbose true' hangs on zsh 4.2.1 Thorsten Kampe
@ 2004-08-18  1:14 ` Bart Schaefer
  2004-08-18 17:50   ` Thorsten Kampe
  0 siblings, 1 reply; 4+ messages in thread
From: Bart Schaefer @ 2004-08-18  1:14 UTC (permalink / raw)
  To: zsh-users

On Wed, 18 Aug 2004, Thorsten Kampe wrote:

> "zstyle ':predict' verbose true" doesn't work with the newest zsh.

schaefer<509> echo $ZSH_VERSION
4.2.1-dev-1

If from here I type ^X^Z, I see

schaefer<510> _
predict-on

(with the cursor at the underscore).  Type ^Z and I get

schaefer<510> _
predict-off

Type ^X^Z again, then type "echo" and I see

schaefer<510> echo $ZSH_VERSION
predict-on

(with the cursor on the space after "echo").  Type ^B^B^H and I get

schaefer<510> eho $ZSH_VERSION
predict-off

(with the cursor on the 'h').

There are a lot of things about predict-on et al. that could be improved
with some of the newer zsh features, but this bit is working for me.  Can
you narrow it down to any other settings?


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'zstyle ':predict' verbose true' hangs on zsh 4.2.1
  2004-08-18  1:14 ` Bart Schaefer
@ 2004-08-18 17:50   ` Thorsten Kampe
  2004-08-20  8:29     ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Thorsten Kampe @ 2004-08-18 17:50 UTC (permalink / raw)
  To: zsh-users

* Bart Schaefer (2004-08-18 03:14 +0200)
> On Wed, 18 Aug 2004, Thorsten Kampe wrote:
>> "zstyle ':predict' verbose true" doesn't work with the newest zsh.
> 
> schaefer<509> echo $ZSH_VERSION
> 4.2.1-dev-1
> 
> If from here I type ^X^Z, I see
> 
> schaefer<510> _
> predict-on
> 
> (with the cursor at the underscore).  Type ^Z and I get
> 
> schaefer<510> _
> predict-off
> [...]
> 
> There are a lot of things about predict-on et al. that could be improved
> with some of the newer zsh features, but this bit is working for me.  Can
> you narrow it down to any other settings?

Well, I thought it was simple, but here is what I experience:

thorsten@wolfbrand%
_
thorsten@wolfbrand% zstyle ':predict' verbose false
predict-on
thorsten@wolfbrand% _
thorsten@wolfbrand% zstyle ':predict' verbose true
thorsten@wolfbrand%
_

zsh is 4.2.1. I deleted my whole .zshrc (except the initialisation for
predict and I always see the same - local on my Gentoo Linux box and
remote via ssh. With rxvt and with "konsole".

What information can I give you to narrow the problem?!

This is the base initialisation:

autoload -U predict-on; predict-on
zle-line-init() { predict-on }
zle -N zle-line-init
zle -N predict-on
zle -N predict-off
zstyle ':predict' verbose true


Thorsten


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 'zstyle ':predict' verbose true' hangs on zsh 4.2.1
  2004-08-18 17:50   ` Thorsten Kampe
@ 2004-08-20  8:29     ` Bart Schaefer
  0 siblings, 0 replies; 4+ messages in thread
From: Bart Schaefer @ 2004-08-20  8:29 UTC (permalink / raw)
  To: zsh-users

[Note, replies directed to zsh-workers]

On Wed, 18 Aug 2004, Thorsten Kampe wrote:

> thorsten@wolfbrand%
> _

[...]

> autoload -U predict-on; predict-on
> zle-line-init() { predict-on }

That's almost certainly the issue, right there.  I'd be willing to wager
that "zle -M" doesn't work from zle-line-init.  If so, it's a bug newly 
introduced by the creation of zle-line-init, and is not limited to the
predict-on widget.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-20  8:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-17 23:04 'zstyle ':predict' verbose true' hangs on zsh 4.2.1 Thorsten Kampe
2004-08-18  1:14 ` Bart Schaefer
2004-08-18 17:50   ` Thorsten Kampe
2004-08-20  8:29     ` Bart Schaefer

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).