News for hackers. Stuff that matters.
Re:Mousemacs – A mouse-driven Emacs by murgindrag on Wednesday August 19, 2020 @09:14AM (#24210007)
I think this is solving several different problems:

1) I would love to have a better way to manage tabs and multiple files in emacs. This piece seems awesome!

2) Good context menus aren't as important, but a definite win! emacs is useless here. But I'm not sure your context menus are the ones I want.

3) As someone who's used emacs for a long time, I would hate to have my emacs shortcuts replaced by standard ones. I don't want to remap my brain.

I wish there were a way to pick-and-choose.

Re:Mousemacs – A mouse-driven Emacs by abrowne on Wednesday August 19, 2020 @11:23AM (#24211309)
> 3) As someone who's used emacs for a long time, I would hate to have my emacs shortcuts replaced by standard ones. I don't want to remap my brain.

As someone who's used Mac for a long time (and now Linux desktop, with similar shortcuts, plus spending most of my time in a browser like Chromium or Firefox), I chose other editors like Sublime and now VS Code partly because they use shortcuts that feel normal on those platforms so I didn't have to remap my brain. (More like my thumbs I think.) So to me the shortcuts changes in this project may be the most interesting part!

Re:Mousemacs – A mouse-driven Emacs by vaxman on Wednesday August 19, 2020 @02:26PM (#24214073)
Don't talk about politics, religion or text editors at work, son.

They used to ban people for starting rWars on USENET (that is, outside of the forums specifically for rWars) back in the day.

Re:Mousemacs – A mouse-driven Emacs by murgindrag on Wednesday August 19, 2020 @05:39PM (#24216942)
I'm not sure anyone is actually fighting. We both like what we're used to, and neither of us is claiming it's better. We're both just agreeing we don't want to change.

People are allowed to like different things (except vi, obviously -- I hope we can all agree to that).

As a footnote: I'm comfortable with mainstream keyboard shortcuts too, but not in emacs. Those things do specific things in emacs, and would be a mess. If you remap ctrl-k, I won't have a way to cut a line anymore! I need that.

Re:Mousemacs – A mouse-driven Emacs by abrowne on Wednesday August 19, 2020 @09:22PM (#24218889)
Hear, hear. Celebrate diversity!

FWIW, VS Code uses Ctrl+Shift+K by default for Delete Line. I'm used to it enough that I sometimes try it in other apps, like Chromium text boxes …

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

Re:Mousemacs – A mouse-driven Emacs by gumby on Wednesday August 19, 2020 @07:15PM (#24217962)
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.
Re:Mousemacs – A mouse-driven Emacs by BeetleB on Wednesday August 19, 2020 @07:41PM (#24218181)
Ah, but this will be incorrect if you have multiple buffers pointing to the same file.
Re:Mousemacs – A mouse-driven Emacs by gumby on Thursday August 20, 2020 @12:09PM (#24224731)
When you have hundreds of buffers it doesn’t really matter.
Re:Mousemacs – A mouse-driven Emacs by s_brady on Wednesday August 19, 2020 @11:08AM (#24211118)
Hi - Mousemacs author here.

There is a way to pick and choose :)

The context menu in Mousemacs is a couple of dozen lines of Elisp and would be simple to rewrite. You can simply create your own context menus.

Re:Mousemacs – A mouse-driven Emacs by clircle on Wednesday August 19, 2020 @09:29AM (#24210136)
Looking through the repo, it's a handful of elisp files, so you can pick-and-choose by deleting the stuff you don't want.