Live data from Hacker News

EmacsConf 2021 Call for Proposals

emacsconf.org

71–80 of 86 posts

Re: EmacsConf 2021 Call for Proposals

#71
post #70

Earlier quoted context omitted.

Ouch. macOS with iTerm2 and then Alacritty. Now I am even more confused why it doesn't work well for me.

What is the output of "echo $TERM" and "tput colors"?

It's actually 256 for both. WTF, apparently I didn't setup iTerm2 correctly. Let me get to it...

Re: EmacsConf 2021 Call for Proposals

#72
post #64

Earlier quoted context omitted.

macOS. Can you give me a hint on how to do the async LSP thing then? I never was actually interested in becoming a master in Emacs. ¯\_(ツ)_/¯

Looks like LSP mode is async [1], but I haven't set it up myself. I mostly use Emacs as an org-mode app. [1] https://emacs-lsp.github.io/lsp-mode/

I'm the same. I do still edit all of my code in emacs, but I grew to dislike most auto complete setups years ago. :(

I sometimes fear it hurts my productivity, but I'm not seeing any real boost in the folks that use them.

Re: EmacsConf 2021 Call for Proposals

#73
post #70

Earlier quoted context omitted.

What is the output of "echo $TERM" and "tput colors"?

It's actually 256 for both. WTF, apparently I didn't setup iTerm2 correctly. Let me get to it...

Actually never mind, those commands don't know anything about true colors (> 256). I think you want to check for $COLORTERM according to https://gist.github.com/XVilka/8346728 ?

Re: EmacsConf 2021 Call for Proposals

#74
post #65

Earlier quoted context omitted.

Ouch. macOS with iTerm2 and then Alacritty. Now I am even more confused why it doesn't work well for me.

For your possible inspiration: Emacs in iterm2/tmux with 24-bit color, and a bunch of fancy icon sets mapped into the private use area running LSP mode looking a large Python code base[0]. [0]: https://muppetlabs.com/~mikeh/ttyemacs.png

Oh good lord, how do you get that sort of layout?

(I need to learn how Emacs manages its windows; Mostly I have one Treemacs buffer open on the left, then a single large editor window with Olivetti mode on the right.)

Re: EmacsConf 2021 Call for Proposals

#75
post #63
post #21

Earlier quoted context omitted.

Just for what it's worth, `goimports` has done this for many years: https://pkg.go.dev/golang.org/x/tools/cmd/goimports It's how Emacs handled inputs before there was lsp-mode, and presumably is easy to link into other editors too (it's just an implementation of gofmt that manages imports). I agree: it's an extremely nice feature to have.

Ah, well, I only picked up go very recently so I have no experience writing go outside of the emacs+lsp environment.

Don't let me sound like I'm talking down lsp-mode, even though I have never gotten it to work reliably (railwaycat, Go, and Rust, and lots of TRAMP). lsp-mode is neat.

Re: EmacsConf 2021 Call for Proposals

#76
post #65

Earlier quoted context omitted.

For your possible inspiration: Emacs in iterm2/tmux with 24-bit color, and a bunch of fancy icon sets mapped into the private use area running LSP mode looking a large Python code base[0]. [0]: https://muppetlabs.com/~mikeh/ttyemacs.png

Oh good lord, how do you get that sort of layout? (I need to learn how Emacs manages its windows; Mostly I have one Treemacs buffer open on the left, then a single large editor window with Olivetti mode on the right.)

If you have xterm-mouse-mode set it's pretty easy to size windows with your mouse. I just create the splits with the usual emacs window commands and then move things around with my mouse until I have things just right.

Re: EmacsConf 2021 Call for Proposals

#77

Earlier quoted context omitted.

Re (3): There is a terminal-only version, and it's not even new. It should be available without any build flags, though maybe you'll need a launch flag. Try emacs -nw from the terminal if emacs by itself launches a GUI window for you.

Yep, did that a while ago, was very disappointed how much coloring do you lose by doing it, for seemingly no good reason. :( Could be my config but dude, it's a 99% almost pristine Spacemacs config. You can't get much more vanilla than that.

Yeah, that’s part of using a terminal. Color support is janky and many keystrokes are indistinguishable from another (for example, C-i and TAB, C-[ and ESC, C-S-anything, C-arrow keys, and so forth). You can’t have a terminal emacs without these flaws.

Re: EmacsConf 2021 Call for Proposals

#78

I’m not a long-time emacs user, but as a new one, my enthusiasm is really growing. Like everyone, I’m finding that I’m in an increasingly disparate set of tools with diverging interface design choices to get my jobs done. The cognitive dissonance that all these different interfaces presents me with feels like it’s getting out of hand, and is growing non-linearly. Emacs is a arcane tool, and is dated in so many ways,…

I've been using emacs for many years now, and I'm sad to say that it has never been slower, despite the hardware getting better. Now it lags like crazy when editing a latex document, no matter the recent version. Something went off the rails in the last year or so, and even Atom is more responsive.

Even without your init file (`emacs -Q`)? Or try profiling (M-x profiler-start, pick cpu, do stuff, then M-x profiler-report) to see if any third party package is involved or not

Re: EmacsConf 2021 Call for Proposals

#79
post #73

Earlier quoted context omitted.

It's actually 256 for both. WTF, apparently I didn't setup iTerm2 correctly. Let me get to it...

Actually never mind, those commands don't know anything about true colors (> 256). I think you want to check for $COLORTERM according to https://gist.github.com/XVilka/8346728 ?

It returns "truecolor" alright.

Re: EmacsConf 2021 Call for Proposals

#80
post #12

LSP-mode has really reinvigorated emacs, at least for me. With flycheck and a language server it's magical. Writing go, it even auto-formats your code and auto-adds imports.

I've struggled a bit with LSP mode (at least for Elixir). I find it hard to use as a full-time IDE replacement, especially since IntelliJ has such good emacs keybindings. However, as a general text editor, emacs is still great. And I enjoy org-mode.

Does IntelliJ support Elixir? I am writing Elixir now so would like to know that. However, I haven't encountered any problem while using elixir-ls with eglot (Emacs). For performance, I can recommend enabling native-comp. It's now merged into master which I recompile every month or so, it's pretty stable despite being git HEAD.
Post reply on HN