[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs
From: |
Bastien |
Subject: |
Re: Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)] |
Date: |
Sun, 06 Sep 2020 09:42:22 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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 <djsamperi@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