From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id aP2WCIXZzGWvjgAA62LTzQ:P1 (envelope-from ) for ; Wed, 14 Feb 2024 16:17:25 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id aP2WCIXZzGWvjgAA62LTzQ (envelope-from ) for ; Wed, 14 Feb 2024 16:17:25 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=yandex.ru header.s=mail header.b=fQhSofG4; 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=yandex.ru ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1707923845; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=AZi2zmVRhZKJVyALxcVRlIFujb1qKmnDPjcxuBpxfOY=; b=SjRl1ivLKAYkXJ5LZzifgG/T6pu/uvgco7+hqVNLNlq/PtxiNG/UTPpg1t2le3Wh/c2ghD 4JcRuSP5jZUi6E+Gg/GZmz8B6t0/pvyhz1AiPQQd8J3ikxJevZ3HeyP4dpnayEEdgUSgMS rVrskXf1W6oNKiRmLLD1TxPmXPy6ylyMqaU9YyDtvnxgbORLW8dqb5ZdpNjI3JjPaEpVUJ j+4QPCrhbgwQqvlzDFK+2UKG3Fketj7WJezuRUpRPsyTAJTGaaXPVxpi5KNu84ACgCtks+ B3UJAW98bSJBpNTtD5Mtvd1Yix39Q4Z7O8aK3Gz+ZrXcvRIeOxO0HHFDCRERPw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=yandex.ru header.s=mail header.b=fQhSofG4; 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=yandex.ru ARC-Seal: i=1; s=key1; d=yhetil.org; t=1707923845; a=rsa-sha256; cv=none; b=nBoFpb/0SojXCJgiBLiDSZrfh0hGJ6NafNKLD+n88RPVYOwFEWUEjG+mfY/y1vXfo8ejBY 4xdgbW3Kh1PR+PuhPQFw8JRpK1JT9EushmQIupnAWopo1lVo0hZ8DzybgejhdPV3YM9V5z BXjQ+YzV1qbqR7uJNB6OQi3fTkwJMcLd9idUQtODwCl2e0PuoN41GYPIiWh0K7ElLwL9d2 P8pwUbyRUfuOU2VYcwGXMWOHeEhWqi5Lr4hk4YcXn5LzReE4Wf09/jD6t+L8sqvzEskXKk x5fu3WMWvNeEVaDU6st7frq8/FFXecypYWsiDO6i7CbUd/LH1d1Tvcl2++d7/Q== 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 E52EC1C1B7 for ; Wed, 14 Feb 2024 16:17:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1raGzw-0007D4-Dv; Wed, 14 Feb 2024 10:16:32 -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 1raGzv-0007Cs-9p for emacs-orgmode@gnu.org; Wed, 14 Feb 2024 10:16:31 -0500 Received: from forward101c.mail.yandex.net ([178.154.239.212]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1raGzt-0000Ei-GY for emacs-orgmode@gnu.org; Wed, 14 Feb 2024 10:16:31 -0500 Received: from mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net [IPv6:2a02:6b8:c14:6e01:0:640:627f:0]) by forward101c.mail.yandex.net (Yandex) with ESMTPS id B1A3160915 for ; Wed, 14 Feb 2024 18:16:22 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-63.sas.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id xFqSTPYRtqM0-KrEZtps1; Wed, 14 Feb 2024 18:16:22 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1707923782; bh=AZi2zmVRhZKJVyALxcVRlIFujb1qKmnDPjcxuBpxfOY=; h=Message-ID:Date:Subject:To:From; b=fQhSofG40I29VE2q2rVlZnIJmJpE4D54/NLLBTgz/jQseILXpSF0SUosxZ4EEazXq fPr2rgURxcWEhdRUuXY20VLPkHDhP3yTHkDIcyfOvX8zlf3vwBDNplBNQYkLhOcpNT FU7uYRlEVoWnanifDcWnsseavNh9jYcOC8Nr0nsU= From: pva-outdoor@yandex.ru To: emacs-orgmode@gnu.org Subject: [BUG] ox-texinfo can't export example blocks [9.6.9 (release_9.6.9 @ /usr/local/share/emacs/30.0.50/lisp/org/)] Date: Wed, 14 Feb 2024 20:17:33 +0500 Message-ID: <87jzn7oz1u.fsf@yandex.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=178.154.239.212; envelope-from=pva-outdoor@yandex.ru; helo=forward101c.mail.yandex.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.29 X-Spam-Score: -8.29 X-Migadu-Queue-Id: E52EC1C1B7 X-TUID: K/MjYsXwC4Lj Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ Hello, Team! It seems that in ox-texinfo.el the `string-match-p' is used instead of `string-equal' (here is my patch): --- /usr/local/share/emacs/30.0.50/lisp/org/ox-texinfo.el.gz +++ # @@ -1680,7 +1680,7 @@ "Transcode a SRC-BLOCK element from Org to Texinfo. CONTENTS holds the contents of the item. INFO is a plist holding contextual information." - (let* ((lisp (string-match-p "lisp" + (let* ((lisp (string-equal "lisp" (org-element-property :language src-block))) (code (org-texinfo--sanitize-content (org-export-format-code-default src-block info))) Without this fix I can't export my `.org' files to `.texi' format as the :language property is nil for #+BEGIN_EXAMPLE ... #+END_EXAMPLE blocks. Emacs : GNU Emacs 30.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24= .38, cairo version 1.18.0) of 2023-10-05 Package: Org mode version 9.6.9 (release_9.6.9 @ /usr/local/share/emacs/30.= 0.50/lisp/org/) --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9 =D0=9F=D0=B5=D1=82=D1=80=D0=BE=D0=B2.