zsh-users
 help / color / mirror / code / Atom feed
From: Francisco Borges <borges@let.rug.nl>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh User <zsh-users@sunsite.dk>
Subject: Re: [zsh] Re: history-words stop?
Date: Thu, 21 Apr 2005 17:34:39 +0200	[thread overview]
Message-ID: <20050421153439.GA31343@let.rug.nl> (raw)
In-Reply-To: <1050421151248.ZM2357@candle.brasslantern.com>

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


      reply	other threads:[~2005-04-21 15:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-21 13:16 Francisco Borges
2005-04-21 15:12 ` Bart Schaefer
2005-04-21 15:34   ` Francisco Borges [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=20050421153439.GA31343@let.rug.nl \
    --to=borges@let.rug.nl \
    --cc=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).