Re: Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)]

2020-09-06 Thread Bastien
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  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



Re: Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)]

2020-09-03 Thread Dominick Samperi
Hello Bastien,

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.

On Thu, Sep 3, 2020 at 6:09 AM Bastien  wrote:
>
> Hi Dominick,
>
> Dominick Samperi  writes:
>
> > No colors appear in first file opened. Must use (org-mode-restart)
> > to enable colors after opening first file.
>
> Can you provide a reproducible recipe?
>
> --
>  Bastien



Re: Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)]

2020-09-03 Thread Bastien
Hi Dominick,

Dominick Samperi  writes:

> No colors appear in first file opened. Must use (org-mode-restart)
> to enable colors after opening first file.

Can you provide a reproducible recipe?

-- 
 Bastien



Re: Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)]

2020-09-03 Thread Huszaghmatt
  
  

 Does refreshing the buffer work too? If so, I’ve had the same issue for a 
while, but never really knew what was going on?
  

  
Matt
  

  
  

  
  
>   
> On Sep 2, 2020 at 10:20 PM,  mailto:djsamp...@gmail.com)>  
> wrote:
>   
>   
>   
>  No colors appear in first file opened. Must use (org-mode-restart) to enable 
> colors after opening first file.  
>
>   
  
  
 

Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)]

2020-09-02 Thread Dominick Samperi
No colors appear in first file opened. Must use (org-mode-restart) to
enable colors after
opening first file.