Re:Mousemacs – A mouse-driven Emacs
by gumby on Wednesday August 19, 2020 @09:57AM
(#24210384)
“Better way to manage multiple files”? I just asked Emacs and I have over 700 files open. Not sure what is inconvenient about editing multiple files.
[ Parent
| on HN ]
Re:Mousemacs – A mouse-driven Emacs
by yourapostasy on Wednesday August 19, 2020 @10:13AM
(#24210547)
And in case someone reading is wondering, "how do I count the number of buffers":
https://stackoverflow.com/questions/350526/how-do-i-count-th...
I recommend using the desktop feature also mentioned there.
Now, if I can only get emacs daemon mode to maintain state so if I abruptly disconnect and reconnect with emacsclient over X11 I get the state restored exactly where I left off, so that even the screen is painted exactly where I left off, down to the cursor position. Running something like VNC is a non-starter on my locked-down WinPC, unfortunately.
Just do c-x c-b to get the list of buffers and c-x l to count the lines. Like everything in emacs it’s an editable buffer which is quite handy.
Ah, but this will be incorrect if you have multiple buffers pointing to the same file.