Live data from Hacker News

Emacs 27.2

lists.gnu.org

71–80 of 115 posts

Re: Emacs 27.2

#71

Earlier quoted context omitted.

Tramp works a lot more reliably if you customize where Emacs puts your backups and autosaves, such that they're stored locally instead of remotely. The Emacs wiki has details on how to do that: https://www.emacswiki.org/emacs/BackupDirectory

The biggest problem I have with Tramp performance is much deeper, the need to open a new connection for every request - it makes integrating other modes with Tramp much more difficult than I would hope for (e.g. I tried to make kubernetes-mode work over tramp, and it mostly did, but each refresh had to reconnect, which would freeze the whole Emacs GUI for a second or so; thankfully kubel-mode has a more complete impl…

I've had this in my config for a long time. Seems to make tramp work a lot better:

    ; use ssh instead of scpx mode for tramp
    ; this should work a lot better with ssh connection sharing
    (setq tramp-default-method "ssh")

Re: Emacs 27.2

#72
post #60

Earlier quoted context omitted.

Stock Spacemacs is like a fully-tricked out Vim configuration, made by and for "plugin" junkies. Its leader-based keybindings are very well thought-out and discoverable since you get a small menu for the level you are at. For example g gets you to the git submenu, if you forget that g s gets you magit-status it will remind you there.

> Stock Spacemacs is like a fully-tricked out Vim configuration, made by and for "plugin" junkies. That is a fantastic description of Spacemacs

Sincere question: if I already have a vim setup with all the plugins I like, and I switch to evil mode so everything more or less works as I had it, what does emacs open the door to that I couldn’t do before? Org mode I imagine is one piece. Is there anything else I should look at if I try it?

Re: Emacs 27.2

#73
post #20
post #18

Earlier quoted context omitted.

Viper mode could give you the best of both worlds, depending on what you like about vim. If it's the key navigation, viper has you covered.

spacemacs has a very complete vim layer. By far it's the most complete implementation outside of actual vim I've seen.

Spacemacs is indeed great, I used it myself recently. But I will say, it's no longer really actively maintained. The community has migrated over to ~~Spacemacs~ Dooom Emacs, which is very similar (still uses space as leader key and vim bindings everywhere). In my experience, Doom Emacs runs a lot faster too.

https://github.com/hlissner/doom-emacs

edit: Changeed Spacemacs to Doom Emacs, whoops.

Re: Emacs 27.2

#74

I tried Emacs after reading so much about it lately...but I don’t understand how people use it. The sheer volume of key combinations always in play to do things makes my hands hurt. It made me see the appeal of some of those concave keyboards.

I'm just getting into Emacs (~4 months) and I'd say that I have probably ~40 key-commands memorized. I M-x search for everything else and I still find it to be an excellent experience. I'm building my config and muscle memory very slowly, but enjoying every minute.

Re: Emacs 27.2

#75

I tried Emacs after reading so much about it lately...but I don’t understand how people use it. The sheer volume of key combinations always in play to do things makes my hands hurt. It made me see the appeal of some of those concave keyboards.

That's me, two years ago, when I made the switch from vi.

In the end, the key combinations are something to learn - but the productivity increase makes them worth learning. And for the handcramp thing: Realize that you have two control, and two meta keys on a standard keyboard.

Re: Emacs 27.2

#76
post #51

Earlier quoted context omitted.

Going on 25 years with Emacs. Lots of other things I've changed over the years, but still happy with Emacs and Postgres.

I wish to use Emacs, but those keyboard shortcuts do not make any sense for me. Is there a way to have emacs with custom shortcuts as a ready package where I can modify those shortcuts before digging in with all the rest. I do not mind keyboard shortcuts in gneeral and use them all the time, it's just those in Emacs are hard to learn/remember knowing that I wish to change them anyway . I am looking for the way to set…

> Is there a way to have emacs with custom shortcuts as a ready package where I can modify those shortcuts before digging in with all the rest.

I've got a very custom Emacs keybindings/shortcuts setup but... Sadly it requires some hackery: basically there's the whole major/minor modes shenanigan where one mode's shortcut can take precedence over the other(s). And if you want to define your own shortcuts which take precedence, all the time, over everything else, you need to dig a bit deep. And then even deeper because invariably there's this or that minor mode you'll want to use where after all you won't want your own shortcut but that one of the mode.

> I am looking for the way to set those by myself but it seems I need to learn a lot before I can do it

Sadly this is true. I've got I'd say about 100 lines of code related only to keybindings. Now, once set up, it's pure bliss. For example I've got mod+{i,j,k,l} to move the cursor around, anywhere (text, menus, anything). It makes even more sense than vim's hjkl (ijkl mimics the cursor arrow keys layout, which is more natural and ijkl is easier to type than hjkl too).

> ... and thus it blocks me from moving forward with exploring Emacs deeper.

I can understand that. I'd say the easiest would be to define your own minor mode as explained here:

https://stackoverflow.com/questions/683425/globally-override...

This should get you started: if you do it like in the answer and make sure they always take precedence you should be good to go and can deal with the gory details later on.

Re: Emacs 27.2

#77
post #73
post #20

Earlier quoted context omitted.

spacemacs has a very complete vim layer. By far it's the most complete implementation outside of actual vim I've seen.

Spacemacs is indeed great, I used it myself recently. But I will say, it's no longer really actively maintained. The community has migrated over to ~~Spacemacs~ Dooom Emacs, which is very similar (still uses space as leader key and vim bindings everywhere). In my experience, Doom Emacs runs a lot faster too. https://github.com/hlissner/doom-emacs edit: Changeed Spacemacs to Doom Emacs, whoops.

> The community has migrated over to Spacemacs

I'm guessing you meant to say Doom Emacs there?

Re: Emacs 27.2

#78
post #72
post #60

Earlier quoted context omitted.

> Stock Spacemacs is like a fully-tricked out Vim configuration, made by and for "plugin" junkies. That is a fantastic description of Spacemacs

Sincere question: if I already have a vim setup with all the plugins I like, and I switch to evil mode so everything more or less works as I had it, what does emacs open the door to that I couldn’t do before? Org mode I imagine is one piece. Is there anything else I should look at if I try it?

There are a few IMHO: magit [1] is a nice piece for Git. And there's vterm, if you wish to use a (usable) term or tmux/screen without leaving the editor, tramp mode [2] for remote files and last but not least ergoemacs [3] if you prefer the CUA style for generic commands (and reduce RSI). Oh, and forgot to mention helm [4] too...

[1] https://magit.vc

[2] https://www.emacswiki.org/emacs/TrampMode

[3] https://ergoemacs.github.io/

[4] https://github.com/emacs-helm/helm

Re: Emacs 27.2

#79
post #51

Earlier quoted context omitted.

Going on 25 years with Emacs. Lots of other things I've changed over the years, but still happy with Emacs and Postgres.

I wish to use Emacs, but those keyboard shortcuts do not make any sense for me. Is there a way to have emacs with custom shortcuts as a ready package where I can modify those shortcuts before digging in with all the rest. I do not mind keyboard shortcuts in gneeral and use them all the time, it's just those in Emacs are hard to learn/remember knowing that I wish to change them anyway . I am looking for the way to set…

It's a good question, but asking someone who has used Emacs for 25 years... I'm pretty happy with them, and indeed, do my best to have them replicated in other software I use such as shells and browsers.

Re: Emacs 27.2

#80
post #28

what is the release cadence of emacs?

While a set-in-stone release schedule doesn't exist, there is _a lot_ of development activity (emacs-devel is a very busy mailing list). 99.9% of the time it's safe to use the bleeding edge head of the repository if you want to use the latest stuff.

except in the few months following a major release (at least for me)
Post reply on HN