noooit

joined 1 year ago
[–] noooit@alien.top 1 points 11 months ago (1 children)

It's a weird default. The file is literally a elisp code with .el like almost everything else.

[–] noooit@alien.top 1 points 11 months ago

You can select in one go in GNU Emacs. You can bind this to some shortcut.

(defun select-func-at-point ()
  (interactive)
  (let (bounds pos1 pos2 mything)
    (setf bounds (bounds-of-thing-at-point 'defun))
    (setf pos1 (car bounds))
    (setf pos2 (cdr bounds))
    (set-mark pos1)
    (goto-char pos2)))
[–] noooit@alien.top 1 points 11 months ago

If you have to compare with vterm, it doesn't. Vterm has more features, faster and less buggy.

[–] noooit@alien.top 1 points 11 months ago

I used both extensively but the both are faster than term or shell.
Vterm is the fastest and most correct about handling key events.
Maybe term will get similar improvement as vterm in the future. This is such a basic thing that most other IDEs also seem to support properly.

[–] noooit@alien.top 1 points 11 months ago

Show him one of the email clients on GNU Emacs. Vterm's directory tracking is also unique.

[–] noooit@alien.top 1 points 11 months ago

I stay away from stupid plugins that block my main thread, so of course it's a deal breaker. I want to use those shitty plugins whose authors don't know what they are doing.

[–] noooit@alien.top 1 points 11 months ago

For tui user, i think tmux makes sense, it has similar keybindings anyway. For gui users vterm really helps. And it gets you even more familiar key bindings. It works for all the front ground apps I use.

[–] noooit@alien.top 1 points 11 months ago

Multi-processing is the only way for staying asynchronous.

[–] noooit@alien.top 1 points 11 months ago

Tramp has incredibly poor support for non-ssh protocol, dbus one being utterly useless and shouldn't exist to begin with. Just give up and try starting sshd in lxc.

[–] noooit@alien.top 1 points 11 months ago

Same. Clipboard sharing with other apps won't work either. I think it's better to build emacs without pgtk. There are no benefits.

[–] noooit@alien.top 1 points 11 months ago

Wrong or not, it seems it's completely unnecessary in Emacs 29 for me.
.emacs is so much cleaner now.

[–] noooit@alien.top 1 points 1 year ago

Eglot is really awful when it comes to dynamic configs like workspace config and initialization option. I really went so far as using environment variable and a shell script for using clangd to support switching cmake binary dir. It's so much easier with vim.

In case of python, I stick with jedi-language-server for now. When I figure out how to use pyright, I might come back here and comment again.

view more: next ›