bug-readline
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: history-search-backward doesn't work with operate-and-get-next(C-o)


From: Chet Ramey
Subject: Re: history-search-backward doesn't work with operate-and-get-next(C-o)
Date: Thu, 9 Sep 2021 15:41:14 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

On 9/8/21 4:25 PM, Vandrus Zoltán wrote:
> Hi,
> 
> I usually run two commands in bash after each other:
>   xgamma ..
>   xbacklight ..
> 
> I bound C-<up> to history-search-backward, so typing 'xg C-<up>' recalls
> xgamma in history. Then I would expexct C-o to run xgamma and recall the
> xbacklight command. But it doesn't happen.
> It works, with the default bound incremental backward search, 'C-r xg' though.

Thanks for the report.

Non-incremental searches leave the current history position set to the line
being edited, rather than the offset of the last found matching line, as
incremental searches do. I'll look at the implications of making non-
incremental searches match incremental ones here.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]