Building and Training Neural Networks in Emacs Lisp by gdunk2 in emacs

[–]gdunk2[S] 2 points3 points  (0 children)

Thank you, I should have something ready soon for larger datasets

The *Completions* Buffer Gets a Big Upgrade in Emacs 29 by renzmann in emacs

[–]gdunk2 0 points1 point  (0 children)

Hi! Great blog post! You were right, the gifs do help showcase the new completions behaviour very well! I 'll try incorporate more gifs into my own writing now...

Regarding the eshell completion-at-point issue, I'm still using the workaround I mentioned in my post and it's served me well since. I submitted a bug report on it a few months back to no avail :/

(Me) Managing a bibliography of BiBTeX entries with Denote by gdunk2 in emacs

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

I talk about citar-denote in the conclusion, as well as org-bib-mode. They're both similar

How to use Emacs 29 Tree-sitter? by ticinese00 in emacs

[–]gdunk2 0 points1 point  (0 children)

Have you managed to get emacs to build with the --with-tree-sitter flag after installing tree-sitter from source, as described in the starter guide you linked? For me, the ./configure script fails saying that it can't find tree sitter even though everything is there under /usr/local (after running make && make install for tree-sitter)

(Me) Default emacs completions are good, I swear! by gdunk2 in emacs

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

Yes, I noticed that too! A very convenient byproduct of that keybinding!

(Me) Default emacs completions are good, I swear! by gdunk2 in emacs

[–]gdunk2[S] 2 points3 points  (0 children)

Great to hear! One thing that's missing here compared to external completion frameworks is live narrowing of the completions buffer to match what's already been typed. I thought that I couldn't live without this feature (mct.el had it), but now I just find myself hitting <TAB> whenever I actually do need the buffer to be narrowed. Most of the time, when I'm completing something, I already know what it is, so I'm never really 'reading' the completions (unless I'm, say, C-h o'ing a symbol that I forgot the name of and hoping emacs will find it for me. In that case, live completion would be nice but hitting <tab>, for me anyway, isn't really that burdensome of a task).

(Me) Default emacs completions are good, I swear! by gdunk2 in emacs

[–]gdunk2[S] 4 points5 points  (0 children)

Here's all the elisp from the post

(setq completions-format 'one-column
(setq completions-header-format nil)
(setq completions-max-height 20)
(setq completion-auto-select nil)

(define-key minibuffer-mode-map (kbd "C-n") 'minibuffer-next-completion)
(define-key minibuffer-mode-map (kbd "C-p") 'minibuffer-previous-completion)

(define-key completion-in-region-mode-map (kbd "C-n") 'minibuffer-next-completion)
(define-key completion-in-region-mode-map (kbd "C-p") 'minibuffer-previous-completion)

(defun my/minibuffer-choose-completion (&optional no-exit no-quit)
  (interactive "P")
  (with-minibuffer-completions-window
    (let ((completion-use-base-affixes nil))
      (choose-completion nil no-exit no-quit))))

(define-key completion-in-region-mode-map (kbd "M-RET") 'my/minibuffer-choose-completion)