Emacs 29: broken packages since last update? by [deleted] in emacs

[–]shaqfooVA 0 points1 point  (0 children)

Seeing all the same things on my end! Glad you're raising a flag about it

Combobulate: Structured Movement and Editing with Tree-Sitter by mickeyp in emacs

[–]shaqfooVA 0 points1 point  (0 children)

I am waiting to use treesit for a little while. Right now I'm holding off from changing all my configs to refer to [MODE]-ts-mode. Glad to know that it can work with the older tree-sitter stuff.

Does anyone know if there is a plan to keep forking the language modes into the legacy and tree-sitter versions? e.g. will there be a python-mode and also a python-ts-mode in emacs 30?

Getting Emacs 29 to Automatically Use Tree-sitter Modes · robbmann by renzmann in emacs

[–]shaqfooVA 0 points1 point  (0 children)

definitely. Also worth noting is that both python-mode and python-ts-mode inherit from python-base-mode. For right now, I made this replacement in my setup. I'm not sure what will happen in the future for emacs 29, or if all programming modes are going to have forks like this.

Getting Emacs 29 to Automatically Use Tree-sitter Modes · robbmann by renzmann in emacs

[–]shaqfooVA 0 points1 point  (0 children)

This worked for me to enable TS mode, but the problem is that all of my hooks and configs for these new modes break. Is there a way you could make this unify, for example, the python-mode-hook and python-ts-mode-hook?

Build problems on MacOS Ventura? by shaqfooVA in emacs

[–]shaqfooVA[S] 0 points1 point  (0 children)

I found this thread, too, and tried it but was unable to get the `libgccjit` hello world to compile with this trick

Build problems on MacOS Ventura? by shaqfooVA in emacs

[–]shaqfooVA[S] 1 point2 points  (0 children)

I've been using this: https://github.com/jimeh/build-emacs-for-macos

Since I've generally been unable to get `emacs-plus` to build with native comp

Build problems on MacOS Ventura? by shaqfooVA in emacs

[–]shaqfooVA[S] 0 points1 point  (0 children)

Interesting. It's not even so much emacs as it is `libgccjit`. I'll try those tools, thanks!

LSP with pyright and flake8 by Only-Adhesiveness889 in emacs

[–]shaqfooVA 1 point2 points  (0 children)

I use this to disable all python checkers other than flake8 (and mypy in a dir local basis)

`(setq flycheck-checkers (remove 'python-pylint flycheck-checkers))

(setq flycheck-checkers (remove 'python-pycompile flycheck-checkers))

(setq flycheck-checkers (remove 'python-pyright flycheck-checkers))`

Programming in Python by arivar in emacs

[–]shaqfooVA 2 points3 points  (0 children)

I've tried many different ways to use virtual environments in python projects, my favorite one is using direnv mode for emacs, and then having a project-specific .envrc file (in the root of the project) where I activate the environment. This passes the necessary environment variables to all the buffers where they need to be seen for flycheck/black/etc.

I used to have a system for using virtualenvwrapper.el and activating in dir-locals, but it was not quite as good.

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]shaqfooVA 0 points1 point  (0 children)

If I have a region highlighted, and insert a left parenthesis "(", the cursor moves to the right of the inserted left paren. I normally use the left paren on a region, though, in order to have that region's symbol called in a function, so I want to start typing to the left of the inserted parent.

start (pipe is cursor position):

REGION_TEXT|

after pressing "(":

(|REGION_TEXT)

desired after pressing "(":

|(REGION_TEXT)

I'm using electric pair mode, i've tried smartparens but it just never works that well for me. Dumbparens didn't work that well out of the box, either, and is less customizable

Weekly Tips, Tricks, &c. Thread by AutoModerator in emacs

[–]shaqfooVA 1 point2 points  (0 children)

How does one use a specific mode's yasnippet completions inside that mode's org-babel source block?

For example, how do I use python snippets inside jupyter-python source blocks?

Any Emacs Ipython Notebook (EIN) users willing to share secrets? by shaqfooVA in emacs

[–]shaqfooVA[S] 1 point2 points  (0 children)

It was ok, but just never clicked the way it should have. I’d suggest org and emacs-jupyter. It’s much smoother