From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: master c86995d07e9: Enable code block evaluation when generating .org manuals Date: Thu, 06 Jun 2024 16:31:35 +0200 Message-ID: <87h6e6i1mg.fsf@gmail.com> References: <171767737644.19678.784876979840850798@vcs2.savannah.gnu.org> <20240606123616.DE7C9C1F9EF@vcs2.savannah.gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27766"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Kyle Meyer To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 06 16:32:33 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sFEAG-0006mi-F6 for ged-emacs-devel@m.gmane-mx.org; Thu, 06 Jun 2024 16:32:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sFE9Z-00040D-40; Thu, 06 Jun 2024 10:31:45 -0400 Original-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 1sFE9W-0003pX-Rx for emacs-devel@gnu.org; Thu, 06 Jun 2024 10:31:42 -0400 Original-Received: from mail-wm1-x32e.google.com ([2a00:1450:4864:20::32e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sFE9V-0000qB-8D for emacs-devel@gnu.org; Thu, 06 Jun 2024 10:31:42 -0400 Original-Received: by mail-wm1-x32e.google.com with SMTP id 5b1f17b1804b1-421578c546eso10917825e9.0 for ; Thu, 06 Jun 2024 07:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717684297; x=1718289097; darn=gnu.org; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=kSQxX8NE0pIMJNaZHg6+O//jWf516rNmagRoC+pT7ck=; b=N6HHdVC58PoiEL92nZACXJepI8MpXVEaE2Y90njzXFLkWywj0KAHsr3D7UAfeBEycv xMSs2Eljsc/SVQPO9lExAUex/0BQb6TGWskHEl/pvW1q3k2te5fk+9310LMw8WRZP25I DVd/3F3aI8APCtGnR+pmyN9csDoaq7Baivt2Txdt8FaE+NrZPshwVZse6etCIJHuBv/M ao2nnTzxQXqDD3rZq6HiJohu2JAtOKj6wdcbJGG5EmdAysosj54hH/4n5ZZYRpb8QT5b VoAjNv0V04aPLZTmks04mGFsDTwtimVVKdwPfXNaCNHWDOLGWRtPiddvOKpEA8Ouvn8j E3pA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717684297; x=1718289097; h=mime-version:message-id:date:gmane-reply-to-list:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=kSQxX8NE0pIMJNaZHg6+O//jWf516rNmagRoC+pT7ck=; b=stl5nuN81+kAlcLzXBhTCG3WWLpvkji8ig40D2pkhxwvqt6BII7b/o/PeYDt+DEU79 QeJ2z0cJ8G4fA7uORI9hOnXeJUzU+XudYZZWCkFFU3es4R6OPdb+DnQGOGRFRu7AGivI wOTL80L3tNwg3tMbpXxgUqurUR4BINeekmGxuI/PRcnh6sy6sMOAel++gsLRPLh7R7PB wQbNEQT9fIAkiZ02IwYJSgPwarswP+c3jkaRH0rb+1IB22I0QcPgaL1PryrL3IobDD/b Elgz1iwjiDNCYauUPKuSvNbZJsH0KAUqZiRM3iyuX0A+34ADsYqIgvv/2Rea3CczbIFB rVBw== X-Gm-Message-State: AOJu0Yx1oJ9+qQnGyyij9tpdPHZr1VHGeLOuQtpPIcpp8DdsfSaP/RpW X4gLkX8r5ZwXt5VHjsbfd09CY1m0E3rdtPnNgnc4BvX0WOuUYffQBEyQ+w== X-Google-Smtp-Source: AGHT+IGOSxjJM9blo7aMVkhj+K2uG7QFhsK1inB8FACSw0g6SIkgLR3qBsg9QhZWgDYpkIdmmSXS5w== X-Received: by 2002:a5d:59a5:0:b0:359:b737:68c9 with SMTP id ffacd0b85a97d-35e8ef7ea9fmr5174587f8f.45.1717684297147; Thu, 06 Jun 2024 07:31:37 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35ef5d47930sm1719121f8f.29.2024.06.06.07.31.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jun 2024 07:31:36 -0700 (PDT) In-Reply-To: <20240606123616.DE7C9C1F9EF@vcs2.savannah.gnu.org> (Eli Zaretskii's message of "Thu, 6 Jun 2024 08:36:16 -0400 (EDT)") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::32e; envelope-from=rpluim@gmail.com; helo=mail-wm1-x32e.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, 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-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319852 Archived-At: >>>>> On Thu, 6 Jun 2024 08:36:16 -0400 (EDT), Eli Zaretskii said: Eli> diff --git a/doc/misc/Makefile.in b/doc/misc/Makefile.in Eli> index 2841916dc89..b26d3525a22 100644 Eli> --- a/doc/misc/Makefile.in Eli> +++ b/doc/misc/Makefile.in Eli> @@ -250,6 +250,7 @@ define org_template Eli> $(1:.org=.texi): $(1) ${top_srcdir}/lisp/org/ox-texinfo.el Eli> $${AM_V_GEN}cd "$${srcdir}" && $${emacs} -l ox-texinfo \ Eli> --eval '(setq gc-cons-threshold 50000000)' \ Eli> + --eval '(setq org-confirm-babel-evaluate nil)' \ Eli> -f org-texinfo-export-to-texinfo-batch $$(notdir $$<) $$(notdir $$@) Eli> endef This has set off my paranoia alarm. So anyone that manages to sneak malicious emacs lisp code into the org manual gets to run that code on the machines of everyone who builds emacs from source? (I know, I know, we already run emacs lisp code during the build. But it comes from .el files, generally, not documentation). Robert --