[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] What happened to `org-end-of-meta-data-and-drawers'?
From: |
Thorsten Jolitz |
Subject: |
Re: [O] What happened to `org-end-of-meta-data-and-drawers'? |
Date: |
Sat, 06 Feb 2016 00:43:48 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
Hello,
> Thorsten Jolitz <address@hidden> 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