* history-words stop?
@ 2005-04-21 13:16 Francisco Borges
2005-04-21 15:12 ` Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Francisco Borges @ 2005-04-21 13:16 UTC (permalink / raw)
To: Zsh User
Hello
I have:
zstyle ':completion:*:history-words' remove-all-dups yes
zstyle ':completion:*:history-words' list false
zstyle ':completion:*:history-words' stop yes
When using M-/ and M-, what happens is that:
I reach the BEGIN(END) of history,
I hit M-,(M-/) once: nothing happens.
I hit M-,(M-/) a second time: it wraps around.
Can I be messing this with some other variable or is this a bug?
OR am I missing something obvious?? :)
$ZSH_VERSION == 4.3.0-dev-1 in a Debian Sarge box.
Cheers,
Francisco.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: history-words stop?
2005-04-21 13:16 history-words stop? Francisco Borges
@ 2005-04-21 15:12 ` Bart Schaefer
2005-04-21 15:34 ` [zsh] " Francisco Borges
0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2005-04-21 15:12 UTC (permalink / raw)
To: Zsh User
On Apr 21, 3:16pm, Francisco Borges wrote:
}
} zstyle ':completion:*:history-words' stop yes
}
} When using M-/ and M-, what happens is that:
}
} I reach the BEGIN(END) of history,
} I hit M-,(M-/) once: nothing happens.
} I hit M-,(M-/) a second time: it wraps around.
That sounds like exactly what's supposed to be happening:
stop
If set to `true', the _history_complete_word bindable command will
stop once when reaching the beginning or end of the history.
Invoking _history_complete_word will then wrap around to the
opposite end of the history. If this style is set to `false' (the
default), _history_complete_word will loop immediately as in a
menu completion.
} Can I be messing this with some other variable or is this a bug?
} OR am I missing something obvious?? :)
I think it's the last of those. What did you *expect* to happen?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [zsh] Re: history-words stop?
2005-04-21 15:12 ` Bart Schaefer
@ 2005-04-21 15:34 ` Francisco Borges
0 siblings, 0 replies; 3+ messages in thread
From: Francisco Borges @ 2005-04-21 15:34 UTC (permalink / raw)
To: Bart Schaefer; +Cc: Zsh User
» On Thu, Apr 21, 2005 at 03:12PM +0000, Bart Schaefer wrote:
> On Apr 21, 3:16pm, Francisco Borges wrote:
> }
> } zstyle ':completion:*:history-words' stop yes
> }
> } When using M-/ and M-, what happens is that:
> }
> } I reach the BEGIN(END) of history,
> } I hit M-,(M-/) once: nothing happens.
> } I hit M-,(M-/) a second time: it wraps around.
>
> That sounds like exactly what's supposed to be happening:
>
> stop
> If set to `true', the _history_complete_word bindable command will
> stop once when reaching the beginning or end of the history.
Oops, I had missed the "once" in "stop once".
> Invoking _history_complete_word will then wrap around to the
> opposite end of the history. If this style is set to `false' (the
> default), _history_complete_word will loop immediately as in a
> menu completion.
>
> } Can I be messing this with some other variable or is this a bug?
> } OR am I missing something obvious?? :)
>
> I think it's the last of those. What did you *expect* to happen?
I expected "stop once" to be the default and setting 'stop' to true to
give me a full stop, ie no wrapping at all, same way as when reaching
the end of history-incremental-search-(for|back)ward.
I guess the problem is that I think about this as a history-search-word
like function and not as menu completion.
Thanks,
Francisco.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-04-21 15:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-21 13:16 history-words stop? Francisco Borges
2005-04-21 15:12 ` Bart Schaefer
2005-04-21 15:34 ` [zsh] " Francisco Borges
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).