--- Begin Message ---
Subject: |
comint history |
Date: |
Sat, 2 Dec 2000 19:13:21 -0500 |
While getting stuff working with 21, I ran into the problem of the way
comint pulls its history -- the only way to modify this is by changing
comint-input-ring-separator but there seem to be a problem making it
do the right thing with tcsh's time-stamped history file. The file
has "#+NUM" lines between actual history lines. I want to set it so
it will work with both this is and normal file -- using a regexp like
"\\(\n#.*\\)?\n" -- but the problem is that this regexp works in a
different way when you do re-search-backward than the way it behaves
with a forward search.
Is there any way to solve this? Otherwise, maybe it is better to
collect the history from the beginning forward into a list, then
iterate over the reverse of that list and put things in the history
ring?
--
((lambda (x) (x x)) (lambda (x) (x x))) Eli Barzilay:
http://www.barzilay.org/ Maze is Life!
--- End Message ---