Live data from Hacker News

Emacs 26.2 Released

lists.gnu.org

271–278 of 278 posts

Re: Emacs 26.2 Released

#272

I'm really happy to see Emacs move faster, and especially the integration of package management since version 25. The old beast is still kicking! For what it's worth, I've actually been using on macOS the Mituharu branch [1], available in MacPorts as "emacs-mac-app". This version adds the [s]essential[/s] smooth-scrolling feature, and just in general seems to be slightly better integrated into macOS (except that it d…

Since it was painful to do, here's what I put in my .emacs to bring back macOS Cmd-keybindings in Mituharu's Emacs: ; Configure shortcuts if we're using Mituharu's Mac port of Emacs (when (eq window-system 'mac) (progn (message "Setting emacs-mac keybindings") (setq mac-option-modifier 'meta) ;supposedly setting this to 'nil gives them back to OS X, but that didn't work for me (setq mac-command-modifier 'super) (glob…

If you use Spacemacs, it can define a similar set of keybindings for you with its ‘osx’ layer (https://github.com/syl20bnr/spacemacs/tree/master/layers/%2B...). To enable that layer, open your Spacemacs dotfile with ‘SPC f e d’, then add ‘osx’ to the list within the ‘dotspacemacs-configuration-layers’ variable.

Re: Emacs 26.2 Released

#273
post #145

I'm really happy to see Emacs move faster, and especially the integration of package management since version 25. The old beast is still kicking! For what it's worth, I've actually been using on macOS the Mituharu branch [1], available in MacPorts as "emacs-mac-app". This version adds the [s]essential[/s] smooth-scrolling feature, and just in general seems to be slightly better integrated into macOS (except that it d…

All I need is a way to call elisp functions from the touch bar.

You can define custom touch bar buttons with BetterTouchTool (https://folivora.ai/), and configure them to run a custom shell script. There is probably some way to call Emacs functions via shell script.

However, be warned, BTT’s interface is messy and the buttons it creates don’t look right unless you manually adjust the styling yourself. Also, macOS won’t show BTT’s buttons unless you either allow BTT to take over your whole Touch Bar, hiding Apple’s global buttons, or you expand the BTT toolbar beforehand, which must be closed before you next try to press the Esc key.

Re: Emacs 26.2 Released

#274
post #83

Earlier quoted context omitted.

Why vscode?

My visual acuity varies, so I benefit a lot from software that lets me change the size of the elements on the screen. The typical Mac app allows the user to change the size of the text in the main pane, but everything else is a fixed size. In contrast, all the Electron apps I've tested give the user an easy way to change the size of everything, e.g., all the icons in all the panes. If I had found a way to change the…

I use emaca and can easily increase the seize of everything. I often do when training other devlopers.

I use a 4k monitor and with a C-x +++ everything is bigger by 3x. I can set it permanently too.

What is vscode doing different?

Re: Emacs 26.2 Released

#275

Earlier quoted context omitted.

I moved from Vim work roughly 6 years ago. I think Magit was the most mindblowing discovery I made after the switch. It is much more common now, and there is even a Vim equivalent I hear. I can't imagine using Emacs (or any editor) without Magit. `org-mode` and `org-agenda` is pretty cool and I wish I could use it, but I just gave up trying to configure and integrate it with my calendar, multiple devices and what not…

When I worked managing a machine learning team I really relied on org-mode to keep myself organized. I didn't have a multiple device problem because I just had org setup on my work laptop. When I 'retired' a few weeks ago I tried org-mode in a dropbox folder. Works great from my Linux and macOS laptops but iOS is a nuisance: I can read notes from the dropbox app and edit them with Textastic, but this is not 'ready at…

Take a look at beorg for iOS, I haven't fully explored it yet, but it supports some org-mode.

https://beorgapp.com

Re: Emacs 26.2 Released

#276

Earlier quoted context omitted.

I used Emacs for a couple of decades but switched over to VS Code after a couple of days of playing with it. I love Emacs and the concept of infinite configurability. But as it turns out, I don't actually use most of that flexibility. It's more common that I'll install a package, tweak a couple of knobs, and get on with work. Well, VS Code offers the equivalents of all the Emacs packages that I actually use, and they…

VS Code does not come with magit... and that in and of itself is a great reason to use Emacs. (This is coming from a daily Vim user) There really is nothing like Magit even as a plugin for VSC. VSC's scm mode is what I'd consider "barely passible". You can do stuff with it, but it's tiny/ugly/not very friendly. And that GitLens plugin doesn't really help with staging files/hunks etc... it's more meta info about past…

I do miss that. Magit is a work of art.

That said, I've realized that I don't do that much SCM stuff inside my editor. It's nice to have a beautiful client, but I'm comfortable with the git commandline itself and found myself using it for the tricky stuff, even when I had Magit at my fingertips.

My main editor-integrated workflow involves switching branches, committing, pulling, and other routing stuff that VSC handles just fine. It's definitely no Magit, but it covers 95% of the stuff I do.

Re: Emacs 26.2 Released

#277

Earlier quoted context omitted.

I setup the VS Emacs bindings and then always bind C-X C-E to open current file/line in Emacs from VS. With that I get along pretty well combining VS and Emacs.

Are you using one of the VS Emacs bindings available in the library or a custom one? I've found all of the most popular ones to not be good enough to use VS like Emacs in Windows.

The MS provided Emacs Emulation. You have to jump through some hoops to update it for 2017. It's not perfect, but it gets me close enough until I need to open in Emacs.

Re: Emacs 26.2 Released

#278

Earlier quoted context omitted.

Would you please share your code? I would like to have a similar setup for my emacs in windows.

It's on a different computer than the one I am using now, so it is going to take me at least a few hours to share it. I will make another reply to your comment when I have it.

Just reminding you about this request :)
Post reply on HN