emacs-devel
[Top][All Lists]
Advanced

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

[Eli Barzilay <address@hidden>] comint history


From: Gerd Moellmann
Subject: [Eli Barzilay <address@hidden>] comint history
Date: 05 Dec 2000 15:24:05 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.93

Anyone here who knows offhand how to solve this?

--- 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 ---

reply via email to

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