From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alain.Cochard@unistra.fr Subject: Is it normal for 'Org Cycle Hook' to be "CHANGED outside Customize" by '(require 'org-inlinetask)' Date: Tue, 22 May 2018 22:07:09 +0200 Message-ID: <23300.30829.538126.688241@frac.u-strasbg.fr> Reply-To: alain.cochard@unistra.fr Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44963) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fLDZ2-00085U-4K for emacs-orgmode@gnu.org; Tue, 22 May 2018 16:07:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fLDYy-00011l-VI for emacs-orgmode@gnu.org; Tue, 22 May 2018 16:07:20 -0400 Received: from smr1.u-strasbg.fr ([130.79.222.217]:37822 helo=mailhost.u-strasbg.fr) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fLDYy-00010I-O3 for emacs-orgmode@gnu.org; Tue, 22 May 2018 16:07:16 -0400 Received: from local-mr.u-strasbg.fr (lmr4.u-strasbg.fr [172.30.21.4]) by smr1.u-strasbg.fr (Postfix) with ESMTP id 4F6826064B for ; Tue, 22 May 2018 22:07:11 +0200 (CEST) Received: from local-mr.u-strasbg.fr (localhost [127.0.0.1]) by antivirus (Postfix) with ESMTP id 329759D for ; Tue, 22 May 2018 22:07:11 +0200 (CEST) Received: from frac.u-strasbg.fr (AStrasbourg-651-1-155-172.w90-40.abo.wanadoo.fr [90.40.194.172]) (Authenticated sender: alain.cochard) by lmr4.u-strasbg.fr (Postfix) with ESMTPSA id E59AB92 for ; Tue, 22 May 2018 22:07:09 +0200 (CEST) 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: org-mode Hello --=20 I run: emacs -Q -l mini-init.el with mini-init.el being=20 (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'. Note that this issue is not present without the 'add-to-list' instruction in the mini-init.el file, that is, with org-version 8.2 on my system -- 'Org Cycle Hook' is not changed. Regards --=20 EOST (=C9cole et Observatoire des Sciences de la Terre)=20 IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr 5 rue Ren=E9 Descartes [bureau 106] | Phone: +33 (0)3 68 85 50 44=20 F-67084 Strasbourg Cedex, France | Fax: +33 (0)3 68 85 01 25 =20=