Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [BUG] insert-last-word gets stuck at comments
- X-seq: zsh-workers 49213
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [BUG] insert-last-word gets stuck at comments
- Date: Wed, 28 Jul 2021 08:40:12 -0700
- Archived-at: <https://zsh.org/workers/49213>
- In-reply-to: <1330504218.483943.1627463206156@mail2.virginmedia.com>
- List-id: <zsh-workers.zsh.org>
- References: <20210726070654.v33wzoiwpqibwlas@localhost> <CAH+w=7Yr-zEQ2SFSWV3TqRp4WkkGXC=LbReBMka88=bb2U7z1w@mail.gmail.com> <20210727055227.4aobyf75yyckctve@localhost> <CAH+w=7YH6ycWWpKKgznByWc0oK9nVS+7rOFmPSgzeZiKzVpG9w@mail.gmail.com> <CAH+w=7bEFPGH9uucTM2t=Daep_-KWqk0xUXadkO+EEcezeGwPg@mail.gmail.com> <1330504218.483943.1627463206156@mail2.virginmedia.com>
On Wed, Jul 28, 2021 at 2:07 AM Peter Stephenson
<p.w.stephenson@xxxxxxxxxxxx> wrote:
>
> > I wonder if it would be preferable if it just skipped on to the next
> > (that is, usually, the preceding) last word?
>
> That seems reasonable --- I can't think of circumstances where you'd want
> no result, unless you've actually reached the last possibility.
Should that happen only in the default case, or even when one or more
arguments are provided?
My inclination is to say that if a specific history event or word was
requested, but isn't found, the op should just fail as it does now.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author