From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Henahan Subject: Re: when/how are org-mode settings loaded Date: Thu, 08 Feb 2018 07:44:28 -0500 Message-ID: <77BECB79-EA57-47BC-846E-55654892A17F@me.com> References: Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38078) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ejlZ5-0006Tz-Sr for emacs-orgmode@gnu.org; Thu, 08 Feb 2018 07:44:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ejlZ2-0003RW-PW for emacs-orgmode@gnu.org; Thu, 08 Feb 2018 07:44:35 -0500 Received: from st11p05im-asmtp002.me.com ([17.172.109.150]:18016) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ejlZ2-0003QM-Kd for emacs-orgmode@gnu.org; Thu, 08 Feb 2018 07:44:32 -0500 Received: from process-dkim-sign-daemon.st11p05im-asmtp002.me.com by st11p05im-asmtp002.me.com (Oracle Communications Messaging Server 8.0.1.2.20170607 64bit (built Jun 7 2017)) id <0P3U017000IIJA00@st11p05im-asmtp002.me.com> for emacs-orgmode@gnu.org; Thu, 08 Feb 2018 12:44:30 +0000 (GMT) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Julius Dittmar Cc: emacs-orgmode@gnu.org Could you post your config? I expect the issue is that you don=E2=80=99t (re= quire 'org) or set up the auto-mode-alist in your init file. This would also= be the case if, for instance, you defer loading the package with use-packag= e, as well. Invoking the agenda will load org, so the next org file you open= will do what you expect. Do org files open in Fundamental mode when you don=E2=80=99t invoke the agen= da first? > On Feb 8, 2018, at 03:42, Julius Dittmar wrote: >=20 > Hi, >=20 > I'm an emacs-newbe, so please bear with me. I must be doing something > wrong and I have no idea where to look. >=20 > If my emacs-starting sequence is >=20 > 1. call emacs with no arguments (and a config file adding various > org-mode settings) > 2. launch org-mode agenda once > 3. open a file with .org suffix >=20 > then highlighting and keybindings for that file are as I expect them and > in sync with the org-mode settings in the config file. >=20 > If I omit step 2, then highlighting in the file does not work. >=20 > Even if I then call agenda and later, either by choosing an agenda item > or directly, go back to that file buffer, highlighting still does not > work there. >=20 > Any pointers as to what might cause such behaviour? Or perhaps a faster > work-around than generating the whole (over-full) agenda? >=20 > Thanks in advance, >=20 > Julius >=20 > PS: GNU Emacs 24.3.1, org-mode release_9.1.6-159-g8554aa9 >=20