From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2IPyFfe9gGR69gAASxT56A (envelope-from ) for ; Wed, 07 Jun 2023 19:27:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id cIeZFPe9gGQ/wgAAG6o9tA (envelope-from ) for ; Wed, 07 Jun 2023 19:27:19 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 94CFB19CA for ; Wed, 7 Jun 2023 19:27:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q6wvU-0001w1-Sz; Wed, 07 Jun 2023 13:26:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6wvO-0001vm-Jc for emacs-orgmode@gnu.org; Wed, 07 Jun 2023 13:26:23 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q6wvM-0008Vm-F3 for emacs-orgmode@gnu.org; Wed, 07 Jun 2023 13:26:22 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id C32CD240027 for ; Wed, 7 Jun 2023 19:26:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1686158775; bh=zQVT2PcyWcWdx8Yiw+X9U+wWAS/fFUMx2wVT0pNW1NE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=LHzWsW5bYMpPY8Rxuh4xS/c86SOepxqLD1RjyOSrokjmu8tP8NPxGGBuZHVxBaJ99 +fbNU7IX9+EVmyU1W4aO6GrOdPqPb4ZuQ9N2vNCK+JgnpV0xwL05at2Oez0nt3iLsx Lcqvwgol5S3x2+adrHJt9E5HJ+gSgJFbyNgCkcdnTGaOwdyksIXfrft87N7uXftEs+ JxzpiLqBO4QpAiS2AkU8GqwLDZhdUbd+G/L9T7w356re6FxeiABUkrnb+q21Hpaj1C 1bAchfffMivrCJTeWdpWpBO67vGL0bzagqPVJ0IJ41kAa2z/qC9MfC/Rn3OlKy/zow 1Rn+R6yFutwuw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4QbvQH0XKrz6tvb; Wed, 7 Jun 2023 19:26:14 +0200 (CEST) From: Ihor Radchenko To: "Victor A. Stoichita" Cc: Org-mode Subject: Re: problem with org-map-entries and the doc for export hooks In-Reply-To: <877csf6yva.fsf@svictor.net> References: <877csf6yva.fsf@svictor.net> Date: Wed, 07 Jun 2023 17:30:56 +0000 Message-ID: <871qinp4bz.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1686158839; a=rsa-sha256; cv=none; b=CvIABEZ6AjuVdHYy9lK/MODK93h0e9+tXlVcczdL88DvNcNDOJhcxz1vL2r34t2F58ySuV UnjG4kcxdVRn8aY8fpZUGIpoht0QDENP9AYNmjf8oeCngOFKFw0iuQZQs0mlp4+Zy0y3Wm w7lOGaS1cPRNMj2nPxISyuXkSXmIKPuU0Za4ayIzJ4DYceSgdjbIjQwFG4Jy9F3fswE1hk HpllaUoJBqWoOUx/F9v3M0Or1CTrFw6egn+VIh7NIWWMCBFcTeqjSs8wFFoJuinYDouIOW SWILH/YEdXH0mkBfk6EjdGRil5rK7olANGiqdrzqgUjq5ssmZ1jqw3dvyh4OyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LHzWsW5b; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1686158839; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jMN3Xvg+I8f0NT3evFuvi3Q0/wBp24mHU4aALVK/PBE=; b=hNjcM2SXdUzRIEWBdpbKWug7jfjUoAoBLSRn0YtH5b/2BLkhLPMpc+qkuogXCn9qKJKESD LQElxlOJR7fh25M9+zKlo5p08xYInnTLsg5DJvBnbGcpkE/DX1+Hiox3AH5U0Y8zFAL9Y0 oZ5ChgA/tVG80EHZJV0a1ur1wxO/yqjZyIulr0JKs7w4DbW1R7t2KFxH0a8eYORXAkKBe/ 4e70nw42VI64DsPsvNCaQoQthgd9g/boULmvL6ymbB43iIS5EAA3K8oYEcCIbg27dMx6Am 1Jk2V5FmD9telgbyfZ8My8P0QBr/x5AkdqLOcmScb6jq96YprTLrHC9dlqQpwQ== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=LHzWsW5b; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.66 X-Spam-Score: -7.66 X-Migadu-Queue-Id: 94CFB19CA X-TUID: c7qKNVZxpL3j "Victor A. Stoichita" writes: > I=E2=80=99m trying to use the example given here in the manual for "Export > hooks": https://orgmode.org/manual/Advanced-Export-Configuration.html > ... > However the export process hangs indefinitely emacs after evaluating this. > I have to C-g to quit.=20 > The same happens with the newer org-export-before-parsing-functions > instead of org-export-before-parsing-hook. > > Is there something else that needs to be updated for the example to work? 1. Update Org mode. I do not see any hangs with the latest stable Org relea= se. 2. Use alternative example. The current example may not work if you have headings not separated by contents or empty lines. See https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3D16= f15f966 --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at