Hi Dominick, thanks for sharing this on the list. I don't use Windows, so it is difficult for me to understand what can go wrong.
Dominick Samperi <djsamp...@gmail.com> writes: > My current work-around is to map F12 to (org-mode-restart). > > After installing a fresh version of Emacs 27.1 using the Windows > installer, and copying > org-9.3.7 to ~/.emacs.d, the first file I open is not colorized until > I use F12. My init.el contains: > (add-to-list 'load-path "~/.emacs.d/org-9.3.7/lisp") > (setq auto-mode-alist (cons '("\\.s?txt?\\'" . org-mode) auto-mode-alist)) > (require 'org) > > This happens when the first file I open has name foo.org, or bar.txt. > There are no problems when I continue to open files. Note this other Emacs bug report: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=43196 Perhaps the discussion there gives you useful hints. Best, -- Bastien