From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56538: 29.0.50; [PATCH] Colored highlight in Lucid backend Date: Fri, 15 Jul 2022 10:06:26 +0800 Message-ID: <874jzjp1st.fsf@yahoo.com> References: <87wnch16as.fsf@elite.giraud> <87k08gtsz0.fsf@yahoo.com> <87cze8t4i9.fsf@elite.giraud> <87k08goud8.fsf@yahoo.com> <87h73jq1dp.fsf@elite.giraud> Reply-To: Po Lu 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="18610"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 56538@debbugs.gnu.org To: Manuel Giraud Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 15 04:07:15 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oCAjb-0004f4-3A for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Jul 2022 04:07:15 +0200 Original-Received: from localhost ([::1]:58330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oCAjZ-0006c8-N2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Jul 2022 22:07:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36288) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oCAjO-0006bz-W3 for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 22:07:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41337) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oCAjO-0007pM-NL for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 22:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oCAjO-0005MH-Fd for bug-gnu-emacs@gnu.org; Thu, 14 Jul 2022 22:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Jul 2022 02:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56538 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 56538-submit@debbugs.gnu.org id=B56538.165785080620572 (code B ref 56538); Fri, 15 Jul 2022 02:07:02 +0000 Original-Received: (at 56538) by debbugs.gnu.org; 15 Jul 2022 02:06:46 +0000 Original-Received: from localhost ([127.0.0.1]:39096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCAj7-0005Lj-NL for submit@debbugs.gnu.org; Thu, 14 Jul 2022 22:06:46 -0400 Original-Received: from sonic305-22.consmr.mail.ne1.yahoo.com ([66.163.185.148]:40144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCAj3-0005LS-Hk for 56538@debbugs.gnu.org; Thu, 14 Jul 2022 22:06:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1657850795; bh=51KjwtKQAOjq8V1Cw0RyqYPkCKeYtTLJ6uGn/TpRCYU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=ZZ1+aG0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HeEWoL.KQzkgcAdr3Qv02xmHRNeD_ULmpoEjnUXtSPzfgHcSFG_ytBEi vfLrRAR12V4l7ph15IBegsyCw54_mPOyXZgklRSvUUMJ1xNKrKatkwB_9naUndTAkNAsuJMZMyw2 1v0IDN4T79XY2IPYcvYWzDZBZl04ng3kprze9ZWKdh65qCYaLlY9QmzM4EnapYnGczcLcaiQxcCV HYLdBZge9KgQ8JryOf0CxtHGYhvZdX1k4_a_0YpyHmyFlN9uOBMDeIU94gVSyusrICvH4DLsmOPs wJtX84xC.ivhALoH3URPcl5F9Sfk2_P4wTBstrlqXF3Yt1UoKepKxhRAFh8jgd.W88batBCt2O_G 0VOP9rc.6_xo0sC3mOOOqOziHsui3XWYtFsyeIYXnkCssWp_XyFSqmnn8572IyETtG0_u.ePLYB8 s3ea.7RiHoT76MJ.E6eaUabHoLr0FSiqlwiT6IYfI5W1Hj7dWHgitmJYZN9Zlffbh0tb73nuect0 RLr9xXWCagPaZsRpIvkfrK5GkTtnA4u0VAJhnt7XsaWTg_qY5TJXbbCCfx1vrcO6KuqKDZF9rG2f mIDwX0pfHeWANXYBuOMnLUbcSsbXAdlZH7RnwoJ4wj X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ne1.yahoo.com with HTTP; Fri, 15 Jul 2022 02:06:35 +0000 Original-Received: by hermes--canary-production-sg3-67975bbd4b-5klrh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6001c73f687161a20fe73a3a5149b022; Fri, 15 Jul 2022 02:06:32 +0000 (UTC) In-Reply-To: <87h73jq1dp.fsf@elite.giraud> (Manuel Giraud's message of "Thu, 14 Jul 2022 15:17:54 +0200") X-Mailer: WebService/1.1.20407 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237046 Archived-At: Manuel Giraud writes: > Here is how it look here=E2=84=A2 on a PseudoColor Xephyr. This is Cairo= with a > bitmap font: > > > > > This Xft with the same font: > > > > > And for the record, here are the same with a vector font: > > > > > Right, that's acceptable. I think the problem will go away if you disable the rendering extension on the X server. > FWIW, draw_shadow_rectangle, draw_shadow_rhombus=E2=80=A6 are already lik= e that. > > I'll do it but what are your recommandations? Split at fill-colum + > indent? Leave the old ones untouched? Yes. Looking at functions like `x_dnd_do_unsupported_drop' in xterm.c should help as well. Otherwise, LGTM.