>
>> 1. Navigate your history to A
>> 2. Type C-o (or whatever) and it will 
>>   a. execute A 
>>   b. take you to B automatically.  
>>
>> Is this what you wanted?
>>
>
> More or less.
> Specifically, I want the same behaviour as in GAP. In GAP one can go to A 
> using (say) arrows keys. Then, after executing A, you get GAP prompt, just 
> as if you execute the "normal" command. But if you then hit arrow-down 
> (i.e. "next command" in history) you'll get to B.
>
> In Sage executing A brings you to the bottom of the history (which I 
> weird, IMHO).
>
>
> So execute normally but remember where you were in the history if you 
> press down.  I've always found that a bit weird since if you press up you 
> _lose_ your place.  But I grew up in a bash shell before a GAP shell. :-) 
>  I'm sure such a thing would be easy by adding another function on top of 
> this patch.  
>
> FWIW, I think this should go in soon and have another patch to get the GAP 
> behavior, since this has been languishing for quite a while. There should 
> also be a section that basically says, do XYZ to get GAP behavior and WXY 
> to get Magma behavior, etc.
>
>

Can we make sure that XYZ and WXY would remain *optional*, though?  If the 
default behavior all of a sudden became one of these, that would be a 
pretty big interface change.  Though I, too, often have to count how many 
back to up-arrow to get the list of previous commands in the right order...

-- 
-- 
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org



Reply via email to