From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Is it normal for 'Org Cycle Hook' to be "CHANGED outside Customize" by '(require 'org-inlinetask)' Date: Sat, 26 May 2018 13:01:18 +0200 Message-ID: <87efhy4r5t.fsf@nicolasgoaziou.fr> References: <23300.30829.538126.688241@frac.u-strasbg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54499) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fMWwv-0003pu-VK for emacs-orgmode@gnu.org; Sat, 26 May 2018 07:01:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fMWws-0006FX-UF for emacs-orgmode@gnu.org; Sat, 26 May 2018 07:01:26 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:38369) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fMWws-0006Du-Oq for emacs-orgmode@gnu.org; Sat, 26 May 2018 07:01:22 -0400 In-Reply-To: <23300.30829.538126.688241@frac.u-strasbg.fr> (Alain Cochard's message of "Tue, 22 May 2018 22:07:09 +0200") 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: Alain.Cochard@unistra.fr Cc: org-mode Hello, Alain.Cochard@unistra.fr writes: > Hello -- > > I run: > > emacs -Q -l mini-init.el > > with mini-init.el being > > (add-to-list 'load-path "/home/cochard/.emacs.d/elpa/org-20180521/") > (require 'org-inlinetask) > > Then I do 'M-x customize-group org ', then search for > 'cycle', go to 'Org Cycle Hook', and see: > > Hide Org Cycle Hook: > INS DEL org-inlinetask-hide-tasks > INS DEL org-cycle-hide-archived-subtrees > INS DEL org-cycle-hide-drawers > INS DEL org-cycle-show-empty-lines > INS DEL org-optimize-window-after-visibility-change > INS > State : CHANGED outside Customize. <<<<<<<<<<<<<<<<<<<<<< > > By comparing with the same test but without the (require > 'org-inlinetask) instruction in the mini-init.el file, I infer > (correctly I hope) that, somehow, org-inlinetask has modified 'Org > Cycle Hook' by introducing org-inlinetask-hide-tasks. > > In retrospect, this makes some sense, but it was /very/ painful for me > to track. For me, a customization was something explicitly changed by > the user, not implicitly with a 'require', so, when wandering inside > the customize group and noticing this variable "CHANGED outside > Customize", I wanted to find where I could have changed it so as to > make my .emacs cleaner... > > So I repeat the question: is it normal that '(require > 'org-inlinetask)' changes 'Org Cycle Hook'. This is not optimal, but it does the job. Anyway, inlinetasks integration is currently under discussion. So this may change in the future. Regards, -- Nicolas Goaziou