11 ms·
Mousemacs – A mouse-driven Emacs
- timonoko 6y agoThis is the first step only. I remember in 1995 Stallman wanted Emacs to be "like Microsoft Word" with varying fonts and other formatting shit with hidden Tex-coding. Do it.
- hprotagonist 6y agoo-org-mode?
- marci 6y agocustomized like this https://lepisma.xyz/2017/10/28/ricing-org-mode/ https://lepisma.xyz/2017/10/28/ricing-org-mode/ or like this https://github.com/rougier/elegant-emacs https://github.com/rougier/elegant-emacs
- znpy 6y ago> like this https://github.com/rougier/elegant-emacs https://github.com/rougier/elegant-emacs OMG that is beautiful
- skocznymroczny 6y agoSo like LyX?
- Pelic4n 6y agoStallman is delusional and his push to make Emacs a WYSIWYG editor almost killed it.
- timonoko 6y agoShudup heretic. Stupid half-assed attempts to make X-emacs killed the master's grand vision.
- _emacsomancer_ 6y agoYou can already have varying fonts in Emacs. Not quite in a word-processor-like way (thankfully!).
- Koshkin 6y agoI do not understand the want to stick with fixed-width fonts in this day and age. We do not use the editor to punch cards anymore, nor do we type text on a character-cell terminal or a typewriter. With the high-resolution displays, code we write should look more like one that is found in some nice programming books - complete with bold-faced reserved words, italicized comments, and even some mathematical typesetting. This could even (re)open the path to the Holy Grail of literate programming!
- jhardy54 6y agoCould you link to some non-monospace font rendering that you find accessible and attractive? In my experience, code in non-monospace fonts are hard to read and is hard to navigate because the letters don't line up.
- dig1 6y agoYou can do that with many Emacs themes, but have you tried to read those things for a longer time? I like uniform text with minimal highlighting and I know many developers prefer the same - it is much easier for eyes. Some prefer to have a circus of fonts, colors and sizes. YMMV.
- timonoko 6y agoIn future PyLyx-mode the code is monospace, but comments are assumed to be Tex-formatted. Imagine implementation of some mathematical formula. You can have the description with proper notation. It will be so beautiful that it brings tears to my eyes already.
- kanox 6y ago> nor do we type text on a character-cell terminal Yes we do. Command line interfaces are as popular as ever and all terminal emulators rely on a fixed-width fonts.
- Koshkin 6y agoWell, then, the question is, why on Earth we are still emulating ancient character-cell terminals? What purpose does this serve? (I think I just might know the answer: so we could run fixed-width font based text editors in them!)
- jpfr 6y agoHe still wants Emacs to become a general-purpose word processor. https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00089.html https://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00... https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg01255.html https://lists.gnu.org/archive/html/emacs-devel/2020-04/msg01... And not everybody is happy about it. [Careful, flame ahead.] http://ergoemacs.org/misc/rms_emacs_tyrant_2018-03.html http://ergoemacs.org/misc/rms_emacs_tyrant_2018-03.html
- messe 6y agoBased on the title I hoped this was going to be emacs with acme-style mouse chording. [1]: http://acme.cat-v.org/ http://acme.cat-v.org/
- Koshkin 6y agoMouse chording is no doubt an invention of the devil herself.
- klik99 6y agoI was about to say the same thing! I suggest the author of this digs into acme (easy to run plan9 on a rpi!) and borrows some of the chording, because I'm not crazy about the menu driven mouse commands shown in the repo examples. An "acmemacs" would be amazing - might be the only thing that could tear me from emacs at this point.
- lbj 6y agoMouse-driven Emacs is like a feet-driven car. Fred would have loved to see this.
- kleiba 6y agoKinda strange. Emacs is so inherently keyboard-focused that I fail to see the point of this... nor the need for it?!
- trey-jones 6y agoYeah, the main reason I started using Emacs was to try and eliminate (or reduce, I suppose) mouse usage.
- kleiba 6y agoYes, I've been running Emacs in the terminal almost exclusively for pretty much the same reason.
- thom 6y agoI'm not sure this is true. Emacs is fundamentally command driven - everything is a command, and can be invoked, edited or replaced the same way. What triggers those is obviously key bindings for a lot of people but it's not really what makes Emacs powerful or extensible. People have diverse needs when it comes to wanting to interact with a computer, and it's great that Emacs's flexibility allows them to.
- kqr 6y agoI agree. Vim is inherently keyboard-focused. That Emacs is not, and instead focuses on the command as the fundamental unit driving everything, is its primary strength. This is what makes Emacs more flexible than Vim to the point where there's a very faithful reimplementation of Vim for Emacs. Couldn't do the opposite, even if you wanted to.
- JadeNB 6y ago> This is what makes Emacs more flexible than Vim to the point where there's a very faithful reimplementation of Vim for Emacs. Couldn't do the opposite, even if you wanted to. This claim seems at least suspect to me. Vim scripting isn't fun, and vim certainly isn't centred around it like emacs is, but it's possible. Usually making this claim would challenge people to solve it themselves, but I suspect that vim users care significantly less about welcoming emacs users into their environment than vice versa. (Also, the various vim implementations in emacs are almost-but-not-quite there, to the point that I believe really experienced vim users fall into an uncanny valley.)
- murgindrag 6y agoI 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.
- clircle 6y agoLooking through the repo, it's a handful of elisp files, so you can pick-and-choose by deleting the stuff you don't want.
- gumby 6y ago“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.
- yourapostasy 6y agoAnd in case someone reading is wondering, "how do I count the number of buffers": https://stackoverflow.com/questions/350526/how-do-i-count-the-number-of-open-buffers-files-in-emacs 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.
- gumby 6y agoJust 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.
- hallqv 6y agoI see a potential future use case for this when human-computer interaction will be done through brain interface. Will prolly be easier to integrate with nervous signals from brain to one hand (mouse interaction) compared to two hands (keyboard interaction).
- nanna 6y agoThe config files for this are well commented and explained. Great for someone new to emacs. Which I suppose is exactly who Mousemacs is for.
- tenkabuto 6y agoVery cool! I don't understand the extent to which this changes Emacs under the hood, though. Do you think it'll still be able to run org-mode? EDIT: Org-mode is working for me. I still don't know how to use it, but it's nice to be able to navigate through it via the right-click menus.
- seidman 6y agoCan we add clippy, too?
- brodo 6y agoHas someone tried this together with spacemacs?
- globular-toast 6y agoOne of the things that drew me to emacs initially was that I could customise it to reduce or, in most cases, eliminate mouse usage. Toolbars, scroll bars etc. were the first things to go. Just taking those away makes emacs must more attractive for me.
- MobileVet 6y agoThis seems like a nice extension to Emacs for folks that want to use it but are stymied by the steep learning curve. Personally I think the learning curve is worth it... especially with an aid like Spacemacs. It gives you the context and quick access without requiring a mouse and thus results in faster and more efficient interaction in the long run. https://github.com/syl20bnr/spacemacs https://github.com/syl20bnr/spacemacs
- s17n 6y agoI believe that all available evidence suggests that keyboard-only editing is not actually faster or more efficient (I say this as a keyboard-only Emacs user).
- wtetzner 6y agoAny links? For me it seems like (haven't measured) being only on the keyboard or only on the mouse is faster than trying to switch between the two, if only because I avoid the mental context switching.
- s17n 6y agoI just googled and it looks like my statement is true, with the caveat that "all the available evidence" is pretty much garbage. I get terrible wrist pain when I even look at a mouse so editing speed is a secondary concern for me.
- acomjean 6y agoMac has "Aquamcs" which is mac native emacs with a wierd blending of MacOS key commands and emacs commands. It works better than expected. Its not perfect but maintains the recording/playback of macros I use all the time. The fact that mac shortcuts use "Command" which emacs doesn't use natively helps. https://aquamacs.org/about.html https://aquamacs.org/about.html Look forward to trying mousemacs out. -A
- sgillen 6y agoThe official Emacs.app also supports using the Command shortcuts while keeping all the normal emacs commands the same. In general I find that the app plays nicely with MacOS and I prefer it over aquamacs since emacs.app is newer (right now version 27 vs 25.) And I think looks nicer once I've removed the menu bars.
- m463 6y agoexcept for cmd-c (apple copy) and cmd-w (emacs copy) but mostly macos works well with emacs because... macos uses the basic emacs navigation and editing keys in all its text widgets. control-a/e beginning/end of line control-p/n previous/next line control-k/y kill to end of line, yank ...
- rjeli 6y agoNice, but this doesn't go far enough imo. I love emacs but keep using Sublime on a daily basis because it has real, native[0] mouse handling and UI. My dream editor would be a Sublime UI on top of embedded emacs. That means: - Native mouse selection of text, proper copy/paste, ideally with a "narrow caret" instead of block cursor everywhere - Native graphical file tree with drag and drop - Native tabs with pretty drag and drop - Pixel-fine resizing of panes - Pixel-fine scrolling!! [0]: Everywhere I say "native" above, I don't really care if it's GTK or electron (provided it's snappy) or whatever. I mean the nebulous feeling of having text areas work like every other text area on my desktop. VimR (https://github.com/qvacua/vimr https://github.com/qvacua/vimr) on mac was the closest to this I ever got, and I love that editor, but I'm not on macOS anymore. edit: Oh g-----, I'm literally describing aquamacs. I wonder if anyone has tried to run it on linux with GNUstep or something ;__;
- solarkraft 6y ago> Pixel-fine scrolling!! I don't see why software not having this is apparently acceptable. It's just disorienting to have line jumps. That's not how the real world works. Modern Linux software is pretty good at it (GTK, Qt) as is much Windows software. However the only git GUI I otherwise enjoy using that has it is Sublime Merge.
- throwaway_pdp09 6y agoBeyond 'pretty', how does this help the user in any way? I'm an emacs user and love it but lack of fine scrolling is hardly it's worst feature.
- solarkraft 6y agoIt's less disorienting. Humans are not built to track things that are at one place at one point in time and instantly another at the next moment. I guess it feels fitting when you use a mouse wheel that has jumps in it anyway, but on a touchpad it feels highly unnatural.
- O_H_E 6y ago
- vonwoodson 6y agoThanks. I hate it.
- newen 6y agoWould love a more GUI focused Emacs but don't change keyboard shortcuts I've built into my muscle memory please.