From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Date: Tue, 25 Oct 2022 23:07:27 -0700 Message-ID: References: <86bkq0qf8p.fsf@protected.rcdrun.com> <87bkq0t03l.fsf@web.de> <87v8o7qzff.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35838"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58774@debbugs.gnu.org, emacs-orgmode@gnu.org, bugs@gnu.support To: Ihor Radchenko , "Dr. Arne Babenhauserheide" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 26 08:11:33 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1onZdV-00095e-4P for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Oct 2022 08:11:33 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onZaa-0006lX-Fy; Wed, 26 Oct 2022 02:08:32 -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 1onZa6-0006Oz-UT for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 02:08:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1onZa6-00038D-NV for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 02:08:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onZa6-0007xg-J1 for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 02:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2022 06:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58774 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 58774-submit@debbugs.gnu.org id=B58774.166676445630559 (code B ref 58774); Wed, 26 Oct 2022 06:08:02 +0000 Original-Received: (at 58774) by debbugs.gnu.org; 26 Oct 2022 06:07:36 +0000 Original-Received: from localhost ([127.0.0.1]:53031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onZZg-0007wp-9l for submit@debbugs.gnu.org; Wed, 26 Oct 2022 02:07:36 -0400 Original-Received: from mail-oi1-f175.google.com ([209.85.167.175]:37613) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onZZe-0007wb-1n for 58774@debbugs.gnu.org; Wed, 26 Oct 2022 02:07:34 -0400 Original-Received: by mail-oi1-f175.google.com with SMTP id i7so4027282oif.4 for <58774@debbugs.gnu.org>; Tue, 25 Oct 2022 23:07:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=+mdxS1dvK6g4ygq8ToIW3GTsrLLFsd4Qfm/R+4oqgng=; b=bAWh02fha+TTfFc7HVJ8hs2t5c3ycQa2Rpy8dCLXstUWiKkRy8Div02oeYJJa5/UFW xMK2Hjt6Ap4rbjik6JbCtNuH+HU85725wamhihcnMI9EtSmgM61SqEryoSO0P2/dqqCd 1NeqF7/gwOpRbzEYFy5kdPITdk2kCTwQR5eVIDTd5dX9oAkbHCcCnZujgSZFznruT++N +gzqy4M4xWVC+sHWF2IIrEK58+sY3bh074JoDBWJUBD0ABUNjjWcTAQY6sZIzMV+CnxT Nnw6gXx/6pRZ7Eic9TiMG4mOO4gArgTx6scKQdXY8C1tUm0gtebvFFuZMOdk2WxLcfuu c7UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=+mdxS1dvK6g4ygq8ToIW3GTsrLLFsd4Qfm/R+4oqgng=; b=eW0S4w0Yy2yX72yIw4JMZ6IT3Vk4zvVSsg/kOXyajtPqgqBybHbMbBJKoJoXpqYZ1Z PgpNQhC26Y0JNJkAMW87hj61e94loUnDLLYJhaQTz/rbqSVAeNS2Y/ZdIfTbvP55ATwk U3mNezE9pd2qVmEnvMltN0uH1xP1xFzLoy565FPS8/2eE5AupVUIGKrz+C4RWhQ52yPY z0g+iKvwTBSmkkvGqiylSZKvLbwURtWEG4XCflOnP2KqbDco/ddRwOMwi32ONuxn9Uop sNU3jksIVcTNSyWpNhXS+xqDoh3XEvTyvcbTEGL60m5U+C5amCPwklMUWkocW/aqd//P 1zQQ== X-Gm-Message-State: ACrzQf1W3TCl2VFL3DVBGuUMnKi8wpD/+zqVO8Ocoi9294qELJMWglN5 0ccsoZ5UBrVAiayT729CP8rnN62H4rM0V7CA0Uc= X-Google-Smtp-Source: AMsMyM4iD4hTB0PkrH6yJ1PBu6kPiOFTCt3Au8p7EqEA2s+FkbCv6zNfNe1cD8JpX9KJr0EeL89p21MQxMXwiooPFyQ= X-Received: by 2002:a05:6808:1186:b0:353:b77a:a481 with SMTP id j6-20020a056808118600b00353b77aa481mr1021786oil.199.1666764448428; Tue, 25 Oct 2022 23:07:28 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Oct 2022 23:07:27 -0700 In-Reply-To: <87v8o7qzff.fsf@localhost> X-Hashcash: 1:20:221026:yantar92@posteo.net::9slSG+HfU4WTtHJP:888G X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:246191 Archived-At: Ihor Radchenko writes: > The "problem" with shell links you are describing is a question of > setting variables and is also disabled by default. > > eww-mode, when loading Org page, could simply set > org-link-shell-confirm-function to its default value. Note that with the suggested feature, any link you follow risks being loaded in Org mode, before the user even has a chance to inspect the file. Which Org features, currently existing or introduced in the future, would EWW have to add workarounds for? It is very hard to foresee which parts of Org will be problematic and have to be disabled. See the security vulnerability in enriched-mode that prompted the release of Emacs 25.3, for example. Adding this opens a can of worms that will expose unsuspecting users to a whole class of new problems. And the only benefit is to save some users from having to type "M-x org-mode RET", or adding call to a suitable hook. All in all, this seems like a bad trade-off. So I don't think we should add such a feature.