From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id EBg0F8yWvGUhBAEAqHPOHw:P1 (envelope-from ) for ; Fri, 02 Feb 2024 08:16:28 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EBg0F8yWvGUhBAEAqHPOHw (envelope-from ) for ; Fri, 02 Feb 2024 08:16:28 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=KNml7aXc; dmarc=pass (policy=none) header.from=gnu.org; 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=1706858188; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=XefKbaZAKD6xne5eXv5AaAwakClhlfq1C2dzJrpE8qc=; b=Q/VjFlu0zUfllcxVVWqZN0DB5pBr0Uo42wk8t+ZU9QyXU5J6/cD2ZM1BYM81K3hvIYcn6f oubEtZKx1jE1MrZkVFNfZXSiSw9avPB0wBRtMz5hmPwH62Nebd0+BVXb8uORy8OKli3eff RupeXibz0OnOcvMQAfG48uk+XFT1irgps3gzZtF7dvnAKexl7qjYv2ddW8uKgKlL8Sudz2 BPynn5+YjhGiEJi94N+64AVx7Bt1RAg++mFkTkyRhc6ty4CfiTZIHTj/pvvSjoh95pbSAL zBxRH+gQiFO4TUqPtAFo1vxk2b9+rbUuDyLCXG25z2u7Tl3S1P7Ft7nGKcMwbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=KNml7aXc; dmarc=pass (policy=none) header.from=gnu.org; 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=1706858188; a=rsa-sha256; cv=none; b=PMI27R9H+rZX5uNLwxCPWlq9eezHKtUefff1zmMejD+lR+qi8+4HaFQIQmq/Wk5U2pM/xM 2XRMwX6NXTr6UatFN8tE9KsUd0+OMPfccOJoMWM+Hk5S7aofC6Cppn2Z63L7JMoLCQjf/g idQl99+LkGilIyPAO1+ps7yio9JwUPYG0weqjDqpLJpukktKmXC5iYu/oSNQC7AScei3dg arutmJV2YsiWoIuHOUpKJAlElAfBeJpDyg5f/mCHOR4vTyQ2cZ8mPBiNr2XhevYAti1YU+ 2IssvCkh/vlzQTI4XvvO2lqQlGY6aHr+cOMzzg7Y8DvJo8aqBnZ3/qEgcj4WHg== 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 4DD6B32462 for ; Fri, 2 Feb 2024 08:16:28 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rVnlw-0005MU-P6; Fri, 02 Feb 2024 02:15:36 -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 1rVnlv-0005M3-Tx for emacs-orgmode@gnu.org; Fri, 02 Feb 2024 02:15:36 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rVnlu-0004o1-QW; Fri, 02 Feb 2024 02:15:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=XefKbaZAKD6xne5eXv5AaAwakClhlfq1C2dzJrpE8qc=; b=KNml7aXc8LAO QOtV9te3g0ZGNMuuiiQFtn79gwpPyNIugsm2yL7Dj2JMrVBiB4GGptT0cDFWwvjt+JAw12X0q0FIY k95Cs52oTygP86u/3oUr3XRRg+ALmV2O6PdTtLT6JkYDmImbYoVi+nUViv1ayxf9D/dAJA84JfLWY MMVWfSMUS+lbL3mMZ5flKaGahzLZyoBVhO6YDPSqmOgRYXIoyBUKc4tJrLonW2KcGw9mYVJR02yNl +xzvsQDPT48vA0gjsVLj4zhYxHCAOPX1KUdd5evrvW5D3Qwe7mMUMHr5iU2HWWyxnm18AXMH6Mke1 rVcZYqKauqWujH3V/AxtxA==; Date: Fri, 02 Feb 2024 09:15:18 +0200 Message-Id: <8634ubz69l.fsf@gnu.org> From: Eli Zaretskii To: rms@gnu.org Cc: yantar92@posteo.net, manikulin@gmail.com, 68687@debbugs.gnu.org, emacs-orgmode@gnu.org, stefankangas@gmail.com In-Reply-To: (message from Richard Stallman on Thu, 01 Feb 2024 22:40:06 -0500) Subject: Re: bug#68687: [PATCH] Use text/org media type References: <6d94fff4-4d30-4121-bfd1-f267cb5b637c@gmail.com> <8734uqpvgn.fsf@tec.tecosaur.net> <49fa47c0-522a-46d7-ba0d-6e688aa26a8e@gmail.com> <74b83cf9-cd7e-429a-bd9d-0af964e1ddc5@gmail.com> <8634uh5rrq.fsf@gnu.org> <87mssn81dw.fsf@localhost> 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: -10.12 X-Spam-Score: -10.12 X-Migadu-Queue-Id: 4DD6B32462 X-Migadu-Scanner: mx12.migadu.com X-TUID: GTu+VU42nFo3 > From: Richard Stallman > Cc: eliz@gnu.org, manikulin@gmail.com, 68687@debbugs.gnu.org, > emacs-orgmode@gnu.org, stefankangas@gmail.com > Date: Thu, 01 Feb 2024 22:40:06 -0500 > > > It may or may not depending on user customization `mm-inline-media-tests'. > > Just like with text/html, application/javascript, text/x-sh, images, > > etc. > > I looked at the definition of that option, and at the function > `mm-display-inline-fontify' that it calls. That function is > nontrivial, so I can't tell, in a short time, what it does and doesn't > do. AFAIU, that function copies a portion of buffer text to a temporary buffer, determines the correct major-mode for that text, then invokes that major-mode and fontifies the text according to that mode, and finally copies the fontified text back into the original buffer.