From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: indieterminacy Newsgroups: gmane.emacs.bugs Subject: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Date: Wed, 26 Oct 2022 22:22:44 +0200 Organization: Icebreaker Message-ID: References: <86bkq0qf8p.fsf@protected.rcdrun.com> <87bkq0t03l.fsf@web.de> <87v8o7qzff.fsf@localhost> <87zgdjoz3r.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8588"; mail-complaints-to="usenet@ciao.gmane.io" To: Ihor Radchenko , Stefan Kangas , "Dr. Arne Babenhauserheide" , 58774@debbugs.gnu.org, emacs-orgmode@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 27 02:18:36 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 1onqbT-0001yP-RY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 27 Oct 2022 02:18:35 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onqUD-00011A-PD; Wed, 26 Oct 2022 20:11:05 -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 1onqUB-0000xY-Gc for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 20:11:03 -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 1onqUB-0004JE-9H for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 20:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onqUB-0004di-4Z for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 20:11:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: indieterminacy Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Oct 2022 00:11:03 +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.166682942717773 (code B ref 58774); Thu, 27 Oct 2022 00:11:03 +0000 Original-Received: (at 58774) by debbugs.gnu.org; 27 Oct 2022 00:10:27 +0000 Original-Received: from localhost ([127.0.0.1]:55565 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onqTZ-0004cT-SU for submit@debbugs.gnu.org; Wed, 26 Oct 2022 20:10:27 -0400 Original-Received: from libre.brussels ([144.76.234.112]:58628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onmvQ-0007Sz-Er for 58774@debbugs.gnu.org; Wed, 26 Oct 2022 16:22:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libre.brussels; s=mail; t=1666815764; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=mfCvTLKf++Wi5Wnh+P3jD/OxxNn3aHEiHjpJ9ldhd/M=; b=Tw36IAy7uoeCSdn99ucd0iKD70p90daSibQGwryaAG22jgzligk/VPlz7vZGTuLI1byLyN 57xCWVJ/OKUf0GOwpVyRKfhuOuETK21ZG6m5FCumin9AqNidQBOlYDije4ZVUK3bvLcmE1 9CrWludfXzEOCNvfpyYl1lIr9KuvZPs= In-Reply-To: X-Sender: indieterminacy@libre.brussels X-Mailman-Approved-At: Wed, 26 Oct 2022 20:10:17 -0400 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:246264 Archived-At: On 26-10-2022 10:24, Jean Louis wrote: > * Ihor Radchenko [2022-10-26 09:52]: >> Strictly speaking, even eww-mode may run arbitrary code given that >> user >> puts something into eww-mode-hook. > > eww-mode-hook is a variable defined in ‘eww.el’. > > Its value is (org-eww-extend-eww-keymap) > > Please help me recognize content type by using eww-mode-hook, so that > I can invoke org mode when there is "text/x-org" > > It is very useful to browse my personal notes from my personal WWW > server without invoking external browser. Consider hacking with regards to the Gemini protocol within Emacs, its minimalism may provide the appropriate playground for you to do things you expect (it already provides junctures to switch to (or at least load) html content with another non Gemini browser. Im killing a couple of tasks my end so I cant do this for you. However, it may be worth you experimenting with a Gemini server which contains orgmode files. I expect you should be able to view orgmode files (I guess they would be treated as non Gemtext and therefore binary). If you could toggle the appropriate mode inside something like emacs-elpher it may work to your needs. -- Jonathan McHugh indieterminacy@libre.brussels