emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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 15:56 Dominick Samperi
  2020-09-03  7:04 ` Huszaghmatt
  2020-09-03 10:09 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: Dominick Samperi @ 2020-09-02 15:56 UTC (permalink / raw)
  To: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* 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-02 15:56 Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)] Dominick Samperi
@ 2020-09-03  7:04 ` Huszaghmatt
  2020-09-03 10:09 ` Bastien
  1 sibling, 0 replies; 5+ messages in thread
From: Huszaghmatt @ 2020-09-03  7:04 UTC (permalink / raw)
  To: Dominick Samperi; +Cc: Emacs-Orgmode

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

      
  

 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,  <Dominick Samperi (mailto:djsamperi@gmail.com)>  wrote:
>   
>   
>   
>  No colors appear in first file opened. Must use (org-mode-restart) to enable colors after opening first file.  
>
>   
  
  
     

[-- Attachment #2: Type: text/html, Size: 712 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* 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-02 15:56 Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)] Dominick Samperi
  2020-09-03  7:04 ` Huszaghmatt
@ 2020-09-03 10:09 ` Bastien
  2020-09-03 15:28   ` Dominick Samperi
  1 sibling, 1 reply; 5+ messages in thread
From: Bastien @ 2020-09-03 10:09 UTC (permalink / raw)
  To: Dominick Samperi; +Cc: emacs-orgmode

Hi Dominick,

Dominick Samperi <djsamperi@gmail.com> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* 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 10:09 ` Bastien
@ 2020-09-03 15:28   ` Dominick Samperi
  2020-09-06  7:42     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: Dominick Samperi @ 2020-09-03 15:28 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

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 <bzg@gnu.org> wrote:
>
> Hi Dominick,
>
> Dominick Samperi <djsamperi@gmail.com> 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* 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 15:28   ` Dominick Samperi
@ 2020-09-06  7:42     ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2020-09-06  7:42 UTC (permalink / raw)
  To: Dominick Samperi; +Cc: emacs-orgmode

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-09-06  7:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-02 15:56 Bug: No colors in first file opened [9.3.7 (9.3.7-dist @ c:/w/.emacs.d/org-9.3.7/lisp/)] Dominick Samperi
2020-09-03  7:04 ` Huszaghmatt
2020-09-03 10:09 ` Bastien
2020-09-03 15:28   ` Dominick Samperi
2020-09-06  7:42     ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).