From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 0LfDJ6co/GSnvgAAauVa8A:P1 (envelope-from ) for ; Sat, 09 Sep 2023 10:11:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0LfDJ6co/GSnvgAAauVa8A (envelope-from ) for ; Sat, 09 Sep 2023 10:11: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 4028543457 for ; Sat, 9 Sep 2023 10:11:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=UaVpSfnf; 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=1694247079; 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:resent-to:resent-from:resent-message-id: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=2JhCISWM96oovcg0lojyjIOuxXxGBabvonmdNm8tfM4=; b=IwlwaQPMDDslsx2VJfIrQphkqT1LSWBOSE0VuXXTN0NHTv0UvFPpDhdm9FHjYG11Kc1DOj N6q+zifA5dh0MiqMBXmLJ241gOOhKjdd+YGbN+/u6TKUjPwQMHvxrDjC+ccr/RISoC+JVL r63DV7sdp6IuwGVJo4rrZl6nOizIRgAhaDjgeBNhNLPIVROxyt5c8qgfFVijarMxGnRKZi YdypyPyQ5Hxmbnx4nwBvViS12tnPj49EMiRFKb31uGiaxTd5jZSkL5rtanhsrTwNHQDJqf GgjSHOuD/7AfGFlwllKhdE7FS4gfvwCxxGxqMkyAbvEBHfdIOMMiMfObfUYoTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694247079; a=rsa-sha256; cv=none; b=p4mAigJlssiug+GXJ03wHGcZayQVsPwKxJBeH8QKYob4UKPzU2sfGJng9Wbz4APka+eBqn 9wNC8shv3E3/HrYGh5bMvO2bcczYqe3TeGTCCQXrbQedOH2hG5CVeQQV3QSS1yn+SyWSAa BLD7KXdA8zXYbJ4jTVfRd5w1X14pCcwz8v8bfWP2ZKCaQYgdTbCARh7qyruqQWNF7MUzaw sTw/FndAe4eaf51bF5PMnOyPULnH4Pi5YwSGZzKxkA92DctjBTaA+bdJHl2mngO16IHomy QPw2Cevkz7vflH+vGhIR4Q+ryvKqx7Jya1HlpCNDQXiSXfHdNfylrahXoF83bA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=UaVpSfnf; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qet2r-000511-9n; Sat, 09 Sep 2023 04:10:21 -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 1qet2n-0004z5-8Q for emacs-orgmode@gnu.org; Sat, 09 Sep 2023 04:10:17 -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 1qet2g-00041v-LA for emacs-orgmode@gnu.org; Sat, 09 Sep 2023 04:10:14 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 5FC5A240027 for ; Sat, 9 Sep 2023 10:10:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1694247006; bh=+TS5AxO2+kCGHihYge/QWCIcRNT8BSVcGNHCR1Sd35M=; h=From:To:Subject:Date:Message-ID:MIME-Version:From; b=UaVpSfnfiS9MONK+mIBz6uBK5QBUNsJ8976vttreFjw2AZzBtn0wjx5VfJWMcWMpI K8YS3tNRSY715wj4R+4fOd8L/9OEWZr73Q5KrnbpGyiDQRP0dU4avU6k2h27HZ58q2 0pNG2GhgZKg3pW2uWrOoo+rJmGQkKNj/p7gGKvL9MFqsFKgBaUGBYKA+JUAbKN1/Vh cJFdPfsXkN9rAj9c9napGtUnELuX/sLDXYN4YEdf+5kF+kNxdq2Mv0BPpNEzc0pyaV L3APCJzI0kAbMdus1RkwOd3RjMiOmiurcLuuJlQ/c8y3NB7yu+JfUsBKJiniHYMzoJ IyRZlvlV0247g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RjQd956jqz6tmv for ; Sat, 9 Sep 2023 10:10:05 +0200 (CEST) Resent-To: emacs-orgmode@gnu.org Resent-From: Ihor Radchenko Resent-Date: Sat, 09 Sep 2023 11:11:06 +0300 Resent-Message-ID: <871qf7936t.fsf@localhost> From: Ihor Radchenko To: Guillaume MULLER Subject: Re: How to solve "Warning (emacs): Please update the LaTeX src-block-backend to listings" In-Reply-To: References: <87il947utc.fsf@localhost> Date: Thu, 24 Aug 2023 09:23:16 +0000 Message-ID: <873508kd4r.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_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Spam-Score: -7.81 X-Migadu-Queue-Id: 4028543457 X-Migadu-Spam-Score: -7.81 X-TUID: rqcT1ZHTD2UU Guillaume MULLER writes: > - Would be great to be able to set this parameter per org buffer/file, e.g. with a #+ (#+OPTIONS?) command. Indeed, using the defaults is OK most of the time for most of the users. I only need this trick when I want to force lstlistings, and I only need to force lstlistings when I want to insert a LaTeX inside a src block (it might be possible with other backends, but I don't know how to do it with the other backends, and I can look for documentations as I don't know which is the default backend) The default backend is verbatim. You can already set the backend on per-file basis using file-local variables or #+BIND keywords. We might add a dedicated Org keyword like #+LATEX_SRC_BLOCK_BACKEND though. > - It would be great to add this "trick" (on how to change the backend) in the Docs (e.g. the page I cited in my previous email) > - In the docs, it would also be great to tell what is the default backend (as I thought it was lstlisting and it is clearly not + the message I cited made me think it has changed recently) Already done in on the development branch. orgmode.org will update the manual after the next minor release. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a144b2355 > - Finally, when the error is raised, (Doom)Emacs goes definitively berzerck: every time I try to save the/any buffer with C-x C-s "save-buffer", it asks for the name to save to and for a confirmation for overwriting the selected file when I select the same filename as the one that was initially opened. So there might be something that is not restored correctly after the error is rasied? What do you mean by error? What you described is a warning, not an error. And it should have 0 effect except displaying a buffer with that warning. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at