From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: [Help] How to apply a function to all head of buffer Date: Sat, 13 Apr 2013 09:09:36 +0800 Message-ID: <871uafs0bz.fsf@ericabrahamsen.net> References: <87fvyvp8dx.fsf@news.tumashu-localhost.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQosV-0004pp-CW for emacs-orgmode@gnu.org; Fri, 12 Apr 2013 21:03:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQosU-0005xo-A2 for emacs-orgmode@gnu.org; Fri, 12 Apr 2013 21:03:39 -0400 Received: from plane.gmane.org ([80.91.229.3]:38291) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQosU-0005xj-3E for emacs-orgmode@gnu.org; Fri, 12 Apr 2013 21:03:38 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UQosS-00083g-NT for emacs-orgmode@gnu.org; Sat, 13 Apr 2013 03:03:36 +0200 Received: from 114.250.135.240 ([114.250.135.240]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Apr 2013 03:03:36 +0200 Received: from eric by 114.250.135.240 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Apr 2013 03:03:36 +0200 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 Feng Shu writes: > I need a function apply all the head of a org buffer,I know it will use > loop ,but I don't know the details.... Hi Feng Shu, You probably want `org-map-entries', check the docstring, it's pretty helpful. Yours, Eric