From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: understanding the function outline-level Date: Tue, 7 Jun 2011 18:23:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:36400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTz3y-0005n5-M5 for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 12:23:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QTz3w-0007Jc-QH for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 12:23:30 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:60187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QTz3w-0007J4-Fe for emacs-orgmode@gnu.org; Tue, 07 Jun 2011 12:23:28 -0400 Received: by eyd9 with SMTP id 9so2048393eyd.0 for ; Tue, 07 Jun 2011 09:23:27 -0700 (PDT) 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: Org Mode Hi all I am on the way of tracking down an (Org?) buglet and now outline-level tries to strike me with my lack of experience with "Match Data" of Emacs search and I would like to ask for some help to understand. M-: (outline-level) returns a value that I don't understand yet. The number does not correspond to the amount of stars and is independent of at the beginning of which line the point was before. And when I look at the implementation of outline-level I am missing a function that initializes the "Match Data". Where is that last search or match operation? Michael