From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eduardo Ochs Newsgroups: gmane.emacs.help Subject: Re: Inserting background colour at column Date: Sat, 3 Dec 2022 00:46:59 -0300 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33544"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Heime via Users list for the GNU Emacs text editor To: Heime Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 04:47:50 2022 Return-path: Envelope-to: geh-help-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 1p1JVG-0008Xe-2X for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 04:47:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1JUj-0006Hl-Ee; Fri, 02 Dec 2022 22:47:17 -0500 Original-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 1p1JUh-0006HK-EL for help-gnu-emacs@gnu.org; Fri, 02 Dec 2022 22:47:15 -0500 Original-Received: from mail-io1-xd30.google.com ([2607:f8b0:4864:20::d30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1JUf-0000uL-EP for help-gnu-emacs@gnu.org; Fri, 02 Dec 2022 22:47:14 -0500 Original-Received: by mail-io1-xd30.google.com with SMTP id e189so4320961iof.1 for ; Fri, 02 Dec 2022 19:47:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=QnYYz5mRfOAWRrEpuhdRIG++dNuB1CCtXVDV+gmyl74=; b=Dwacu4igMXSOX0Uf9No9yzEQz6CX2sJftoMBAwKzWoWuVEEaqatE0sEbqJEtfA8+8l HV6Bke2paFuc/R/HrzLPW4D+B/c4NK0jacuK/bfOIAJaOjqdTkuM8QnMG8RmlTFjXpse eSv3gB35PnSqvggJo5yEwQ6JTPurhnZ1nJJkWN3UgYwhndFgHSM8WlR9kE4sLKbJU1BO eBxxUQhxgV+N1gvpIc3MjKC6Hqx5ldfbmHOWkH0SMPlme+zc1/Y2d/D1CDcwrE65iTEg UeOxKmiET/WddSgMNnqTYLvdBHBWHncspyY4idugkdLLV5PXAsuaDzXOdcqci0FZcSRP Z5qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=QnYYz5mRfOAWRrEpuhdRIG++dNuB1CCtXVDV+gmyl74=; b=Cpl6LQ1HeimmJnbfAPeBrsuuUCyKU196uehlZ6bnlhumcWSPUkjbwEFlyqpWC95Rv+ UuWWMyXgXP2m9j16OUm6etg9EIgelsFrztaVNYKDqjL0b3L/Nv/T08GI53WRd0biVByM Ly98bXp/mNs4xHUOwgH1vwZoo3vXZIXgFHLFWEFH5Vt+VyAmhe5pGME6PKTjnEXsuqJo Ejr/khjg/XucCIcb1BDokrHaFq1Lkx7fYPOIWCDPeb8yt41IdJljCPomxOfua/Lca14L AXSO+Ay7NemkGJCfZqkszfPUN5o/DA7X3fKL4bqxdj0c1TahDetZZRAomOA2weIvQKKB HGNg== X-Gm-Message-State: ANoB5pkHsr3//UcygJYZHfygO4EERBqBkJlL+xRJ/b91HYBafz3YDns+ JTG2pteIDxqPVNekrLyS2CDF9ObmQ/UickKyeiQ= X-Google-Smtp-Source: AA0mqf6TGv+BUQzLc7jIZCqCzgRGkzqUVzj96MrbSqjSAXk8Ft+MmgAR0VpH1r6aQnz1tmR1EB3z7fpqmYfT8jAuLQU= X-Received: by 2002:a02:3f55:0:b0:375:7c56:6d84 with SMTP id c21-20020a023f55000000b003757c566d84mr24531399jaf.320.1670039231542; Fri, 02 Dec 2022 19:47:11 -0800 (PST) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::d30; envelope-from=eduardoochs@gmail.com; helo=mail-io1-xd30.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 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141303 Archived-At: On Sat, 3 Dec 2022 at 00:37, Heime wrote: > The following did not colourise the letter "T". > > (insert (propertize "T" 'face '(:foreground "green" :background "blue"))) This (insert (propertize "T" 'face '(:foreground "green" :background "blue"))) works in fundamental mode for me. Did you try it in fundamental mode? Jean Louis was discussing something similar to that here on the list a few weeks ago, and I sent this detailed answer to him: https://lists.gnu.org/archive/html/help-gnu-emacs/2022-11/msg00368.html Look at the last lines of my message... In emacs-lisp-mode the "Hello" had this among its text properties, (face font-lock-comment-face) and this took precedence over the face from the category. Does that help? Cheers, Eduardo Ochs http://angg.twu.net/eepitch.html