From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wIcOOzT/dmElsQAAgWs5BA (envelope-from ) for ; Mon, 25 Oct 2021 21:02:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id GIrCNjT/dmFtGgAA1q6Kng (envelope-from ) for ; Mon, 25 Oct 2021 19:02:12 +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 2EAFE254F3 for ; Mon, 25 Oct 2021 21:02:12 +0200 (CEST) Received: from localhost ([::1]:44242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mf5EX-0002CC-Pk for larch@yhetil.org; Mon, 25 Oct 2021 15:02:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38396) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf5Cr-0001r4-BD for emacs-orgmode@gnu.org; Mon, 25 Oct 2021 15:00:25 -0400 Received: from ciao.gmane.io ([116.202.254.214]:38684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mf5Cp-0002gM-PA for emacs-orgmode@gnu.org; Mon, 25 Oct 2021 15:00:25 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mf5Cn-0001q1-Vp for emacs-orgmode@gnu.org; Mon, 25 Oct 2021 21:00:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Nick Dokos Subject: Re: Lisp error: (void-function org-element-keyword-parser) Date: Mon, 25 Oct 2021 15:00:08 -0400 Message-ID: <87mtmxaq13.fsf@alphaville.usersys.redhat.com> References: <877de5pnd2.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:JWQH3z80tyqUJ+uojVNjMwxzGz4= Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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=1635188532; 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:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=xxfHIFUrVf0ima8reVHdHT6edsCYtlBH5zEXq/zQX8U=; b=tOQVTO49/4rVEfaSip4k8IOH9hV2/DPuheptJaIC1ItQVgqT3HFXDCqo/SceGzLii20QEm 9C5z2WFeh2hwbvML6JY8lDdfbxubuh6tBWLH1Au+Tybb4StOZHP+qcDZzzBZmbkbJYNPXj 29pWWn87KFeMRoRmvUOI5wpCzoKTetRhveuOzndI+lJLKbNss4P6mZd4Qjl9915vFOVQb3 4XJmcB4S1hK11J4XaQr6Owcotd1mDTYwvY2DuqS+WnMfNjw2ngA5QR82oDBGsCLRpvtkI6 ATjZaiCS6OFKLJg1L3KAtMBUpdjeI7oL79vLnk2wG2d+7GfS2non/UWao2IKLQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635188532; a=rsa-sha256; cv=none; b=rXZeKIqG9hastFxk640gc5tV1v1W3/1S0721jMNCdaXZdSA9j74+cLbDKRVBUATm8qsWzx nqtrEvRn8Up8aQItBSRruY1WGU2IbdXJT/rdoGcGa3An/xmkjHX4ydpdk5oZ79zsHSovXY QMlCtSmm5WsMEINSazl1btCPV6l6sGhQftMPR5OT0MJ5bhFIRxJhgOI3kzXzNqT47hvWoD 2AwqVnjuZgMRrr3BO7qtLrlWjbIiWFpIEGrujDbMphFItGs9cheZMbNmAMP8gVYKAEzUls kz7Uy/gtlu2CIEUx2tR+vvXmdc+KKGKXtVnKmyjCIFfUb0Q/U9SX0cs9duBd9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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: -0.33 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); 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: 2EAFE254F3 X-Spam-Score: -0.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: KW2ABK3V90PI Eric S Fraga writes: > On Thursday, 21 Oct 2021 at 20:54, William Denton wrote: >> With my usual set up, I can get things working except that any Org files >> initially loaded up aren't recognized as Org, but if I run =M-x org-mode= it all >> kicks in. > > For the record, I have had this or something very similar for a very > long time (years) now. All my org-agenda-files which get loaded during > my initialization, when I set up the appointment handling, are in org > mode but none of the in-file settings have been applied. I brought this > up on the list a long time ago and was told that this was the expected > behaviour. > > Are you sure they are not recognised as org files or is it that your > specific settings are ignored? Hi Eric, I'm pretty sure that that should *NOT* be the case: setting the mode on the file consists of calling `org-mode'; that calls `org-set-regexps-and-options' which loops over all the in-buffer options and sets them. When you do `C-c C-c' on an in-buffer option after the initialization, that calls `org-mode-restart' which calls `org-mode' which calls `org-set-regexps-and-options'. So the only time an in-buffer setting would not be recognized is after you've added it to the buffer and before you've restarted Org mode on it (or closed and reopened which does pretty much the same thing). If you have unrecognized settings when you open a file and the file is already in Org mode, that needs to be investigated: it's very much *un*expected AFAICT. I haven't gone back to find the previous discussion, but if you can find it, you might want to resurrect it. -- Nick "There are only two hard problems in computer science: cache invalidation, naming things, and off-by-one errors." -Martin Fowler