I've been using gptel for a couple of days and it is absolutely bonkers. It is Magit-level of thought out. However I enjoyed relying less on the transient menu, and rather focus on writing my own wrapper functions via gptel-request.
Honestly I've been kind of an AI skeptic until very recently, and gptel in addition to this article were what pushed me over.
I am using counsel with projectile mainly for two use cases:
counsel-projectile-ag for project-wide grep
counsel-projectile-find-file to get a list of file names by typing some characters.
I usually have them bound to C-C C-sand C-C C-f, which used to work well with any other major modes.
Recently, I switched to using tree-sitter and set it up to use python-ts-mode. I also started using lsp-mode. Since then, whenever I open any python file, C-c C-s and C-c C-f are bound to the functions from python-mode. I've tried adding
to python-ts :config on use-package, and similar to python-mode, but I am still getting
C-c C-s runs the command python-shell-send-string (found in
python-ts-mode-map), which is an interactive native-compiled Lisp
function in ‘python.el’.
It is bound to C-c C-s.
(python-shell-send-string STRING &optional PROCESS MSG)
Send STRING to inferior Pyth
Everything is better with emacs. Lets see how we can plug in ollama into it. We are going to use ellama and they like the zephyr, so lets pull that. You can configure it to use other things, but lets go with the defaults for now.
Installation 1 ollama pull zephyr Update your repos
M-x straight-pull-...
Is ellama the recommended package to use for code assistance on emacs? @emacs
I'm getting some useful results when asking questions to Mistral (via Brave Browser) when working with programming languages that I am learning. What is the current recommended approach to get it working with #emacs?
So many cool posts about #emacs recently but I am not sure the microblog UI is the best for them. Ideally, I wish we could group AP actors to announce any activity by a certain hashtag, so they could become posts in something like #lemmy instead.
In the meantime, how do I get more of this emacs conversation on @emacs ?
A compelling idea in the Transient UI package is the ability to craft interfaces where commands specific to a context can be discovered and used. Such contextual interfaces enable a user to...
Its been a few weeks, but I didn't see any post about it here. In case you aren't following the emacs-devel list, Eli Zaretskii, the current MS-Windows maintainer, is asking for anyone to take over day to day issue management and supporting the port as he's wanting to step down from the role.
Take a look at the python code above. Because the word filter is a builtin function it gets highlighted differently than the rest of the code. The problem is, none of the occurrences of the word here relate to the builtin function and it semantically should not be any different from any other decorator or callable.
I honestly think that this is a bug with the syntax highlighter (as it should be easy to discern between a built-in function call and a method from another class, but if I could just disable syntax highlighting in python-mode for the specific keyword, it should be fine? Is that possible to do in elisp?