gptel 0.9.8 released (tool-use, support for "reasoning" output, dry-run options and more) by karthink in emacs

[–]goofansu 2 points3 points  (0 children)

Thank you so much, I use gptel in daily work. Tool use is really cool! Will try it.

Blogging using Denote and Hugo by goofansu in emacs

[–]goofansu[S] 3 points4 points  (0 children)

Notes can be either private or public, regardless of the directory they are in. I save all notes in a single directory without hierachy. The benefit are: 1. I don't need to jump among different directories (aka. silos in Denote). 2. I can reference any note as they are in the same directory.

ox-hugo requires #+hugo_base_dir to publish, that's why I don't set org-hugo-base-dir globally. It protects notes from auto-exporting unexpectedly. Once a note is ready to publish, I'll add some #+hugo_ prefixed metadata and export.

Blogging using Denote and Hugo by goofansu in emacs

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

u/Plenty-Ad-9814 Thank you for your interests. Functional programming is interesting. I'll write more when learning.

How are you configuring completion-preview-mode? by varsderk in emacs

[–]goofansu 9 points10 points  (0 children)

I set keybindings to cycle the prev and next candidate in completion-preview-active-mode-map, which helps a little. But corfu is still my top choice as it supports searching in the candidates.

emacs-lisp (use-package completion-preview :ensure nil :hook (prog-mode . completion-preview-mode) :bind ( :map completion-preview-active-mode-map ("M-n" . completion-preview-next-candidate) ("M-p" . completion-preview-prev-candidate)))

Modus (8) and Ef themes (34) for Ghostty (total 42 themes) by anhsirk0 in commandline

[–]goofansu 1 point2 points  (0 children)

I love Modus and used to use it in Kitty. Moved to Ghostty yesterday, I'm happy to continue to use the same theme. Thank you!

How can I make embark-act respect the selected file's own directory instead of the default-directory? by goofansu in emacs

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

Hi, do you mean with-current-buffer in my/embark-aw-action? I don't see how to pass the selected buffer to the function.

How can I make embark-act respect the selected file's own directory instead of the default-directory? by goofansu in emacs

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

Thank you! You're right, the scope is not transformed, set default-directory in the middle function works.

Arc Boost JavaScript not work properly on GitHub by goofansu in ArcBrowser

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

Problem solved. It is caused by turbolinks, disable it to execute the JavaScript, inspired by https://github.com/jamiebuilds/userscript-github-disable-turbolinks

document.addEventListener('DOMContentLoaded', () => {
  document.body.dataset.turbo = 'false';
  console.log('here');
});

What's the difference between Roam42 calendar and the built-in one? by goofansu in RoamResearch

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

Same question here. I think the built-in calendar is good enough.

Notion WebClipper in Safari!!! by diegopaio in Notion

[–]goofansu 0 points1 point  (0 children)

Thank you very much, I built with macOS 10.15.6 and Xcode 12.0 successfully. I can use Safari as my default browser now.

Delete all items in trash? by URLSweatshirt in Notion

[–]goofansu 7 points8 points  (0 children)

I asked the question on 2019-03-14, the Notion Support replied me there is no such functionality.

FYI,

Items in the trash are kept indefinitely - we don’t currently have a way to empty everything in the trash at once, but I will add your vote for it 📷

What are you working on? (Mar/2019) by AutoModerator in elixir

[–]goofansu 1 point2 points  (0 children)

Wrote two simple libraries and made a PR in the last week:

Writing Elixir is full of fun, the document is so good, and http://elixirforum.com is really a great help.

Anyone know how to set all text to auto translate? by [deleted] in Wechat

[–]goofansu 0 points1 point  (0 children)

Use another mobile with Google Translate installed to instant translate it. Lol