Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: history improvements for 3.1.5-pws-17



Man, I hate getting this far behind.

On May 11,  2:39am, Wayne Davison wrote:
} Subject: Re: PATCH: history improvements for 3.1.5-pws-17
}
} > Hmmm, it might be a good idea to make `zle widget num' override the
} > value of $NUMERIC with num when calling a widget.
} 
} I like this -- it makes writing an up-line-or-local-history function
} much simpler.

Way back in zsh-workers/4103 I griped:

    ... right now it's completely impossible for a user-defined
    widget to initiate a history search; "zle history-search-backward"
    just causes the shell to prompt the user for input, but the
    widget may already have a string it wants to search for.
    "history-search-backward string" is the natural way to perform
    that action.

If we're implementing this, why are we limiting it to *numeric* arguments?

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author