From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: Re: What happened to `org-end-of-meta-data-and-drawers'? Date: Sat, 06 Feb 2016 00:43:48 +0100 Message-ID: <878u2y4taj.fsf@gmail.com> References: <87d1sa4uki.fsf@gmail.com> <87k2mipwh0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRq2k-0000if-Bb for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 18:44:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aRq2h-0001kQ-5J for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 18:44:02 -0500 Received: from plane.gmane.org ([80.91.229.3]:35073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aRq2g-0001kD-Ue for emacs-orgmode@gnu.org; Fri, 05 Feb 2016 18:43:59 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aRq2d-0002Sm-6C for emacs-orgmode@gnu.org; Sat, 06 Feb 2016 00:43:55 +0100 Received: from x55b0e30c.dyn.telefonica.de ([85.176.227.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 00:43:55 +0100 Received: from tjolitz by x55b0e30c.dyn.telefonica.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Feb 2016 00:43:55 +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: emacs-orgmode@gnu.org Nicolas Goaziou writes: 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) 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