On Saturday, August 5, 2023 at 5:46:11 AM UTC-5 Edward K. Ream wrote:

This Engineering Notebook post considers what to do about Leo's 
show-file-line command, the evil twin of goto-global-line. 


I forgot to mention the history of show-file-line.

Years ago, someone suggested showing the *file's* line number in the status 
area. This suggestion would not be wise even if show-file-line were 
bug-free.

Both show-file-line and goto-global-line are memory hogs. They create 
strings containing the entire contents of the external file. Leo can live 
with the expense of goto-global-line because it isn't called often. But 
calling show-file-line every time the selected line changes would be 
ruinous.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/227e6358-9ec0-46de-9b5b-4fa71f8d1886n%40googlegroups.com.

Reply via email to