[ESS] Aquamacs ESS slow scroll (buffering?)

Vitalie Spinu spinuvit at gmail.com
Mon Nov 25 21:51:51 CET 2013


 >>> Rainer M Krug on Mon, 25 Nov 2013 10:13:17 +0100 wrote:

[...]

 >> One workaround that could be implemented is to hide the long input 
 >> with elipses. The elipses could be expanded on user's request.
 >> Then nor emacs redisplay, nor font-lock will interfere.

 > I really like this - it so really nicely org-like.

 > Following this folding, it would be brilliant if folding could be done
 > at each level, i.e. if you say print(y), it would give you

 > y...

 > If you click on y, it would show all the list elements, but folded.

 > Then you  can select the one one is interested in - a little bit like
 > an interactive version of str.


That would be possible in principle but would require writing
specialized printing methods for lists and dataframes (at least). 

I was thinking of a much simpler approach, keep track of the printed
output and show only the beginning and end of it with elipses in between
hiding all other text.

The problem with this approach is that if you execute multiple commands,
it will hide all the transitory output, even if it is short, and will
leave only the beginning of the first output and end of the last output.

    Vitalie



More information about the ESS-help mailing list