From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: property "CLOCK_MODELINE_TOTAL" is not inherted Date: Wed, 03 Jan 2018 22:57:31 +0100 Message-ID: <87shbmmwqc.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51176) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWr2V-0008Fs-1B for emacs-orgmode@gnu.org; Wed, 03 Jan 2018 16:57:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWr2U-0003td-E3 for emacs-orgmode@gnu.org; Wed, 03 Jan 2018 16:57:35 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:53126) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eWr2U-0003rA-7z for emacs-orgmode@gnu.org; Wed, 03 Jan 2018 16:57:34 -0500 In-Reply-To: (Chen Zhang's message of "Mon, 1 Jan 2018 20:00:10 +0800") 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: Chen Zhang Cc: emacs-orgmode@gnu.org Hello, Chen Zhang writes: > During my investigation, I think the key problems are: > 1. The Org manual only mentions CLOCK_MODELINE_TOTAL to change mode line > clock time. And it's easy to guide people like me to use property > inheritance to do global settings. But it doesn't work. Indeed. Fixed. > 2. The org-clock-mode-line-total can be used as global settings. But it > doesn't mentioned in Org manual at all. It is: (info "(org) Clocking commands"), third footnote. > So I suggest to change code to something like (org-entry-get nil > "CLOCK_MODELINE_TOTAL" t) to use inheritance. I used `selective' instead of t for the argument. > If inheritance has to be disabled for some reason (e.g performance). I don't think performance for inherited properties is an issue anymore. Thank you. Regards, -- Nicolas Goaziou