1
submitted 10 months ago by varsderk@alien.top to c/emacs@communick.news

A few days ago I asked if there was a Vim port of Denote. Well, I went ahead and had ChatGPT help me make one.

Here it is: https://git.sr.ht/~ashton314/vim-denote

Why make this? So my Vim-using friends (what can I say—I'm a tolerant guy) can work with me on some shared Denote-formatted notes.

Is the package awful? Yes. Am I gonna fix it? No. I've written enough Vim script to last a long time. I'll go back to the nice land of Emacs Lisp now. (In spite of all its warts, it's still a Lisp and therefore beautiful.)

[-] varsderk@alien.top 1 points 10 months ago

Tooting my own horn here—you might like looking at my starter kit "Bedrock" which is a minimal set of defaults to make Emacs not look so dumpy. :) Take from it what you'd like.

[-] varsderk@alien.top 1 points 10 months ago

I use consult-ripgrep to do the search, which shows me a live preview of the match candidates. If I want to make a buffer with all the results, I call embark-act then embark-export to dump the results into a buffer.

I detail this workflow (including editing the matches!) here on my blog, which should have more details if you're lost.

1
submitted 10 months ago by varsderk@alien.top to c/emacs@communick.news

Bear with me here—I'm an avid Emacs user. I love it so much that I want to stay in Emacs wherever possible! I need to collaborate on some notes with a Vim user. It'd be nice if there were some tools in Vim that they could use to navigate Denote-formatted Markdown files as easily as I can. Does anyone know of a Vim plugin that works with Denote?

[-] varsderk@alien.top 1 points 11 months ago
[-] varsderk@alien.top 1 points 11 months ago

Auctex is a notoriously tricky package to get built.

[-] varsderk@alien.top 1 points 11 months ago

I've been a Fastmail user for several years now. I use the masked mail feature extensively. I love controlling my own email domains. Support is 10/10. Very reliable service.

[-] varsderk@alien.top 1 points 11 months ago

This is my current config: set TERM to "xterm", and fix the otherwise impossible-to-see ANSI blue:

(use-package eat
  :custom
  (eat-term-name "xterm")
  :custom-face
  (ansi-color-bright-blue ((t (:foreground "#00afff" :background "#00afff"))))
  :config
  (evil-set-initial-state 'eat-mode 'emacs)
  (eat-eshell-mode)
  (eat-eshell-visual-command-mode))
[-] varsderk@alien.top 1 points 11 months ago

I had to use Davmail to get it to work. Now I forward everything, so I don't run Davmail anymore, but it worked well enough while I needed it: https://lambdaland.org/posts/2023-05-03_email_with_outlook/

[-] varsderk@alien.top 1 points 11 months ago

Oooooooooohhhhhhhhhh… I can run things like cal or julia and it handles all the escape codes seamlessly. Wow. Totally sold now.

[-] varsderk@alien.top 1 points 11 months ago

Thank you! That's helpful. I'm a little confused: what benefit does turning the eshell buffer into an eat terminal give you? Better perf? I'm still new to eshell and stuff.

2
submitted 11 months ago by varsderk@alien.top to c/emacs@communick.news

Hey there,

Maybe I'm just missing something obvious, but I'm a little bit confused as to how eat-eshell-mode works. If I, for example, fire up Eshell with Eat installed:

(elpaca-test
  :interactive t
  :init
  (elpaca eat (eat-eshell-mode))
  (eshell))

Then I try running e.g. top, I'd expect top to open in an Eat buffer, but it's not doing that for me right now: it just opens in plain ol' dumpy Term mode.

What am I missing? Is this not what Eshell integration is supposed to do? How do you use Eshell and Eat together?

varsderk

joined 11 months ago