emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] manual: stale bindings for org-clock-report and org-columns-inse


From: Nicolas Goaziou
Subject: Re: [O] manual: stale bindings for org-clock-report and org-columns-insert-dblock
Date: Sun, 10 Mar 2019 21:52:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Hello,

Nikolay Kudryavtsev <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]