From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs,gmane.emacs.orgmode Subject: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Date: Wed, 26 Oct 2022 11:24:30 +0300 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 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12983"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) Cc: 58774@debbugs.gnu.org, "Dr. Arne Babenhauserheide" , emacs-orgmode@gnu.org, Stefan Kangas To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 26 10:32:01 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 1onbpR-00039N-3P for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 26 Oct 2022 10:32:01 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onbmd-00037t-DV; Wed, 26 Oct 2022 04:29:07 -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 1onbma-0002sh-An for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 04:29:04 -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 1onbma-0003fO-24 for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 04:29:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1onbmZ-0005MG-TQ for bug-gnu-emacs@gnu.org; Wed, 26 Oct 2022 04:29:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Oct 2022 08:29: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.166677291420455 (code B ref 58774); Wed, 26 Oct 2022 08:29:03 +0000 Original-Received: (at 58774) by debbugs.gnu.org; 26 Oct 2022 08:28:34 +0000 Original-Received: from localhost ([127.0.0.1]:53262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onbm6-0005Jq-05 for submit@debbugs.gnu.org; Wed, 26 Oct 2022 04:28:34 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:47607) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1onbm4-0005Jg-3e for 58774@debbugs.gnu.org; Wed, 26 Oct 2022 04:28:32 -0400 Original-Received: from localhost ([::ffff:197.239.4.142]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000081D92.000000006358EFAF.00005FCC; Wed, 26 Oct 2022 01:28:31 -0700 Mail-Followup-To: Ihor Radchenko , Stefan Kangas , "Dr. Arne Babenhauserheide" , 58774@debbugs.gnu.org, emacs-orgmode@gnu.org Content-Disposition: inline In-Reply-To: <87zgdjoz3r.fsf@localhost> 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:246209 gmane.emacs.orgmode:149923 Archived-At: * 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. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/ From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SFqTOIXwWGPCGwAAbAwnHQ (envelope-from ) for ; Wed, 26 Oct 2022 10:32:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id GCRKOIXwWGNtPQAAauVa8A (envelope-from ) for ; Wed, 26 Oct 2022 10:32:05 +0200 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 B71C43D72F for ; Wed, 26 Oct 2022 10:32:05 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1onbmX-0002dS-Lk; Wed, 26 Oct 2022 04:29:01 -0400 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 1onbmL-0001b7-6n for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 04:28:53 -0400 Received: from stw1.rcdrun.com ([217.170.207.13]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1onbm5-0003bs-00 for emacs-orgmode@gnu.org; Wed, 26 Oct 2022 04:28:48 -0400 Received: from localhost ([::ffff:197.239.4.142]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 0000000000081D92.000000006358EFAF.00005FCC; Wed, 26 Oct 2022 01:28:31 -0700 Date: Wed, 26 Oct 2022 11:24:30 +0300 From: Jean Louis To: Ihor Radchenko Cc: Stefan Kangas , "Dr. Arne Babenhauserheide" , 58774@debbugs.gnu.org, emacs-orgmode@gnu.org Subject: Re: bug#58774: 29.0.50; [WISH]: Let us make EWW browse WWW Org files correctly Message-ID: Mail-Followup-To: Ihor Radchenko , Stefan Kangas , "Dr. Arne Babenhauserheide" , 58774@debbugs.gnu.org, emacs-orgmode@gnu.org 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 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87zgdjoz3r.fsf@localhost> User-Agent: Mutt/2.2.7+37 (a90f69b) (2022-09-02) Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666773125; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=f81+RQ1VZCtQukIeYVtBsqHAwXGWt55riUDfL6k/Wdg=; b=PjxwrDbxif/M7ZYe5rkgd9ma0JYeghzZ+PimMogGb0u3bV5ByoXlMuXpaUvmSq1uPd6973 15XFJnCycFnwfERWHZ9M0fkPiDA5OGla0AubB6IOBZZEXcENUcDQi/VyjKFID8Ld0NXvlK rVqGENje4eN2cTabWjCmL1X5EntGy/DFtLx7OUHb7ou1UtYlp0DDPAnvLpMODEBfKrH/eA BZZKbuFsWDiMf7dpCzlOIlwE+4xQ6FxgNiJIIKqiBDjHMEgR8BX5RYH+j+W/6EYBSK63GH oSXiqN8XR+V3AQWaU4ViGHUcWPkCFoC+V9A40BI/YFgLnhSShrcUWMx9CWyvZA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666773125; a=rsa-sha256; cv=none; b=T/CzEpIENcUNIpS02ZHQk2X023DLcWDEjHhwpZuw93w5dGGFJRnsBqIyKFgNJIlUiu6ZI9 fS78jL4FC0bXBpeGUhxUbmCHyp+U3ai7u3GFpTDoQWpnCFcagiQ72xDOAuwdyOWw7nNuYM 4JWwlYciq2pJ5LwI02nXTUmh67pDkvo/v2ZfnZK3TQ6QEq159+tt1dQ+bGYwk8hwgTvZyf +CsWLU2w14qKXwvGEGAandzFhSFAGQWosITp9gdrR04bGGIoyG9Ip5vn8jIAAP8EHS8Hhl JtsprbRexy1KbA76VxXWmw7ME6GTwKq9O+m4Aj4K1lV/ryolbFzhcrHCigjtJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Spam-Score: 0.09 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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" X-Migadu-Queue-Id: B71C43D72F X-Spam-Score: 0.09 X-Migadu-Scanner: scn1.migadu.com X-TUID: 8hvPw4rGdmaz * 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. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/