From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OJceJiYoTmObDQEAbAwnHQ (envelope-from ) for ; Tue, 18 Oct 2022 06:14:30 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qJ0MJiYoTmOfaAAAauVa8A (envelope-from ) for ; Tue, 18 Oct 2022 06:14:30 +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 4B15A1FE9D for ; Tue, 18 Oct 2022 06:14:30 +0200 (CEST) Received: from localhost ([::1]:48664 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okdzo-0004gu-GX for larch@yhetil.org; Tue, 18 Oct 2022 00:14:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okdzA-0004gW-V0 for emacs-orgmode@gnu.org; Tue, 18 Oct 2022 00:13:48 -0400 Received: from mout01.posteo.de ([185.67.36.65]:56039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okdz0-0006lK-BV for emacs-orgmode@gnu.org; Tue, 18 Oct 2022 00:13:48 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5EF13240028 for ; Tue, 18 Oct 2022 06:13:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666066416; bh=wMGZxYIr/eyobbPyIFiOFWG3ifer1VFR50lGV8I0Tm0=; h=From:To:Cc:Subject:Date:From; b=gemMVM8I4Au5VN3OLcC3te1F4NBj35QPB48mNEg6pnESk39I2m2sLTBrnD1sdb5BS p+5Igu6V2oiefbXMPs0ssLdlAe58ceHzmKIl9/8D49p4Sto0P3To0cNaJQNFaca4IF Sf67p2fub5LtB6u3WlJSmv8sGX+vJ/alWY3n+LalwfZp6dS0+gUqp1vVT66bE8nBfY q2GdtBwJkh/5YcudsqE9ySGwDNtuhtj41kzizSBoh3dkIeNeVhENe+Kd2NIclLZyo5 oxv718Ah+NQu1xZL6uYom6Jx8oNAaHWHlAKsPSZHq5uQqAp1QxM6PDVIGgHizIQh0w A5l+C5uYc65/w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ms0pk1LQfz9rxF; Tue, 18 Oct 2022 06:13:33 +0200 (CEST) From: Ihor Radchenko To: Denis =?utf-8?Q?Bitouz=C3=A9?= , Daniel Fleischer Cc: emacs-orgmode@gnu.org Subject: Re: Option that prevents Org to add =?utf-8?Q?=5Clstset{language=3D=E2=9F=A8language=E2=9F=A9=2C=2E=2E=2E}?= when code blocks are exported to LaTeX In-Reply-To: <87zgmda67z.fsf@example.com> References: <87zgmda67z.fsf@example.com> Date: Tue, 18 Oct 2022 04:14:20 +0000 Message-ID: <87mt9thioz.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: -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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666066470; 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=va5G5dpixUjvRbqNrkCX7s17G6mNOJRoFbz1gXzdXxo=; b=AtjmD6KZnAFf7Rv+ncvU8Z3tuhvekjs9ZQoKHaBcSKtpFoeWeCvkkoJZTgODGoZFwIhjw+ 5uyCmlgiiXzRh4Hx1zvodkGNW9sKPzU92QX+cMTylvogUGSJEkcxfMt7yXNrQlSmiRYgvv jZ2wQxE8f6jwLHeNk4qQKBoBNWDxNWUqlw8MgdTkBMg2iHh9dy6aP2AkV2pCbTYl63euFZ Z+CwRPZB/glxJd2xMf1SNS2e2KSuXKSOC68xvL/lHAbuVMELYnNjaczT+6SArQrKlRdycb zeyeOM2hK1fbsgIJpzMCydLgcwBZp+XCGgBk/2nsX0lXYVlP4qfYH3i4+MCzFA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666066470; a=rsa-sha256; cv=none; b=D8uuzP/YvCMgpF209tyTdE7XiFgSn5CZPtYeSdsfGugg52qKAPyw8AM1VhwXVC8A5OcklE Oivhf9PFPTQVIyOLyY+3s4JO+X1YOAlhlDAElHLp7MnJ1Z8r+sikEkaztimQ8SRPBEbH66 XzRcsHVh0xJ2yAF7CitWOlunW2RyLkaHwe0+bIxh6MuBKCMu6iSMdszKJmp4XF7sZI0iZV u+WOmnuqrZLHN356QUzhniOotHb8yTVPHNCHwiDtZh4UIHqzR51Gay5sbWKdWkAl2xEtQn l2kAvGWp/kw9vKUJwSD738voCwwmEDxdvs6FS+zuMruSPWjukl8N1kw1B/uLQw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gemMVM8I; 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-Spam-Score: -3.42 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=gemMVM8I; 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-Queue-Id: 4B15A1FE9D X-Spam-Score: -3.42 X-Migadu-Scanner: scn0.migadu.com X-TUID: NemQ38gwBlVT Denis Bitouz=C3=A9 writes: > here is a feature request about the LaTeX export. > > With ~(setq org-latex-listings t)~, code blocks such as: > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 #+BEGIN_SRC =E2=9F=A8language=E2=9F=A9 :exports code > =E2=94=82 ... > =E2=94=82 #+END_SRC > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > are exported to LaTeX into: > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 \lstset{language=3D=E2=9F=A8language=E2=9F=A9,label=3D ,capti= on=3D ,captionpos=3Db,numbers=3Dnone} > =E2=94=82 \begin{lstlisting} > =E2=94=82 ... > =E2=94=82 \end{lstlisting} > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > But the: > > =E2=94=8C=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > =E2=94=82 \lstset{language=3D=E2=9F=A8language=E2=9F=A9,label=3D ,capti= on=3D ,captionpos=3Db,numbers=3Dnone} > =E2=94=94=E2=94=80=E2=94=80=E2=94=80=E2=94=80 > > systematically added before each of the ~lstlisting~ LaTeX environments > is not always desirable and let me explain why. Confirmed. Is there a way to apply \lstset locally for the environment? --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at