emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: Dominick Samperi <djsamperi@gmail.com>
Cc: emacs-orgmode@gnu.org
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	[thread overview]
Message-ID: <87wo17jqqp.fsf@gnu.org> (raw)
In-Reply-To: <CADUbQ5gAS=XiG-RowsLcXVH54M4wu6rZzMsXUr-3mxWcu26wmA@mail.gmail.com> (Dominick Samperi's message of "Thu, 3 Sep 2020 11:28:40 -0400")

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


      reply	other threads:[~2020-09-06  7:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wo17jqqp.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=djsamperi@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).