[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: .octave_hist content
From: |
John W. Eaton |
Subject: |
Re: .octave_hist content |
Date: |
Tue, 11 Jan 2011 13:38:33 -0500 |
On 11-Jan-2011, CdeMills wrote:
| Following one of Larry Wall's "virtue", namelly laziness, please find
| enclosed a patch against 3.3.54+ to implement duplicate removal. No
| conditionnal inclusion, it just sits there. The principle is to use
| libhistory "history_search" function, which performs comparisons on whole
| strings. If there is a match, the old entry is removed and the new one
| added. This way, only the freshest one is kept.
|
| Regards
|
| Pascal
| http://octave.1599824.n4.nabble.com/file/n3209428/hist_ignore_dup.pat
| hist_ignore_dup.pat
I'm not going to do this unconditionally because some people like to
step through the history list with C-o (operate-and-get-next) and
ignoring all duplicates screws that up. So it must be optional.
jwe
- .octave_hist content, CdeMills, 2011/01/11
- Re: .octave_hist content, Jordi GutiƩrrez Hermoso, 2011/01/11
- Re: .octave_hist content, John W. Eaton, 2011/01/11
- Re: .octave_hist content, CdeMills, 2011/01/11
- Re: .octave_hist content,
John W. Eaton <=
- Re: .octave_hist content, CdeMills, 2011/01/11
- Re: .octave_hist content, John W. Eaton, 2011/01/12
- Re: .octave_hist content, Jordi GutiƩrrez Hermoso, 2011/01/12
- Re: .octave_hist content, John W. Eaton, 2011/01/12