From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: What happened to `org-end-of-meta-data-and-drawers'? Date: Sat, 06 Feb 2016 00:29:31 +0100 Message-ID: <87k2mipwh0.fsf@nicolasgoaziou.fr> References: <87d1sa4uki.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRpml-0005AW-F3 for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 18:27:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRpmk-0006La-Lk for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 18:27:31 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:41980) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRpmk-0006LU-Fh for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 18:27:30 -0500 In-Reply-To: <87d1sa4uki.fsf@gmail.com> (Thorsten Jolitz's message of "Sat, 06 Feb 2016 00:16:13 +0100") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thorsten Jolitz Cc: emacs-orgmode@gnu.org Hello, Thorsten Jolitz 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) > - 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 > 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) Regards, -- Nicolas Goaziou