snosov1 / toc-org

toc-org is an Emacs utility to have an up-to-date table of contents in the org files without exporting (useful primarily for readme files on GitHub)
GNU General Public License v3.0
292 stars 29 forks source link

toc-org makes Gnus prompt to save, for article in org-mode mailing list #6

Closed bradyt closed 7 years ago

bradyt commented 9 years ago

This snippet:

(eval-after-load "org" 
  (lambda () 
    (if (require 'toc-org nil t) 
        (add-hook 'org-mode-hook 'toc-org-enable) 
      (warn "toc-org not found"))))

Has the following effect:

When i access org-mode mailing list with gnus, on certain articles (I guess with org-mode babel blocks) it prompts to save.

snosov1 commented 9 years ago

Hi!

There was a pretty short time period recently, when an org file was saved immediately after opening. This is not the case anymore, so my guess is that something like this shouldn't happen anymore.

Can you, please. double-check this with the most recent version and suggest a way to reproduce this if it still happens?

bradyt commented 9 years ago

I have toc-org from August 18th. It still occurs.

My first try at creating a minimal working example didn't work, not sure when I can make a more comprehensive attempt.

(I was going to say M-x gnus RET y ^ a nntp RET news.gmane.org, select orgmode and browse through articles, but this wasn't sufficient in a vm just now, despite enabling toc-org on a hook.)

snosov1 commented 9 years ago

Ok, I'll mark this with can't reproduce for now.

Please, update the issue when you have a chance.

snosov1 commented 7 years ago

This issue has rotten a bit. Closing it for now, please, let me know if you still care about it.