From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <emacs-orgmode-bounces+larch=yhetil.org@gnu.org> Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 8G9lJmEosWZltQAAe85BDQ:P1 (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 05 Aug 2024 19:30:41 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 8G9lJmEosWZltQAAe85BDQ (envelope-from <emacs-orgmode-bounces+larch=yhetil.org@gnu.org>) for <larch@yhetil.org>; Mon, 05 Aug 2024 21:30:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ushin.org header.s=key1 header.b=ofDd8ubO; 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"; dmarc=pass (policy=quarantine) header.from=ushin.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722886241; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=IdvtQH3lcZ0iX1k34VMPQgTCWKF/ubJhEjqGH0dgNCA=; b=TSPmOQ48pfUvRXXXLaYAhv+IVftjkwoqyKGUFUunddd9ULX4j3hKPqXrN+x4ZN7RPdFblr hDDOnLvjeGyFo+5gZGqRytpPBBBGgHEilCcKNSc9EZWly0EW434849YltBTFlhaAhl6MYs RfbZyHMjP8bwUr08ETD9HnA5sVGtTTnFPYqVEM0KwuPpSH0kLRv82+IIDszVxguCK7UTzg t+ItcHsFkcjdkZjEoMEiQ1imsRrVLhuv73IPiCg8KvAZgEdg64G5Rknt1Rd6SDqoVuf+rS x7gQ5sI9MRqzH/z2Zl7V/uOK6MNwkwQPDhkXNYdT5AlnLTf3juuD/sOTst6law== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ushin.org header.s=key1 header.b=ofDd8ubO; 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"; dmarc=pass (policy=quarantine) header.from=ushin.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722886241; a=rsa-sha256; cv=none; b=EnbL6hWZe5ST7qF3FjGSoDiVORNxNRDcwV8jeZNgPuR4peWeS7tbGQTSswC10+OdGIS+M5 6w/FjVeZofhdtSFTcYiDG/2HJ+LZe99IvAeA9nFt4VsEnfdAe9zfq39lxen6WTUVKV/V7N b4SgBSj1+Vv2c6u88gWSXaug5hutCG+RYlNxwNKYP0/+oRWklgfQItwdzTq6/8ESk4FQsb G13rwiQ18cHH0c9bCwXgGMnEiLgC2vh6pGbwwAWuveKVG9xGMPfbv8GKDYfHeg4unhQx/1 ceJ6SQMvC1K3QuX528FuBPRwN0CraN1EZd/m+ZwELqQFinlabrZHsMrIm39iQQ== 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 5A0312540D for <larch@yhetil.org>; Mon, 5 Aug 2024 21:30:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <emacs-orgmode-bounces@gnu.org>) id 1sb3Ou-00084j-9b; Mon, 05 Aug 2024 15:29:48 -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 <joseph@ushin.org>) id 1sb3Or-00084O-IR for emacs-orgmode@gnu.org; Mon, 05 Aug 2024 15:29:45 -0400 Received: from out-187.mta0.migadu.com ([91.218.175.187]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <joseph@ushin.org>) id 1sb3Op-0002Kb-Da for emacs-orgmode@gnu.org; Mon, 05 Aug 2024 15:29:45 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ushin.org; s=key1; t=1722886178; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=IdvtQH3lcZ0iX1k34VMPQgTCWKF/ubJhEjqGH0dgNCA=; b=ofDd8ubOoDB8HNQTnzAM5nSyg1S37RijvIWk9mm0nd3SlbiIHNoMjKWhjz+HoaogSVB3+P QLV+BNftMpDFc0kC2rhJtlAE+lMemkYormW373LwR04RB1dRNUxhgW2X0cKFRnH6FraDNA d2wmtnNbscSwuowAX3hQ+Rt777PbRc1SX419V3bqxRCQDz24fBcJnB55Mk5oaLchKBjHgo DcHDhGws72P+lpSj5TPyFqAZLFcDbHH1rwYZtbuS/f47rQhnjS0wt8f/wv6Mp+wm7vfFAr ONM9Opu2qKKEirF/emHYDrZGUO96fQkFvzF/A8NQBqG83vKJuDG3LQgzhEhJWQ== From: Joseph Turner <joseph@ushin.org> To: emacs-orgmode@gnu.org Subject: Re: Adding text/org MIME type to jshttp/mime-db In-Reply-To: <0682dd46-583b-44e6-89a3-1fd1893ff636@gmail.com> (Max Nikulin's message of "Mon, 5 Aug 2024 17:35:44 +0700") References: <87wml0f265.fsf@ushin.org> <20dcde53-c4aa-4db6-9143-9e6ea6a62215@gmail.com> <875xsh5wze.fsf@ushin.org> <821aa597-349e-4ded-8c5f-16e80a59965e@gmail.com> <87ikwfoduu.fsf@ushin.org> <0682dd46-583b-44e6-89a3-1fd1893ff636@gmail.com> Date: Mon, 05 Aug 2024 12:29:31 -0700 Message-ID: <87zfpq22g4.fsf@ushin.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=91.218.175.187; envelope-from=joseph@ushin.org; helo=out-187.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, 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." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <https://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=subscribe> Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Spam-Score: -9.81 X-Migadu-Queue-Id: 5A0312540D X-Migadu-Scanner: mx10.migadu.com X-Migadu-Spam-Score: -9.81 X-TUID: Ys5D/sxBI+6R Max Nikulin <manikulin@gmail.com> writes: > On 05/08/2024 10:19, Joseph Turner wrote: >> Max Nikulin writes: >>> - My impression is that multiple types may have the same suffix, so >>> there should be "get all media types for given suffix" method. >>> - It should be possible to specify priorities within the same source. > [...] >> However, on the topic of Org mode support in Agregore, I am not sure >> that the ability to specify a different preference or even a "get all >> media types for given suffix" function would help. > > My idea is that this method pushes developers toward more flexible > design in respect to specifying priorities of records. With its > presence it is more probable that users of the DB will be prepared to > cases when 2 step mappings media type -> suffix -> media type and > suffix -> media type -> suffix give values that are different from the > original ones. I think a more flexible design could help in this case. >> For now, perhaps we can override the MIME type map in the extension: >> https://github.com/AgregoreWeb/extension-agregore-renderer/issues/8#issuecomment-2267958828 > > I have added a comment. The issue may be Content-Type header sent by > server (or other side of p2p connection). Thank you. I've responded on that thread.