Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

Hello,

> Thorsten Jolitz <tjol...@gmail.com> writes:
>
>> Hi List,
>> again an Org function I used in one of my libraries has disappeared.
>>
>> ,----
>> | org-dp-lib.el:483:1:Warning: the function
>> | `org-end-of-meta-data-and-drawers'
>> |     is not known to be defined.
>> `----
>>
>> Two related questions:
>>
>>  - is there a replacement?
>
> (org-end-of-meta-data t)

Ok, thanks!

>>  - using Magit, how can I investigate the fate of such a lost function
>>    without investing too much time and effort?
>
> You can do a regexp search in commit messages : 
>
>   l =g org-end-of-meta-data

Cool, thanks again.

>> Another rather unrelated question:
>> Byte-compiling files that require package cl, I always get one of two
>> errors:
>>  - using (require 'cl), I get
>>
>> ,----
>> | org-dp.el:172:1:Warning: cl package required at runtime
>> `----
>>
>>  - but, when I correctly use (eval-when-compile (require 'cl)), I see
>>    several of these:
>>
>> ,----
>> | org-dp-lib.el:275:40:Warning: function `remove-duplicates' from cl
>> | package
>> |     called at runtime
>> `----
>>
>> How to avoid both kinds of warnings? I'm probably not really up-to-date
>> here ...
>
> If you plan to base your work off master, you can as well use
>
>   (require 'cl-lib)

Not sure if I understand what "base your work off master" refers to, but
I'll try cl-lib, probably less hassle than cl.

-- 
cheers,
Thorsten


Reply via email to