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 WMvzHwrK4mXAJAAA62LTzQ:P1 (envelope-from ) for ; Sat, 02 Mar 2024 07:41:14 +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 WMvzHwrK4mXAJAAA62LTzQ (envelope-from ) for ; Sat, 02 Mar 2024 07:41:14 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=naAy6Wh5; 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=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709361674; 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=+nDpfYC2TZwIpLmm5P31bj9n+w0lTT2+eK6qUA75bus=; b=JwEaILxXnZwzNXI+CVLktbQ0sjusOwXO5JXUTKVenckRYgIch6GRRwOVE8unpjbyJDa0X5 oTg+y2n2iUTNpv0Duo3xwwkQL1hKVvwVCnjecHTcMYNlNZgyOJ7r8MEtOTcpTMNeEeh0x7 oMiENXTWNL6MPYHJ87FvIMJpo9MyfiNZApf/VumXj2/YGKz1oFr7yiqUsN+A/AzAasUysK NkpYfaQIoQA/gcWKg+SdIBG8r7zbACUVdoDTkAOf62gH3Qtdech5aIGsG4yhi1cYcpQLfV SV7mEPtOVHIvergufl7+lnlPUzngJMKxAQJs4ujfLG9I2eNSaj66YCcGbYzWmA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=naAy6Wh5; 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=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1709361674; a=rsa-sha256; cv=none; b=N7XucktGRC4oAplZsYFMTaLQUoWk/pWzJIXvBgwy1f32n5ZsCGICgjfPIA+ZprqSZMvwaV XJ0ja1115Y8jmjuRFjJITmyZpZJ01aNZvKHrPlGULzSSiurUs5qJS1haHuyfqYjQkyGGlZ A5ZvvL5CLYh+WHmHRdtmr6uYeBze0X2hWbG7asnbN7rrtwa6xbSc2qnsvOgeoUmPWUktBT 5DMCdVjtqqB8Kn30dqHgbvis1TAodjZwiFSpbdpADCNdSQYCU+yk9FcjAmMUeeBQvVtWXL hVguhhGfblOLpJQdYCL/Wf6nb8dne1NQSdKuUEWizbe7tuwt4yv9tPxZAQsHfw== 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 3D98D189E9 for ; Sat, 2 Mar 2024 07:41:14 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgJ2X-0005Es-AJ; Sat, 02 Mar 2024 01:40:09 -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 1rgJ2V-0005Ee-Vu for emacs-orgmode@gnu.org; Sat, 02 Mar 2024 01:40:08 -0500 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rgJ2U-0000jY-4C for emacs-orgmode@gnu.org; Sat, 02 Mar 2024 01:40:07 -0500 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-56682b85220so4920648a12.1 for ; Fri, 01 Mar 2024 22:40:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709361604; x=1709966404; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=+nDpfYC2TZwIpLmm5P31bj9n+w0lTT2+eK6qUA75bus=; b=naAy6Wh5dscSGcMNhbWSwMqsiqqdbqgtmMYFYXbKnpqVhIqKXsRrbpjkM8RSssW0hp R8P0waO9tDREa7/8/ZMBTTVWkF/uq5fjdQy9C1IsaRD3YPuph3glEoveZsHAnO1EXDkP SXDYs/kMuBUNiayM2OTCQEfjBofvsUsbVMjihCS5TJYQDH9lEzxi4kZL2Sqa3Ye/jjgp 53xS1WZ/iQOlbXHXr4W0C1X6JKmMgsAUWO8sT3xhH8TFvO5ZdC/y1BpFTdOADQ1o1MOd UTfKtYz3qSsQqfoKyO82TuKd1lkTFGCnPq0/jx4tvqoIr3jXq/9cP3b1Nn5MZWZrpSlt UsNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709361604; x=1709966404; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+nDpfYC2TZwIpLmm5P31bj9n+w0lTT2+eK6qUA75bus=; b=AX0ibChyDq3I5E7HgB2o1mSSqHx6iLZrJFNQzFqLPxUNGLqjknL7Bxha51b0yuxYlp 9tPgIH+1gvkvGOvc2y/uN3F43uXicNucT6NaODq2c049p9NLM1QpY+BnXk/rEvTQBvC9 Zzt8Hdh5Zddoo4pYNAZVsVnu0q76MHZH7DuIPP0ouBZV+FdjELLJ10Sy8PpT9+5dFkCX rdcKVKWPfnOjePybQ93tyz+LxQXQktzELlBpVYiqPxUX8I5iLBcnG3tGQcJcmZm1jcKY X/WNNLFJvV/ScjrBURxjvEh5Dh5VAzT/gZlySOVM/pKHy8XvBjbJzYoK0sTeD/hP8IY9 vzbg== X-Gm-Message-State: AOJu0YytHoGJhciOOb60TePqjt9cl0DonXD4jpmd2Dl980Y6WymE05N6 o8Ogc8XAjxv5K8WS1xFq5RTGbhWUtfqc9Lh4IHoxP0cpYSHhMi4tg8+xv2EiLwFaNvfVeh2wN5O gP5IvxGot03AxyF1UgyDG3jBUatgtvFZg8iY= X-Google-Smtp-Source: AGHT+IHwnrBhaBtBxF77izPDptQbZSuie/d23g/0b36cAeQnO2Sx71JnXHhLez7TmblN3Yhs2xAIe3QXgDV7F+msNwc= X-Received: by 2002:a05:6402:335:b0:565:66df:8911 with SMTP id q21-20020a056402033500b0056566df8911mr2658796edw.23.1709361604370; Fri, 01 Mar 2024 22:40:04 -0800 (PST) MIME-Version: 1.0 References: <87a5nh1r9h.fsf@t14.reltub.ca> In-Reply-To: From: Pedro Andres Aranda Gutierrez Date: Sat, 2 Mar 2024 07:39:38 +0100 Message-ID: Subject: Re: [BUG] Re: The orgframe construct in the Beamer exporter as a default needs a rethink To: Leo Butler Cc: Org Mode List Content-Type: multipart/alternative; boundary="00000000000038a6ae0612a7c37e" Received-SPF: pass client-ip=2a00:1450:4864:20::533; envelope-from=paaguti@gmail.com; helo=mail-ed1-x533.google.com 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, HTML_MESSAGE=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.97 X-Spam-Score: -8.97 X-Migadu-Queue-Id: 3D98D189E9 X-TUID: wd972iXhOj1x --00000000000038a6ae0612a7c37e Content-Type: text/plain; charset="UTF-8" To continue... my first reaction to the bug was to (setq org-beamer-frame-environment "frame") to test. That resulted in \newenvironment<>{frame}[1][]{\begin{frame}[environment=frame,#1]}{\end{frame}} which is somehow weird and wrong. This is why I propose to wrap the code in an (unless (string= org-beamer-frame-environment "frame") ... ) so we are protected against people like me ;-) Best, /PA On Sat, 2 Mar 2024 at 07:24, Pedro Andres Aranda Gutierrez < paaguti@gmail.com> wrote: > Hi Leo, > > Wouldn't it be wiser to combine you fix with mine. I still think that > setting org-beamer-frame-environment to "frame" when you don't need the fix > and not emitting the extra newenvironment code in that case makes the > generated LaTeX easier to read. Whether the default value should be frame > org or orgframe is something we can debate. > > Best, /PA > > On Sat, 2 Mar 2024 at 00:12, Leo Butler wrote: > >> Hello, >> >> Thanks for the bug report. The definition of the orgframe environment >> did not pass the overlay spec to the underlying frame environment. I >> believe the attached patch fixes that. >> >> Attached is an org file that appears to exercise the patch and show that >> it is doing the right thing. Could you confirm this, please? >> >> ---- >> Incidentally, I did propose that we introduce a BEAMER_FRAME property so >> that it could be manually set, but Ihor did not like that idea so it got >> scrapped. >> >> Thanks, >> Leo >> >> > > -- > Fragen sind nicht da, um beantwortet zu werden, > Fragen sind da um gestellt zu werden > Georg Kreisler > > Headaches with a Juju log: > unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run > a leader-deposed hook here, but we can't yet > > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --00000000000038a6ae0612a7c37e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
To continue... my first reaction to the bug was to=C2=A0(setq org-beamer-frame-environment "frame&= quot;)
to test.=C2=A0That resulted in
\newenvironment<>{frame}[1][]{\begin{frame}[environmen= t=3Dframe,#1]}{\end{frame}}
which is somehow=C2=A0weir= d and wrong.

This is why I propose to wrap the cod= e in an
(unless (string=3D org-beamer-fr= ame-environment "frame") ... )
so we are protect= ed against people like me ;-)

Best, /PA=C2=A0

On Sat, 2 Mar 2024 at 07:24, Pedro Andres Aranda Gutierrez <paaguti@gmail.com> wrote:
Hi Leo,
Wouldn't it be wiser to combine you fix with mine. I still = think that setting org-beamer-frame-environment to "frame" when y= ou don't need the fix and not emitting the extra newenvironment code in= that case makes the generated LaTeX easier to read. Whether the default va= lue should be frame org or=C2=A0orgframe is something we can debate.
<= div>
Best, /PA

On Sat, 2 Mar 2024 at 00:12, Leo Butler &= lt;Leo.Butler@= umanitoba.ca> wrote:
Hello,

Thanks for the bug report. The definition of the orgframe environment
did not pass the overlay spec to the underlying frame environment. I
believe the attached patch fixes that.

Attached is an org file that appears to exercise the patch and show that it is doing the right thing. Could you confirm this, please?

----
Incidentally, I did propose that we introduce a BEAMER_FRAME property so that it could be manually set, but Ihor did not like that idea so it got scrapped.

Thanks,
Leo



--
Fragen sind nicht da, um bea= ntwortet zu werden,
Fragen sind da um gestellt zu werden
= Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should ru= n a leader-deposed hook here, but we can't yet



--
Fragen sind nicht da, um bea= ntwortet zu werden,
Fragen sind da um gestellt zu werden
= Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should ru= n a leader-deposed hook here, but we can't yet

--00000000000038a6ae0612a7c37e--