From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id CNf8N3j6m2YcXQAA62LTzQ:P1 (envelope-from ) for ; Sat, 20 Jul 2024 17:57:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id CNf8N3j6m2YcXQAA62LTzQ (envelope-from ) for ; Sat, 20 Jul 2024 19:57:13 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="irB/dXiH"; dmarc=pass (policy=none) header.from=posteo.net; 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=1721498232; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VBrgdVZGxxaHuXgzMUSzuKY8gh6TTiLgaofEUX+eMAg=; b=SwzQNeDeCDFCKSch/eMnD2SI/xk+LrHK6XvueO9h+v7GdF892dlQU9LVh/lQyIuWGfOg20 BTcEJi3IHQE5y/twZnmX0MDgg41IChOktn+NSHSf0Jk0mgOf/7yd0xRxYyrrh6Kf6yVK9y aCWB8qKg/f2HzFnFw8N2eG5K05m3s7u7lvLB77fHaSeliihAFd+0Re8Gh3NJ8rjZ2hGulh am2baHBN8+/PjQJu37efx1LiPZUqoMI1twCv4p4eKEiLAvrI60S2u+j8tR4bK1Jxq3lMwP Mbpx6RW+ty5zUIi2KfSepW9bZCJWDMdqPocE3vAU9ya3JYRfFRF+3aGFUPE9EA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721498232; a=rsa-sha256; cv=none; b=BjOBZRb8K/TaU+gQNrVNJcuSmTk63Pw9mlzXChf7wGyFf5qloXnmgz1fX4n0IwPHxltT9S BNNyYrqSxv1qXIyFOoCcXnN2efUrKf2STACj0nEKP1a2uFpdLjgDHBTJjpAMzq2mlMgRNp VLcQ9a40No+Kq3pS1wyC1fSH6lCU6fCCAKBo5x2Amk1HT8qDRN8SNm5Ka4IfU0KdlwPVOX mXh+HdtnAyuxo+mdTNQwG09aoeXICfEYQcJzplibXLcvUl5jHt7E6440r85PgC58AnbDak BgmyfbEys3XNe3uM//y8YqhD1rFgZu6linQKs7skcQNCTj/9eg7rvKqss9URgA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="irB/dXiH"; dmarc=pass (policy=none) header.from=posteo.net; 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" 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 590E9ADFC for ; Sat, 20 Jul 2024 19:57:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sVEJk-0002LW-49; Sat, 20 Jul 2024 13:56:25 -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 ) id 1sVEJd-0002LH-6V for emacs-orgmode@gnu.org; Sat, 20 Jul 2024 13:56:17 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sVEJb-0004YT-CC for emacs-orgmode@gnu.org; Sat, 20 Jul 2024 13:56:16 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4A305240027 for ; Sat, 20 Jul 2024 19:56:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1721498172; bh=Ok87epBZzmkzkWPve01/KN4ICv42NpauO/Ip1M/8JgA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=irB/dXiHbJHX4MKAw8x2ceBO72jB6g7XCEwa29lOOs+Ul7gt1U7YKBivdtVvCj95K 1WAED/uvdrCxG/cvUKShjqdJnk3+KwXYltA+EWOtyy3+04I0MhCIGikmQaoinzQRdZ zvjkdKJDDMFwkHJGDzsi5MNvzlWdb1AmmmdVQWzfZ1CRIVeqGE8n8ReLSt0z6czgr5 FxC3zcBQdNutXcu4fvLbx1afwnv2c6UuBIqMchWRpjjqKZ4L/0IsDemcILpPtS1DUG /0iNx95f77mhshImSy8oufiuy04VdbhOS/xMd5xTPL/R36O3Lvmycdnu+StLeukVI1 ay47Cxg8sc35w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WRDk32Y2fz9rxB; Sat, 20 Jul 2024 19:56:11 +0200 (CEST) From: Ihor Radchenko To: Nathaniel Nicandro Cc: emacs-orgmode Subject: Re: [PATCH] Highlight ANSI sequences in the whole buffer (was [PATCH] ANSI color on example blocks and fixed width elements) In-Reply-To: <87ikx3zl8j.fsf@gmail.com> References: <874jpuijpc.fsf@gmail.com> <87y1n6igvo.fsf@localhost> <878rev1q0k.fsf@gmail.com> <877cueonkj.fsf@localhost> <87zg6dez93.fsf@gmail.com> <871qjobhwa.fsf@localhost> <877ct5fzt6.fsf@gmail.com> <87a5y1mnj0.fsf@localhost> <87msvcgjgv.fsf@gmail.com> <87le9wq2dg.fsf@localhost> <8734uwhlhj.fsf@gmail.com> <875xzsjfvo.fsf@localhost> <87plvhf5gf.fsf@gmail.com> <87msqid9gi.fsf@localhost> <87bk3kuj20.fsf@localhost> <87wmm5yn1m.fsf@gmail.com> <87jzhy8x9y.fsf@localhost> <87ikx3zl8j.fsf@gmail.com> Date: Sat, 20 Jul 2024 17:57:40 +0000 Message-ID: <877cdgndyj.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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-Spam-Score: -6.64 X-Spam-Score: -6.64 X-Migadu-Queue-Id: 590E9ADFC X-Migadu-Scanner: mx11.migadu.com X-TUID: QxLjRo0E7wT2 Nathaniel Nicandro writes: >> Let's drop the part with modifications/visibility changes. It should not >> be a job for fontification function, so let's not complicate things (as >> I mentioned above). I believe that 'org-ansi may no longer be needed >> once we drop this. >> > > You want me to remove the code that is responsible for keeping the > sequences visible according to `org-fold-show-set-visibility` and > according to whether or not the sequence is currently being edited > then? Yes. > What should I do instead? If I remove the code for the modification > changes, then it would be difficult to edit the sequences when > `org-ansi-hide-sequences` is t since they would remain invisible while > editing. For now, let's default `org-ansi-hide-sequences' to nil. For the value of t, we should use a more general solution. For example, I can, in the future, implement a clone of hl-line-mode that will reveal markup on the current line. It will be an easy an effective solution to edit hidden markup like convoluted links, emphasis, and ANSI markup. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at