From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id KDHMKqUisWV6IgAA62LTzQ:P1 (envelope-from ) for ; Wed, 24 Jan 2024 15:45:57 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id KDHMKqUisWV6IgAA62LTzQ (envelope-from ) for ; Wed, 24 Jan 2024 15:45:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=j24+rBe5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706107557; a=rsa-sha256; cv=none; b=O7RIwKRUt6ElGf4Xm4XZ2uq9bwXoMlqECgTEIRa8XEhC7g9qvBYK29s2RyPWpfVvvSHQHQ ZvedycgWitkir44J0dRNTu0Ei1LRpDtjhC9SJxGpjDYif1FlPOhL199dbot+b+49wPBUl6 fIlPUNv0KJsgNsQ5Bg/3+P4e9/ypeiVk3D3t87IGq0CZfxMlAhTRDh90AQuQVGflW/fgr2 /CcCgl2f1V5w5EuHXNOQ8fMrS7BkCNIX3E9oU4miFjkJQSI4ma9rIORhapOlbK42/hu3Jv Tzid5JVB/7jmkeJguxwmbDCgkzFHcJrUFCWsDWH/0jWd40se0QblIEly5p0sHQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=j24+rBe5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706107557; 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:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=LKryR2pBy8v2qeOLgysMOQ7nLeQQRP2wvDdhRskC37Y=; b=RPeB+JUYhS1h+ECPB/nWHT2AY5HX8FtLw9CLwf2tWFlijKtTWVlCc3e6CKR90oZ68d8LlM 4FYd2DAtX2edjV8KwHO+5ctkYOP7wXIPxCpahYKFU2DSk4LzS4fWi07RpaImCbgtPlYq+E u3sGhlkQ6q+pw08NRk3ronMqL+c6IUtEbFsDvIR4auNvgpC1sPolF4jTodwDCZ+5HZF4xa 35teYe6dYnr1hlwldzyzmrj743nulRtkNmd3f86+9GMFEtKYSGyjav6Apaf3GlZQ5DDXWb jPd48boZ6ax7uZNHwfh87hcWqGdgNZw8WA9CP75YHrLPFkAERpHHAYFs0bYomA== 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 83E3723258 for ; Wed, 24 Jan 2024 15:45:57 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSeUz-0006yl-LJ; Wed, 24 Jan 2024 09:45:05 -0500 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 1rSeUr-0006vC-HQ; Wed, 24 Jan 2024 09:44:58 -0500 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 1rSeUr-0006r7-9d; Wed, 24 Jan 2024 09:44:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSeUw-0001LD-2J; Wed, 24 Jan 2024 09:45:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68687: [PATCH] Use text/org media type Resent-From: Max Nikulin Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org, bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Jan 2024 14:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 68687 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 68687@debbugs.gnu.org Cc: emacs-orgmode@gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: emacs-orgmode@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17061074655059 (code B ref -1); Wed, 24 Jan 2024 14:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Jan 2024 14:44:25 +0000 Received: from localhost ([127.0.0.1]:44839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSeUL-0001JW-7p for submit@debbugs.gnu.org; Wed, 24 Jan 2024 09:44:25 -0500 Received: from lists.gnu.org ([2001:470:142::17]:38530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSeUI-0001JB-8V for submit@debbugs.gnu.org; Wed, 24 Jan 2024 09:44:23 -0500 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 1rSeTy-0006gL-A9 for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 09:44:03 -0500 Received: from mail-lf1-x129.google.com ([2a00:1450:4864:20::129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSeTw-0006n1-DX for bug-gnu-emacs@gnu.org; Wed, 24 Jan 2024 09:44:02 -0500 Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-5100ed2b33dso1420271e87.0 for ; Wed, 24 Jan 2024 06:43:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1706107438; x=1706712238; darn=gnu.org; h=in-reply-to:from:to:references:content-language:subject:user-agent :mime-version:date:message-id:sender:from:to:cc:subject:date :message-id:reply-to; bh=LKryR2pBy8v2qeOLgysMOQ7nLeQQRP2wvDdhRskC37Y=; b=j24+rBe5z3Y8DQiLRbk/+lHycDutKwN/rXf+lduvJSWYeiks9oanWAq2UplScZz9Mc 0GqHwoJMLEfX1iWPNsHkfssKf7hUYQLGlVICJglpYHKR/fd/YNeTAGI8N9Nrl4eUHp4F VUmu6G6QogkUPIPDWukhh/fStExr4m6y2+3W84wBJW9gKAb0HoP74sK39mX7Ynbz3IP8 hGZcOgPXUtcFgkDiMJPsX/4QnHITE2gNaiZZD6UTvofQXVMLsAMRwh8V4R0XzWx6PJVk 0ZqovsbykpwfPYBiYEOqyzkgliZh/V0iSALeTv9xvziv/PQUqT6yJEGUcz2W5cbMZYTV fsQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706107438; x=1706712238; h=in-reply-to:from:to:references:content-language:subject:user-agent :mime-version:date:message-id:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=LKryR2pBy8v2qeOLgysMOQ7nLeQQRP2wvDdhRskC37Y=; b=Zcos8DI9KxxLlfSwhGfmQjokqKSBVFTX9Y4guZ0NBO925jYipc9XNEMUCsIClyihDG JxUY1uaYZw2WHRpBD8PAscUGbllzvPtd/0hCRzIK50oZUNsTd4BIlRMcHjS3d8OcSixV ZBKl8kfSxFbHxZS/jrScASQP2cEIoCs2NJVLQGIQDzL2u9lvXbtmcBrgXqr7FZpao5S2 vc+dpd/cZW+Sa1++SHn6nD2NvQVDNDJ1JXyVfpudau1EDoqaalqzl98r8aWEfSIRWZ3X q2pf1YaYT3WXmuhTMrWun0qJDDl6Ig2vqt7hDlXuViOKkVYMZ3HhJAZrEFujrvsklWE5 I5NA== X-Gm-Message-State: AOJu0Yyg5YOWH1KGxagoqQ09tSDgTwud1XF4RVtPMV4HUy6pTx6SCdjY PzDNfcvUePJTUFPiatD3KQXsx9vsoug/+KkX1H1uMnkvAPzLjEkFSeo7hpuU X-Google-Smtp-Source: AGHT+IGptmH6Zrg3RWa5i759HJm4mqMxxZKaZEj8YekPe2mPAQ8N2waOPIyIMcYfM9H4Z38hA+OzTg== X-Received: by 2002:a05:6512:748:b0:50e:b19c:94d7 with SMTP id c8-20020a056512074800b0050eb19c94d7mr3220420lfs.106.1706107437633; Wed, 24 Jan 2024 06:43:57 -0800 (PST) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id k14-20020ac24f0e000000b0050e7e92d211sm2620230lfr.45.2024.01.24.06.43.56 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 24 Jan 2024 06:43:56 -0800 (PST) Content-Type: multipart/mixed; boundary="------------p7e6ZEQbkUSvqUmp0u2gMop4" Message-ID: <49fa47c0-522a-46d7-ba0d-6e688aa26a8e@gmail.com> Date: Wed, 24 Jan 2024 21:43:55 +0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US, ru-RU References: <6d94fff4-4d30-4121-bfd1-f267cb5b637c@gmail.com> <8734uqpvgn.fsf@tec.tecosaur.net> From: Max Nikulin In-Reply-To: <8734uqpvgn.fsf@tec.tecosaur.net> Received-SPF: pass client-ip=2a00:1450:4864:20::129; envelope-from=manikulin@gmail.com; helo=mail-lf1-x129.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: emacs-orgmode@gnu.org 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-Scanner: mx10.migadu.com X-Spam-Score: -4.46 X-Migadu-Queue-Id: 83E3723258 X-Migadu-Spam-Score: -4.46 X-TUID: l9uqC+If5rWj This is a multi-part message in MIME format. --------------p7e6ZEQbkUSvqUmp0u2gMop4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi, 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 However I have no idea concerning a conflict due to the .org file name suffix. It was used in the past by early versions of Lotus Organizer. https://www.iana.org/assignments/media-types/application/vnd.lotus-organizer I am unsure if gnus-related code should be committed to some other repository at first. I am not a gnus user, so I do not mind if an alternative change will be committed. See also emacs-orgmode: Org mode MIME type. Sun, 21 Jan 2024 20:56:15 +0700. https://list.orgmode.org/6d94fff4-4d30-4121-bfd1-f267cb5b637c@gmail.com --------------p7e6ZEQbkUSvqUmp0u2gMop4 Content-Type: text/x-patch; charset=UTF-8; name="0001-Use-text-org-media-type.patch" Content-Disposition: attachment; filename="0001-Use-text-org-media-type.patch" Content-Transfer-Encoding: base64 RnJvbSA4YjcxMzkzNjI1ZjExNTkwZTk5ODk2ODA4YmJkMDRlZDgzZjc5MTdlIE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBNYXggTmlrdWxpbiA8bWFuaWt1bGluQGdtYWlsLmNv bT4KRGF0ZTogV2VkLCAyNCBKYW4gMjAyNCAyMToxNjoyOCArMDcwMApTdWJqZWN0OiBbUEFU Q0hdIFVzZSB0ZXh0L29yZyBtZWRpYSB0eXBlCgpBdm9pZCAieC0iIHByZWZpeCBkZXByZWNh dGVkIGJ5IHJmYzY2NDggZm9yIE9yZyBtb2RlIG1lZGlhIHR5cGUuCiogbGlzcC9uZXQvbWFp bGNhcC5lbCAobWFpbGNhcC1taW1lLWV4dGVuc2lvbnMpOgoqIGxpc3AvZ251cy9tbS11dS5l bCAobW0tdXUtb3JnLXNyYy1jb2RlLWJsb2NrLWV4dHJhY3QpOiBSZXBsYWNlCnRleHQveC1v cmcgYnkgdGV4dC9vcmcuCiogbGlzcC9nbnVzL21tLWRlY29kZS5lbCAobW0taW5saW5lLW1l ZGlhLXRlc3RzKTogQWxsb3cgdGV4dC9vcmcgaW4KYWRkaXRpb24gdG8gdGV4dC94LW9yZy4K Ck1ha2UgbWVkaWEgdHlwZSBkZWZpbmVkIGZvciBPcmcgbW9kZSBjb25zaXN0ZW50IHdpdGgK PGh0dHBzOi8vZ2l0bGFiLmZyZWVkZXNrdG9wLm9yZy94ZGcvc2hhcmVkLW1pbWUtaW5mbz4K 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