From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#68687: [PATCH] Use text/org media type Date: Thu, 25 Jan 2024 23:43:14 +0000 Message-ID: <87h6j1f08d.fsf__45251.9857253478$1706226093$gmane$org@localhost> References: <6d94fff4-4d30-4121-bfd1-f267cb5b637c@gmail.com> <8734uqpvgn.fsf@tec.tecosaur.net> <49fa47c0-522a-46d7-ba0d-6e688aa26a8e@gmail.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="31058"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68687@debbugs.gnu.org, Max Nikulin , emacs-orgmode@gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 26 00:41:25 2024 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 1rT9LY-0007uu-1v for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 26 Jan 2024 00:41:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rT9L7-0002Iq-Hj; Thu, 25 Jan 2024 18:40:57 -0500 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 1rT9L6-0002Ih-Sg for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2024 18:40:56 -0500 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 1rT9L6-0006dM-K4 for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2024 18:40:56 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rT9LC-0005gt-DP for bug-gnu-emacs@gnu.org; Thu, 25 Jan 2024 18:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Jan 2024 23:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 68687-submit@debbugs.gnu.org id=B68687.170622600421783 (code B ref 68687); Thu, 25 Jan 2024 23:41:02 +0000 Original-Received: (at 68687) by debbugs.gnu.org; 25 Jan 2024 23:40:04 +0000 Original-Received: from localhost ([127.0.0.1]:49590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT9KF-0005fF-OL for submit@debbugs.gnu.org; Thu, 25 Jan 2024 18:40:04 -0500 Original-Received: from mout02.posteo.de ([185.67.36.66]:34767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rT9KA-0005eb-6p for 68687@debbugs.gnu.org; Thu, 25 Jan 2024 18:40:02 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id F3907240103 for <68687@debbugs.gnu.org>; Fri, 26 Jan 2024 00:39:45 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1706225986; bh=TIqIoRlbdnPY7qU297SrNIplbyRIWty49m+UfZl4OHQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=M9+n/d2v/S6z3MO+bwp6kQdv/to6opMK3XnPzHytlzRVhCVgH3p3kXlosTeVDGvP3 VFA9og0JnPjyMDKCaXL5Q/KitLrlZS1eBQN1T5pqrQkH/iMoriytSVPDtBqEyIgOok m4j6g46md0TvfdZGQVBFZd9uanshMp3fdCbbNNHBPi3jgAtRafnkW41RTTVmMSccEJ YWWusjBf5AeEzMUCjEler1ZWRjSKW6kOf7A6FzhQthockhFDRl45/5mOJ+GBbRV2p0 Nj+aOw71vYlMTQM7JXCIbKfL8A1C3U0NPuDf+cp1JR7KIkJmTWwGY036KswbDcMgnU x7Yt+Wr0FxbBg== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TLck86vFjz6txc; Fri, 26 Jan 2024 00:39:44 +0100 (CET) In-Reply-To: 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:278878 Archived-At: Stefan Kangas writes: >> I suggest to make the media type used for Org mode files consistent with >> the one used by XDG https://gitlab.freedesktop.org/xdg/shared-mime-info >> Currently Emacs has text/x-org, however "x-" prefix is not recommended >> by IANA any more, see https://www.rfc-editor.org/rfc/rfc6648 >> "Deprecating the "X-" Prefix and Similar Constructs in Application >> Protocols" >> Ideally somebody should file a request to IANA to register the text/org >> media type. >> https://www.iana.org/assignments/media-types/media-types.xhtml > > Eli, Ihor, what do you think? I see using text/org as an improvement. text/x-org is likely useless. At least, https://github.com/jeremy-compostella/org-msg/blob/master/org-msg.el uses text/org, which may appear in email parts. However, AFAIU, text/org will fall into "standards tree" in IANA media type specification, which means that it MUST be registered, as described in https://www.rfc-editor.org/rfc/rfc6838.html#section-3.1 Registering text/org media type requires syntax spec. We are still working on format Org mode syntax specifications. See https://list.orgmode.org/orgmode/871rjhha8t.fsf@gmail.com/ and https://orgmode.org/worg/org-syntax.html The spec is still not fully finalized, so we are not yet initiating the registration, as we will need to repeat it again if we decide to make further changes (https://www.rfc-editor.org/rfc/rfc6838.html#section-5.5) -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at