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: Sat, 02 Sep 2023 10:53:05 +0200 Message-ID: References: <86bkq0qf8p.fsf@protected.rcdrun.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34405"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58774-done@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 10:54:16 2023 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 1qcMOW-0008iT-46 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 10:54:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcMOB-0000rG-RN; Sat, 02 Sep 2023 04:53:55 -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 1qcMO9-0000qW-LY for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 04:53:53 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcMO9-0000DT-Ci for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 04:53:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcMOI-0005vn-Ob for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 04:54:02 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2023 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58774 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Mail-Followup-To: 58774@debbugs.gnu.org, stefankangas@gmail.com, bugs@gnu.support Original-Received: via spool by 58774-done@debbugs.gnu.org id=D58774.169364480422747 (code D ref 58774); Sat, 02 Sep 2023 08:54:02 +0000 Original-Received: (at 58774-done) by debbugs.gnu.org; 2 Sep 2023 08:53:24 +0000 Original-Received: from localhost ([127.0.0.1]:35141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcMNg-0005up-5m for submit@debbugs.gnu.org; Sat, 02 Sep 2023 04:53:24 -0400 Original-Received: from h-98-128-175-171.a785.priv.bahnhof.se ([98.128.175.171]:55335 helo=SK-MacBook-Pro.localdomain) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcMNd-0005uY-TZ for 58774-done@debbugs.gnu.org; Sat, 02 Sep 2023 04:53:23 -0400 Original-Received: by SK-MacBook-Pro.localdomain (Postfix, from userid 501) id 939A5204F34B67; Sat, 2 Sep 2023 10:53:05 +0200 (CEST) In-Reply-To: <86bkq0qf8p.fsf@protected.rcdrun.com> (Jean Louis's message of "Tue, 25 Oct 2022 15:06:46 +0300") 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268971 Archived-At: Jean Louis writes: > This wish request is related to Emacs EWW and Org mode. > > Please make EWW recognize Org file when served by WWW server. Currently > it does not recognize the MIME type text/x-org and opens the file as > text, it does not invoke the org mode. In my opinion, it should. > > Inspect following file by using lynx: > > $ lynx -head https://gnu.support/files/tmp/example.org > > uHTTP/1.1 200 OK > Server: nginx/1.14.2 > Date: Tue, 25 Oct 2022 12:04:26 GMT > Content-Type: text/x-org > Content-Length: 364 > Last-Modified: Tue, 25 Oct 2022 11:58:22 GMT > Connection: close > ETag: "6357cf5e-16c" > Accept-Ranges: bytes > > One can see that Content-Type is text/x-org > > My expectation is that EWW opens the Org file served by WWW server in > Org mode. But it doesn't. Can this be done? > > This will open opportunity to directly serve Org files by using WWW > servers and to browse such files through Emacs, meaning, bunch of notes, > tasks and similar may be kept online, with or without protection and > directly accessed by Emacs. It becomes new area or WWO or World Wide Org > environment. The discussion here showed that this will introduce security issues and is not something we want to do. I'm therefore closing this feature request as wontfix.