From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [PATCH] org-end-of-meta-data-and-drawers Date: Thu, 30 Jun 2011 18:02:10 +0200 Message-ID: <87k4c3z4sd.fsf@gnu.org> References: <87vcwggcud.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcJgW-0001nG-Ko for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 12:01:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QcJgT-0000jL-PO for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 12:01:44 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:61856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QcJgT-0000j4-Ab for emacs-orgmode@gnu.org; Thu, 30 Jun 2011 12:01:41 -0400 Received: by wwf22 with SMTP id 22so1933708wwf.30 for ; Thu, 30 Jun 2011 09:01:40 -0700 (PDT) In-Reply-To: <87vcwggcud.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 08 Jun 2011 15:47:22 -0700") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hi Eric, Eric Abrahamsen writes: > Currently, this function goes to a lot of trouble to concatenate a > complicated regexp to find metadata and drawers, and then doesn't use > it. As it stands, if you put point in a headline that has a property > drawer and then call =(org-end-of-meta-data-and-drawers)=, point moves > to the *beginning* of the property drawer -- obviously not what you > want. you're right there was something weird in this function. I just simplified it, inspired by your patch. Thanks for this! -- Bastien