From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WEmXK9Sbi2eZiAAAe85BDQ:P1 (envelope-from ) for ; Sat, 18 Jan 2025 12:17:24 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id WEmXK9Sbi2eZiAAAe85BDQ (envelope-from ) for ; Sat, 18 Jan 2025 13:17:24 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-23sep header.b=2I1PtDbZ; 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=vodafonemail.de ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1737202644; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nk8DbYFGPAclklkFZ3ZWCjAiowSLpICUUOTSdNMuERI=; b=OoBTWhpJRhRGh/aQgxcvTqmuD7zdB3IEUB7yooefbhZKRMs7Oht+XIw7VCavAqGG5FZ8HZ HCUf5wc5yYsVCUkByANtdsftk+bfOxdjD6ZmZm7O2NsI+BHzAVWaZqD8PG5byLXAQPxNpk dQpAw9s3Q+hPd8bvAU95/3GuCeof1OjmSe7fZ7XkeAdd+icbPnqjfwuKS/28qfoFGTRii4 Sy01WHGttF3wep74dpaG398QGAdyaVs7Bt5MV0Rks9xgWtTeJjsMo7CFc0aj3us+BtqGFy ekIW9IIYeAuMz4o3A4B3fLKjyI2LiI+5MAm2WMUqbvv6qn9FpMDe5Oq8HatRwQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=vodafonemail.de header.s=vfde-mb-mr2-23sep header.b=2I1PtDbZ; 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=vodafonemail.de ARC-Seal: i=1; s=key1; d=yhetil.org; t=1737202644; a=rsa-sha256; cv=none; b=C+zYGrCqlkRNoR5EAEdMh7zIVwSTsfEJ7kWH6kseEW+E15OZYvQWjSnQNZOYoH5SBGMJ6q NfXVl7A9TBCZx7n4ClLbXm8DNpHJyPYjPBybl46CrxljKo2HRQwP84ojNoB1uRmUVgVi8d OybfoUaf9KLh6aQhfpiriMNa1uWrzP0PvAV/armtPvcicOMzuOLziCPWfXLF/T2KXb1LQm BPZ6HpvXiOJXJ936eXuKTZdOe7h3nZep+r8Um/JdItP95Homs751zTG++UoMOWIAsUmveO 3l5VbMPSzsDUiaZ4t1Q+oF8iAai6ZCIICc4lP2XK4ksPev96pVREE1iJ9VcgzA== 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 99CF27777 for ; Sat, 18 Jan 2025 13:17:24 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tZ7kj-000470-2C; Sat, 18 Jan 2025 07:16:37 -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 1tZ7kc-00044E-5x for emacs-orgmode@gnu.org; Sat, 18 Jan 2025 07:16:33 -0500 Received: from mr3.vodafonemail.de ([145.253.228.163]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tZ7kZ-0000Vl-S8 for emacs-orgmode@gnu.org; Sat, 18 Jan 2025 07:16:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vodafonemail.de; s=vfde-mb-mr2-23sep; t=1737202577; bh=nk8DbYFGPAclklkFZ3ZWCjAiowSLpICUUOTSdNMuERI=; h=Message-ID:Date:User-Agent:Subject:To:References:From: Content-Language:In-Reply-To:Content-Type:From; b=2I1PtDbZVRTPysTpB7VSiMYD5QIwVeRBYNAxK7AfNAYlC/mZuKzcSkToBZ+UmwJFy /rohEwElmdsshxoUdnvwzDcfVcRCZRaJqilZJzS/+1TUYwICA1qcjfYfqR2/b2oNdZ PSpdSWLMuci1efyLG/ieuVzMdO+dQ2Xniy/+n5TY= Received: from smtp.vodafone.de (unknown [10.0.0.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by mr3.vodafonemail.de (Postfix) with ESMTPS id 4YZwYs26LLz2G3q; Sat, 18 Jan 2025 12:16:17 +0000 (UTC) Received: from [192.168.178.41] (port-92-196-23-234.dynamic.as20676.net [92.196.23.234]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.vodafone.de (Postfix) with ESMTPSA id 4YZwYf5z0Lz904x; Sat, 18 Jan 2025 12:16:03 +0000 (UTC) Message-ID: <735ddb50-9ad3-4603-b3ca-58b99bfba949@vodafonemail.de> Date: Sat, 18 Jan 2025 13:15:58 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Add org-src-is-fontify-buffer-p (patch attached) To: Ihor Radchenko , Ship Mints Cc: emacs-orgmode@gnu.org References: <87sepgr34g.fsf@localhost> <87plkkqsgp.fsf@localhost> <87msfoqrmg.fsf@localhost> From: Jens Schmidt Content-Language: de-DE-frami, en-US In-Reply-To: <87msfoqrmg.fsf@localhost> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-purgate-type: clean X-purgate: clean X-purgate-size: 1431 X-purgate-ID: 155817::1737202573-7E7FB477-C8E3BB0D/0/0 Received-SPF: pass client-ip=145.253.228.163; envelope-from=jschmidt4gnu@vodafonemail.de; helo=mr3.vodafonemail.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=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-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -4.14 X-Spam-Score: -4.14 X-Migadu-Queue-Id: 99CF27777 X-TUID: 4QQmZoLV/EiG On 2025-01-18 12:38, Ihor Radchenko wrote: > Ship Mints writes: > >> Yes, could do, and nothing needed by org-mode or markdown-mode. Could also >> test for buffer-file-name nil. Or test both. Let's recommend that simpler >> approach and I will rescind my markdown PR in favor of this simpler >> suggestion. > > Well. Org or markdown should name the buffers according to the > convention :) Org does it though. So, we should be good. > > Closing the patch request. > Canceled. Um, sorry for butting in, but I also have an interest of recognizing Org's special source environments, see here: https://list.orgmode.org/9eaf7099554d488d921e64c4b2852a0d@vodafonemail.de/ That thread led to nowhere back then, but I think it still makes sense to have the various Org source environments detectable in a defined and explicit way, and Stephane's request reminded me about that. While one could use buffer names also for detecting the source edit buffers ("*Org Src collateral.org[ shell ]*"), it feels somehow brittle, since names can change. So why not extend on Stephane's request and provide some variable that informs about the various types of Org source environments? Like a variable named `org-src-environment-type' bound dynamically to possible values, e.g. `edit' or `fontify'? Thanks! (In particular also for taking the responsibility of Org maintenance.)