From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: strange results with org-map-entries Date: Tue, 10 Jan 2017 19:34:01 -0500 Message-ID: References: <87r34av567.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11444e64dd5c580545c6c1f2 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cR6rb-0005d4-Vp for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 19:34:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cR6rb-0004j9-5H for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 19:34:04 -0500 Received: from mail-io0-x233.google.com ([2607:f8b0:4001:c06::233]:35350) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cR6rb-0004iv-1U for emacs-orgmode@gnu.org; Tue, 10 Jan 2017 19:34:03 -0500 Received: by mail-io0-x233.google.com with SMTP id j18so71865405ioe.2 for ; Tue, 10 Jan 2017 16:34:02 -0800 (PST) In-Reply-To: <87r34av567.fsf@nicolasgoaziou.fr> 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" To: Nicolas Goaziou Cc: Org Mode --001a11444e64dd5c580545c6c1f2 Content-Type: text/plain; charset=UTF-8 On Tue, Jan 10, 2017 at 6:58 PM, Nicolas Goaziou wrote: > Hello, > > Matt Price writes: > > > What's going on here? Can anyone else reproduce this? I'm seeing it on > org > > 9.0.3 up to date as of today, emacs git from 2017-01-04. > > You mark a region then jump around the buffer with `org-map-entries'. At > some point the region contains no headline, but you request a subtree > export, hence the error. > But what about the weird export results, where files don't seem to contain the expected content? And is there a better way (than marking and bouncing) to constrain org-map-entries to first-level headings only? --001a11444e64dd5c580545c6c1f2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Tue, Jan 10, 2017 at 6:58 PM, Nicolas Goaziou <= mail@nicolasgoa= ziou.fr> wrote:
Hello,

Matt Price <moptop99@gmail.com= > writes:

> What's going on here? Can anyone else reproduce this? I'm seei= ng it on org
> 9.0.3 up to date as of today, emacs git from 2017-01-04.

You mark a region then jump around the buffer with `org-map-entries&= #39;. At
some point the region contains no headline, but you request a subtree
export, hence the error.

But what about= the weird export results, where files don't seem to contain the expect= ed content? And is there a better way (than marking and bouncing) to constr= ain org-map-entries to first-level headings only?=C2=A0
--001a11444e64dd5c580545c6c1f2--