From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Re: strange/cryptic org variables Date: Sat, 25 Jan 2020 16:41:19 +0000 Message-ID: <87muabbia8.fsf@kyleam.com> References: <42f14e78-d544-423b-f87c-24ee04f8d796@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:55609) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivOUu-0006c3-Bw for emacs-orgmode@gnu.org; Sat, 25 Jan 2020 11:41:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivOUs-00020K-UD for emacs-orgmode@gnu.org; Sat, 25 Jan 2020 11:41:23 -0500 Received: from pb-smtp1.pobox.com ([64.147.108.70]:64841) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ivOUs-0001ys-Mj for emacs-orgmode@gnu.org; Sat, 25 Jan 2020 11:41:22 -0500 In-Reply-To: <42f14e78-d544-423b-f87c-24ee04f8d796@posteo.net> 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: D , emacs-orgmode@gnu.org D writes: > org.el seems to define three weird variables: org-m, org-l and org-f > (see below). Two of these variables (l and f) are used exclusively in > org-level-face, while m is not used anywhere in the code. They don't > appear to be used in the other source files, either. > > Is there a particular reason for them being accessible outside of the > function? They seem oddly.. exposed. Or is it some kind of performance > reason? I doubt there's a convincing reason for these variables to exist. They have been around for a long time, as far back as you can trace the history in the git repository: 4be4c5623 (version 4.12a, 2008-01-31). Even in 4be4c5623, org-m wasn't used anywhere in the code base.