emacs-eaf / emacs-eaf/eaf-org-previewer

Changing org content does not reload org-preview buffer

Open
#3 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Emacs Lisp
Stars
9
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Hey,
i can't figure it out.

When I load an org file with eaf-open, the org-preview will show up with the right content. After adding some content and saving it, a new html file is generated, but the org-preview will not show the new content or reload it.

When i use revert-buffer it says:
Buffer does not seem to be associated with any file

Using Emacs 29.

(use-package eaf
  :load-path "~/.emacs.d/site-lisp/emacs-application-framework"
  :config
  (require 'eaf-browser)
  (require 'eaf-pdf-viewer)
  (require 'eaf-video-player)
  (require 'eaf-image-viewer)
  (require 'eaf-markdown-previewer)
  (require 'eaf-org-previewer)
  )

Edit: I am using Fedora (Emacs 29). On Windows 11 (Emacs 28) these settings works.
Regards

Edit 2: Again, it generates the new HTML file

Saving file /home/ho/Documents/Test/test.org...
Wrote /home/ho/Documents/Test/test.org
Wrote /home/ho/Documents/Test/test.html
[EAF] Export /home/ho/Documents/Test/test.org to HTML.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at eaf-open and the eaf-org-previewer setup, then trace how saving the Org file produces the HTML and how the org-preview buffer is refreshed. Reproduce on Emacs 29 with the configuration shown; done means saved changes appear in the open preview without requiring revert-buffer.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, emacs-lisp
Domain
desktop, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.