From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6yZ4GGu3jGAT6gAAgWs5BA (envelope-from ) for ; Sat, 01 May 2021 04:05:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KCIgE2u3jGCGJwAAB5/wlQ (envelope-from ) for ; Sat, 01 May 2021 02:05:31 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B625DA573 for ; Sat, 1 May 2021 04:05:29 +0200 (CEST) Received: from localhost ([::1]:44382 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcf0Z-0003yz-Ij for larch@yhetil.org; Fri, 30 Apr 2021 22:05:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcezm-0003yc-2D for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 22:04:38 -0400 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:36742) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lceze-0000pq-0L for emacs-orgmode@gnu.org; Fri, 30 Apr 2021 22:04:37 -0400 Received: by mail-pg1-x533.google.com with SMTP id j7so41182130pgi.3 for ; Fri, 30 Apr 2021 19:04:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version; bh=YR0CBOBoolM0Cum8twTDmQsznRbxW8/Z4uA0v6Hpcq4=; b=jmeoR8+pfg34QS65tLqa1fqWRQsWWqn9AbPrHhADHYJwaWOiIGfW0zh7Pk5Xu+dKoL YEbWkZqyjvX0bec2dII4ZDYZcrZQw0CL051L8YiD7pLhOfWLY3CcAoiHYesSVFd0qvSz 83ZD44PDofEEv80RtZYJ9y29xiLVV8ZpHJ3tc1Ev8xW9VAJPJTaeeEoilmNbDuhXhaD0 M2kBQYxOI4rIiYIF3RsXjZifHccq02RgXeqChirShDpa3KMGvodhSpQV3GxLeE/C4F1D sH0x+NPFoSFci9OGz1Ap1IJrUAmk+QA0Tb6tvBtvVX711Zey7YEU/rtL6QcFb7biLR+z P4zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version; bh=YR0CBOBoolM0Cum8twTDmQsznRbxW8/Z4uA0v6Hpcq4=; b=GYB1cJ3cmyfGMUw6kIPxLHK6r4f4d+z2ZmdHVsyGZp7vbi1WDnZNskgcTv4LzpGT7d hUulTzRqd7ZATILKCbBzeiPfB87B1OKrP0vBUXGpzNgdmB8J/5omRVS9WjNnhnnNoDy7 df1obsu9cLBtbtM2IXWaRlfXbPpatyrZT5BnhBvkgALU0FDVxJCWFSAfjir8bfUje3i4 ZKuBWch6pM7Civ/AukqUYzq2Vy3CFc9yK//B/URepnkD1fe22dnro6aO0Ci5Dd9Dglls g3q6GEhVLuO/xJZxBHWS/iD4ql4lqkx8GRSXmNEpwkiaNlnyxIkgnNyBFzIUUKSBgIDn SHyQ== X-Gm-Message-State: AOAM533Op1ePKxBCBigtVkmKXvT7uMcKhpiOSmHsFvO+pJ6/a2Mur2u7 MKJD9gYmGpzwE31ywdjMdbyBKTM2O6I= X-Google-Smtp-Source: ABdhPJy/7GbNwAB6yK9I42sauXjHmPZZpte/iZYklT3P7PapH7PUEDw+P8juKwQAnGWZ8HX9ElH9tA== X-Received: by 2002:a05:6a00:1251:b029:27c:75f9:62f5 with SMTP id u17-20020a056a001251b029027c75f962f5mr7827653pfi.39.1619834667076; Fri, 30 Apr 2021 19:04:27 -0700 (PDT) Received: from tim-desktop (106-69-97-3.dyn.iinet.net.au. [106.69.97.3]) by smtp.gmail.com with ESMTPSA id f20sm3997038pgb.47.2021.04.30.19.04.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 19:04:26 -0700 (PDT) References: User-agent: mu4e 1.5.12; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: Bug: First file opened does not colorize (tested with 9.3.7 and 9.4.5) Date: Sat, 01 May 2021 12:03:49 +1000 In-reply-to: Message-ID: <87wnsjgqfs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::533; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x533.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619834729; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=YR0CBOBoolM0Cum8twTDmQsznRbxW8/Z4uA0v6Hpcq4=; b=ZgDVkqXHFTRv3qdFgqayv23LZpqkhlQImeJOcPn6qDTbTm4WJPg4yLcJBFvHNMf4XwvwUx KNc4IZ/xRbPrCxXT5jgzdqCOaRAqZatDPtbL3OeaMX1tFSX3fCw7dcVRibgwT1n1Jrzf3D RkAOIQ8lC79q0FBQiw8kYiKfj06U4DCpmvvgfaTDn9Msy347M6jiOB/HBlEw82enVB0Wpg r5ENkoJk72FKjenQl+bsBE0+arMhtpqGvU8KIk9wGFrzFraKZrDlgR3FvrGH4A3ehb3lSO lEch3GmoEBfx3bFunRs2VvSo8xWidMWbhyN9Au0saDCisb0CFHfbDHn7Flidjg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619834729; a=rsa-sha256; cv=none; b=HcdV7o0CnxATNs7Xnv2UdkjiHqraO1xEOlm4dU5LxLoh8VFsQdQ20v/zXjsyEb47SldOWI SfgBRXaoBPFHUhzM/f/Fpa44hso3zTkpfVcZhElb4djD37HtxFih23BW2VmD+mDHpX78ky gvsMAXR7xFQWn2w9Evsz/4J6CUzFkpcEHA99Zme8ky2hloboEpw86KGbDXVeU3ca/IEzXh 0zJ3MrBac+O4rgsZ3S/pVNY3Hl0fU4CqH0i0f4ncDqZaOjF02xirFcTYhHeuSxE5xHT4h5 E59bYr+bzoIW5gS+Gm4Xo3a1qPW7cixYN+YEBNH40p7a23qBC4NA02S3iElQaw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jmeoR8+p; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -3.16 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=jmeoR8+p; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: B625DA573 X-Spam-Score: -3.16 X-Migadu-Scanner: scn0.migadu.com X-TUID: FsN+op2VWXNt What about running emacs -Q and then opening the org file. Does the syntax highlighting work then? Dominick Samperi writes: > Changing the suffix to .org does not help. Still the first file opened > does not colorize. > I first observed this problem about six months ago (and have been > using a function > key to fix with 'org-mode-restart). > > The problem does not appear on a new desktop, running > the same version of Emacs, same version of org-mode, and same .emacs.d. > > The only notable difference between the new machine and the older machines > where the problem occurs is that the newer machine has an solid state drive, > whereas the other machines have conventional hard drives. > > On Fri, Apr 30, 2021 at 8:51 PM Samuel Wales wrote: >> >> what if .org? >> >> On 4/30/21, Dominick Samperi wrote: >> > The first org mode file opened (.txt suffix) is not colorized. To force >> > colorize I use 'org-mode-restart. Subsequently opened txt files are >> > properly colorized. This happens under Windows 10 using Emacs 27.1 and >> > 27.2, and org-mode 9.3.7 and 9.4.5. There are no problems under Ubuntu >> > Linux. >> > >> > Oddly, the problem does not appear on my new desktop (Lenovo). It >> > happens on my ASUS laptop. I'm using the same version of org-mode and >> > Emacs on both machines. >> > >> > I copied .emacs.d from the desktop to the laptop >> > to be sure the environments are the same, and I installed Emacs 27.1 >> > and 27.2 on the laptop. The colorize problem occurs on the laptop no >> > matter the environment. It also occurred with my old desktop. >> > >> > >> >> >> -- >> The Kafka Pandemic >> >> Please learn what misopathy is. >> https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html -- Tim Cross