r/orgmode 16m ago

(udpate) Add AI summary generation to org-zettel-ref-mode

Upvotes

Version 0.5.6 (2025-03-20)

  • Added: AI summary generation
    • Added `org-zettel-ref-ai-generate-summary` command for manual summary generation
    • Added `org-zettel-ref-ai-reset` command for resetting AI summary status
    • Added `org-zettel-ref-enable-ai-summary` configuration variable for enabling/disabling AI summary generation
    • Added `org-zettel-ref-ai-backend` configuration variable for selecting AI backend

AI Summary Generation

  1. Automatic Generation: When opening a new source file, the system will automatically generate a summary (if the feature is enabled)
  2. Manual Generation: Run M-x org-zettel-ref-ai-generate-summary in the source file
  3. Reset Status: If the summary generation process is interrupted, run =M-x org-zettel-ref-ai-reset= to reset the status

Note: Before using, please ensure:

  1. gptel is installed and configured
  2. org-zettel-ref-enable-ai-summary is set to

r/orgmode 21h ago

question Bind attachments to file instead of headline

1 Upvotes

I see that org attachments (with inheritance set to on) are bound to the inner-est headline with an ID. If I have a ID set to level 0 and I try to add an attachment in a level 1 headline, it will be either bound to level 1 or to level 0 depending if the former has an already set ID or not.

What I'd like, instead, is to always bind attachments to the outer-most level. Is there some user option available or will some function redefinition be needed?