bug-bash
[Top][All Lists]
Advanced

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

Re: history-search-backward loses undo


From: Chet Ramey
Subject: Re: history-search-backward loses undo
Date: Mon, 11 Nov 2002 14:22:20 -0500

> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> 
> Description:
> After executing history-search-backward I cannot undo anything on the line.
> 
> Repeat-By:
> Bind history-search-backward to a key and try it out.

It's probable that the new line found with history-search-backward has no
undo list associated with it.  When a non-incremental search succeeds, the
undo list associated with that line is made the current undo list.  It's
likely that the old undo list is no longer valid; it would be confusing
to retain it.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )

Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/




reply via email to

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