From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: manual: stale bindings for org-clock-report and org-columns-insert-dblock Date: Sun, 10 Mar 2019 21:52:06 +0100 Message-ID: <8736nusb9l.fsf@nicolasgoaziou.fr> References: <878szs3ph8.fsf@kyleam.com> <87pnr7x4lk.fsf@kyleam.com> <09ce6837-0e59-497e-8c01-0b2c1048116e@gmail.com> <87imwyd3gh.fsf@nicolasgoaziou.fr> <42595f5a-cde8-efcc-158d-654b90b33362@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:44447) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h35cU-0000Ci-Vu for emacs-orgmode@gnu.org; Sun, 10 Mar 2019 17:04:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h35Qb-0006tG-EX for emacs-orgmode@gnu.org; Sun, 10 Mar 2019 16:52:14 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:60519) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h35Qb-0006qz-6v for emacs-orgmode@gnu.org; Sun, 10 Mar 2019 16:52:13 -0400 In-Reply-To: <42595f5a-cde8-efcc-158d-654b90b33362@gmail.com> (Nikolay Kudryavtsev's message of "Sat, 9 Mar 2019 23:09:17 +0300") 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: Nikolay Kudryavtsev Cc: emacs-orgmode Hello, Nikolay Kudryavtsev writes: > I was able to debug the Icicles interaction bug: > > In org-dblock-write:clocktable there's a check ((pred functionp) > (funcall scope)) which checks whether the scope is a function. Since > the default scope is currently "file", it gets funcalled. Icicles > provides a function called file. There it can be disabled by setting > (setq icicle-define-alias-commands-flag nil), but getting to that > would generally mean that the user ran into some problems and did the > same debugging I had to do. Icicles is doing it wrong. Packages are supposed to provide only prefixed functions, since there is no namespace in Emacs. > I'm not 100% sure but I'd rather prefer org not calling any functions > with generic names like "file" or "subtree", so maybe prepending some > predicate on a call is warranted, so instead of "file", something like > "org-scope-file" would get checked, but I don't really understand the > intended use of this feature. I pushed a different change. Tell me if it fixes your issue. > As for dynamic reloading, I retested and can confirm that it's broken > since 69c300bbf. To repeat, start with elpa org, add master org to the > load path, do org-reload. So, you are doing a mixed installation on purpose. No wonder you have troubles. Don't reload a different installation on top of a loaded one. Regards, -- Nicolas Goaziou