From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Colorful line numbers Date: Fri, 22 Jul 2022 15:01:39 +0100 Message-ID: <87r12dnt4s.fsf@gmail.com> References: <87leslpow2.fsf@gmail.com> <2aabd319-8e8c-72dd-3143-45de9172dc54@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14290"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Monnier , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 22 16:09:36 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oEtLT-0003Y7-Pe for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 16:09:35 +0200 Original-Received: from localhost ([::1]:41614 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oEtLS-0005wU-EG for ged-emacs-devel@m.gmane-mx.org; Fri, 22 Jul 2022 10:09:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50506) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oEtCe-00056w-Jr for emacs-devel@gnu.org; Fri, 22 Jul 2022 10:00:43 -0400 Original-Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:39424) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oEtCd-0005HT-0U for emacs-devel@gnu.org; Fri, 22 Jul 2022 10:00:28 -0400 Original-Received: by mail-wm1-x331.google.com with SMTP id h206-20020a1c21d7000000b003a2fa488efdso2670630wmh.4 for ; Fri, 22 Jul 2022 07:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=4kgcg4+jNSTjEtj0IY2ngADF0jEBzyBjTTUkufWoOfU=; b=GGFK80b+hD4raNEQ3VSdguyIULxfH+18id43hIFmot+gJsNcOOcnd5rvG41RFqfKRb kkvLxDQVmfa6un1zz2T1qLV7r/kQuYXgyOaosfX3HTi3dNPto9x1dspFyKx+X29uaWDD OtNCf4o7bGmbL1iXaG64gDDctdTDU+SQARP8y6kPFzegzSLO0acdpB+0MKvatkcUJ4Cr x4fJUpZY/NzXmU4ISkxugbiSkuCFfQ6O3d2ycRIQx/nzl8nCKhNRJ6j4HcoQ9p4yFKMm wM1yvyqwRZB4XuoZqo4LlmZX9lZu2kRQOJEsvBZMeCIJFSaIoctiOcqn1RHPKtPZYwm+ wCsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version:content-transfer-encoding; bh=4kgcg4+jNSTjEtj0IY2ngADF0jEBzyBjTTUkufWoOfU=; b=gAJsx8CswpAQJes1OdGuva2urz8rhRyrBtyX9qhkVglo3el4bzyycFkJtzZjVtQjrF SZ76k53vSFi+ddBnKMhMNWrnif1IAWF8vBokCjrdYnpXcyyGHyc1HIfWJ5oEDA8jr+wF Z2VfDmZxxRf2lTOptMt839z4AYeMcQ4RZSlznpeWezD3V1zp3ji/rp5PE7WwIjHci++4 4Obbmd/nbHa3z2vLZdBcnyuwqaIZOCXQ3FOo2JFJWEeJ87ZoErELOgbauMQnFcL9ImDD dmoVHN/La4w0WnV5CZQ1/CziNTtIFRIXh8kJi+MxHqds2bB4VsUQEjSbPPgQeNkusnKY ttSQ== X-Gm-Message-State: AJIora+SI+JP0SIq7WMZVC+OmMX2H2cb9tSI6zYhDejoTgfe9JfSaEdl 2fcG1Azf1UhAlhNVcRASzMK4zgLmA00= X-Google-Smtp-Source: AGRyM1vxHzXLKF554xScEx0p+1rWEBUE2r+6t0Eg/ldopMyIsHZz6OzFdb3vTHuPyGwCtBGK5suNGw== X-Received: by 2002:a05:600c:3510:b0:3a3:34e7:cff5 with SMTP id h16-20020a05600c351000b003a334e7cff5mr600462wmq.191.1658498424780; Fri, 22 Jul 2022 07:00:24 -0700 (PDT) Original-Received: from krug (87-196-72-209.net.novis.pt. [87.196.72.209]) by smtp.gmail.com with ESMTPSA id e1-20020a5d5301000000b0021e5b5a68f8sm3974805wrv.45.2022.07.22.07.00.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jul 2022 07:00:23 -0700 (PDT) In-Reply-To: <2aabd319-8e8c-72dd-3143-45de9172dc54@yandex.ru> (Dmitry Gutov's message of "Fri, 22 Jul 2022 16:41:51 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::331; envelope-from=joaotavora@gmail.com; helo=mail-wm1-x331.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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292438 Archived-At: Dmitry Gutov writes: > And if we take an alternative approach (display-line-numbers-mode > looks up text properties in the buffer to determine which face to > use), it also depends on the intricacies of its > implementation. E.g. how to reliably redraw when such text properties > change. Good point. 'redisplay'? Jo=C3=A3o