From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id kNWTFdRK8GV2qAAA62LTzQ:P1 (envelope-from ) for ; Tue, 12 Mar 2024 13:30:12 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id kNWTFdRK8GV2qAAA62LTzQ (envelope-from ) for ; Tue, 12 Mar 2024 13:30:12 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=sEtlcfn2; 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=1710246612; 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=b5moud1gcjilFtF2YdzmKmzpyMUY/Aqik6roISQf2Yg=; b=kcdT98GeR7jMBVKsKgK4ixa/jzj6LD5/7zADLX620LfijsUikAyGuX8A0zQ4Ev9j5s6KuO TdEnY9gRJ6uao+XOVxngAagh0RePvZ9Q6gAYFHMrPPkNk1RGgS0PRldqPSYUtgFIyQrLy+ x2ipKzJ0w8yio7b+kFSMh/0OBL4yRhT3gfeaJNyaZWRpwP2ya/r7UYccIh+5T6syqlG3Y/ xhFaOvwkSxc3kLaiDXq0oX2K/S0FGqdDzony31Pxl5iV4ocbW1FLUzpE5bSLYxjdYX/qmj s8lu0bAsBJHUYTKFk9HGQiCRbu/l9hgwt80Oyz/AOguMpyfbikNJ7P95ysa8qg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1710246612; a=rsa-sha256; cv=none; b=FlFEUasSa80IPGLGHF1xp4X8NGeiEpLo52ULObevjIx5Nt56SO6/SiRQRrpTNegeltzUNH IIKowF6Wz8TPZrbiN1GGxW47bKxi5/LWSqxIU7PDgoseqnx9L+JHQ4mJOnJKdIFLPZ7Vk6 YO7yIKX4uZxPI/UXJQUVHRdzm/aaHb4CJ1iLrHdmrZPaV4Bp2kNqUm1Qq6/2yJiZ8axFZ2 tnhJZejdsaannY8ZzlFQ3Z8wsMLPym493+GHa6QBysfoWwEOYPojb+6jNEmc9xmKJfT/Ur aUsj0yx01DyDMKbD4B+ltWOB2J9d+YHB3FvY3oaDgvhqi/PhX5UeyaMrQNgu8Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=sEtlcfn2; 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 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 3A5475BBA7 for ; Tue, 12 Mar 2024 13:30:12 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rk1Fp-0006uE-3o; Tue, 12 Mar 2024 08:29:13 -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 1rk1Fi-0006s5-Gg for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 08:29:06 -0400 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rk1Ff-0005Yv-0I for emacs-orgmode@gnu.org; Tue, 12 Mar 2024 08:29:06 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 64C9C240103 for ; Tue, 12 Mar 2024 13:28:59 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710246539; bh=GMh7tuO+sXDaPcbr/+YcQqPuCouIYpAJItX8dU0PyLM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=sEtlcfn2juZsycmXmXgKn5R5NFqQ3ldvKm2TzuGIA8dfYuYHKrTByQ85/V3/IdymO k16vgjDUlUYz7nrsY56G5EZKULxQW60+1Z0mUrWpkimMV2EkeNfRX7Vw+exWe6x2GB xpql/7bGBNkTmbeg6FybWr3lb9BUqzM2sGMs1DJ9cuw9zXANHk2NqgbP35rZAKiX12 X5IzV2VeF94+5JazKha5t8FPfnKOxrI60UwQedwk7tMQlnjU3T72TGXLkghat3IINc 0tyTAqQVoxqU78vzYfKqPsdW5p/GxP+sdFjxmO80YO8rQAtn4izM+/O8+T2oSwZ9yV SM6ScABRqbR/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TvCcV2zTXz9rxB; Tue, 12 Mar 2024 13:28:58 +0100 (CET) From: Ihor Radchenko To: Pedro Andres Aranda Gutierrez Cc: Leo Butler , Org Mode List Subject: Re: [BUG] Re: The orgframe construct in the Beamer exporter as a default needs a rethink In-Reply-To: References: <87ttlo6cy0.fsf@localhost> <87y1ayz1zj.fsf@localhost> Date: Tue, 12 Mar 2024 12:33:11 +0000 Message-ID: <87bk7jeik8.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, 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-Spam-Score: -6.50 X-Spam-Score: -6.50 X-Migadu-Queue-Id: 3A5475BBA7 X-Migadu-Scanner: mx11.migadu.com X-TUID: tpUdfKXGTQsK Pedro Andres Aranda Gutierrez writes: > Jup, of course. If you look in org-lint.el, one of the cases that would > trigger a message is when the frame environment uses "frame" directly and > there is a \begin{frame} in the org. > Line 1522 onwards in org-lint.el (1) Sure, but we should not demand users to run org-lint. Ideally, exporting any valid Org file should work. The fact that the presence of \begin{frame} breaks beamer is a technical detail users should better not be bothered with. That's why we added the orgframe construct. (2) On the other hand, it is clear that Org mode users are unwilling to tolerate too much of machine generated latex output. So, going further and trying to generate unique orgframe environments might not be ideal. The current approach is a balance between the above considerations. AFAIU, what you propose is reverting the orgframe code; that goes against the first point. What I proposed is to reduce the amount of machine-generated code by using `org-beamer-frame-environment' only when strictly necessary. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at