From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id oK3SJSQUHWahxgAAe85BDQ:P1 (envelope-from ) for ; Mon, 15 Apr 2024 13:48:52 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id oK3SJSQUHWahxgAAe85BDQ (envelope-from ) for ; Mon, 15 Apr 2024 13:48:52 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; none 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 8767BD258 for ; Mon, 15 Apr 2024 13:48:52 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rwKoR-0003rL-AR; Mon, 15 Apr 2024 07:47:51 -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 1rwKoI-0003qc-QN for emacs-orgmode@gnu.org; Mon, 15 Apr 2024 07:47:45 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rwKoG-0006oN-DL for emacs-orgmode@gnu.org; Mon, 15 Apr 2024 07:47:42 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id A0FD0240029 for ; Mon, 15 Apr 2024 13:47:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1713181656; bh=p6nSigIHXxyOwz86GuqvbU76HLuzUKXRz27ddSKYmwk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=Xc31c94SCe6cSgsAVQf5eBVgMGpGFG3eZA1T79ZDP7ZlHcnzY/XobZoURB+rF+966 u1spdkhCDogEHI5Q4iLNK3z2Qxocp5mkaimwu9B0jLEdp7xi6T9/VPrSu43FOBg8Hs GI62WznB+xIYMtb8lfNbblzB1COxg81EZVd97jHqqf2J7af1yGy3IL1UOvYJ1C06OH P0DI5GptaRgg3RugURBJ0IW0xb+IGiU6usJBt6hO/RcMUCXpj3RROdi4uhHq9arYyM eTve+L30VpZp3YXeUu5jcE226ulTsUjWdnY2oCVWkWtS8uY6MRieIAVwpt85yJC79u K/p5XGK8iPbIw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4VJ5525HKGz9rxF; Mon, 15 Apr 2024 13:47:34 +0200 (CEST) From: Ihor Radchenko To: Joseph Turner Cc: Org Mode Mailing List , Adam Porter , Jonas Bernoulli , Protesilaos Stavrou Subject: Re: Using search options in HTTP-style links In-Reply-To: <871q77ugcf.fsf@ushin.org> References: <871q77ugcf.fsf@ushin.org> Date: Mon, 15 Apr 2024 11:48:11 +0000 Message-ID: <8734rm7sp0.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -4.00 X-Migadu-Scanner: mx11.migadu.com X-Spam-Score: -4.00 X-Migadu-Queue-Id: 8767BD258 X-TUID: WgyQkcOtiBXg Joseph Turner writes: > ... > (eww "https://ushin.org/needs-list.org#%3A%3A%23care") > > ...loads the file in eww-mode with point at the top of the file. > > I think it would be more useful to instead activate org-mode (or a mode > which derives from it - "eww-org-mode"?), decode the link fragment, and > then jump to the location specified by the search option. There is a convention for pdfs: http://www.example.com/document.pdf#page=5 But, AFAIK, it is not RFC. So, there is nothing stopping from creating an ad-hoc convention to parse URL locators in links to PDFs or org files or whatnot. However, the question about activating a major mode on web content is a question to Emacs developers. It should be considered carefully, because activating major modes may not be safe. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at