From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EGVTKEER0mUbvAAAqHPOHw:P1 (envelope-from ) for ; Sun, 18 Feb 2024 15:16:33 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EGVTKEER0mUbvAAAqHPOHw (envelope-from ) for ; Sun, 18 Feb 2024 15:16:33 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=q8HKTCVW; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1708265793; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=spGmr36nGJcToOpSzNNU0n51Pq5do3wRjOg7g/+ateI=; b=tAuhgqgWCqBJBJpXkn6QAdQ0CnkAzEzgVZe28dcNyTx3IXmg/L79AmudFm+C/2DSOqkUQT v6UdO/uoKDSMT7RnTsbCz451Re0NvieZzDqNShY4UewVzahLCNvwkWBSh2oCh7OclhzINx CsGIfGhYOiLUaIqL8OIVschAMUgeUKqznG64g40UAqJCHfNSYAiKPJ2oICFXMal+TtkCpK fm83SVdo9PvxysDdT4Pt7SXOFPHh6Cx2Euy2YJgECR+nyf8S2bz3IO3E0GwDCG3Nf2ly3Y N4p7A34masfMKA1OCcHoA9CeMfnRt31lrt5ErBs9ivlAqGGaYLVI7wWReQZrGQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=q8HKTCVW; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1708265793; a=rsa-sha256; cv=none; b=NFaD3yBBSXoiDaRR3Pxxw+txC5ZBEy7/6ZbsRLWQKkQFA6NRQe2SucBA5uSdIjHepC4hNB kH4FU9yxRHibe0d9uojRizVAPHvZE1pCDwEq0Xg5TPp3I2UoCSd830ftQtPLvX08AwhWYm 1/VGNSSsH4ryH2OrG2YbaUvqPapSRkI27wcMl9Lcr1ygttnE6ViApJ6zuCzEhToTv05tfF II6cfCsLP7Y3AGUjYeuio4s++DdUA9PmsVcnEZi/JQ8ZwXEXZOqM96fFY78qVAcYwtTn+d C6jVQ5z+FIx2paHU3nMBq9iSKEKnBRuT+cXmjWLYfmPruf9+/QEL3PFAITjLyQ== 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 9018D21B23 for ; Sun, 18 Feb 2024 15:16:33 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbhNY-0004eA-U5; Sun, 18 Feb 2024 08:38:48 -0500 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 1rbhNU-0004dc-87 for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 08:38:44 -0500 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 1rbhNS-0003xN-05 for emacs-orgmode@gnu.org; Sun, 18 Feb 2024 08:38:43 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6F859240027 for ; Sun, 18 Feb 2024 14:38:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1708263519; bh=hradSf0bJyZUBT1SgpfuZqjSKaQ/g6+kszcpkPnXwQo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=q8HKTCVWv8ilj9Q5EY3ipz+dkpGjdEXceskND06bl9RdBTs3BInEPTfkTn/Ax31o5 YXqDIP7gSqE7ePzAHExouGBdloxdzmoOlr6BfA2sosgeT5jWsKdG76vDeyQD+KYK0R yVFe9rl/lPAcFl13HxtUvipXst/QVEvZpKKS558Iw6yYOO+HwUlvf3QF4zlxTyPjSc uQj4fC8TEdcQyYYvzi8qCHMMrEeOFSubjs0dpQLedAOzqD3hOQw+gOLvFLoD8v1pSR Il4OG3q2UDjlTvqjQIJ6DHv391lP+vHMnkejJmR+NOKtpoDgRhaqN3ENMKrsOocRbg WVRnD6qpoIfng== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Td6FV2msVz9rxD; Sun, 18 Feb 2024 14:38:38 +0100 (CET) From: Ihor Radchenko To: pva-outdoor@yandex.ru Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] ox-texinfo can't export example blocks [9.6.9 (release_9.6.9 @ /usr/local/share/emacs/30.0.50/lisp/org/)] In-Reply-To: <87jzn7oz1u.fsf@yandex.ru> References: <87jzn7oz1u.fsf@yandex.ru> Date: Sun, 18 Feb 2024 15:38:53 +0000 Message-ID: <87a5nxsrxu.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain 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, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -6.37 X-Spam-Score: -6.37 X-Migadu-Queue-Id: 9018D21B23 X-TUID: XKRAftLrzmsy pva-outdoor@yandex.ru writes: > It seems that in ox-texinfo.el the `string-match-p' is used instead of > `string-equal' (here is my patch): `string-match-p' is used there on purpose to mark lisp, emacs-lisp, and even elisp blocks with @lisp Texinfo markup. See https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#g_t_0040lisp > ... the > :language property is nil for #+BEGIN_EXAMPLE ... #+END_EXAMPLE blocks. `org-texinfo-src-block', which you modified in your patch, has nothing to do with example blocks. It only handles exporting src blocks (#+begin_src .. #+end_src). Example blocks are exported using @example Texinfo markup. See https://www.gnu.org/software/texinfo/manual/texinfo/texinfo.html#g_t_0040example Example blocks have no notion of language in Texinfo. > Without this fix I can't export my `.org' files to `.texi' format ... Please describe your problem in more details. What do you mean by "can't export"? See https://orgmode.org/manual/Feedback.html#Feedback -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at