From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#32344: Date: Sun, 20 Oct 2019 18:57:39 +0300 Organization: LINKOV.NET Message-ID: <871rv7odw4.fsf@mail.linkov.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="141276"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: behrmann@physik.fu-berlin.de, eggert@cs.ucla.edu, 32344@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 20 18:33:27 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iME90-000aSt-66 for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 18:33:26 +0200 Original-Received: from localhost ([::1]:40420 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iME8y-0003ff-IN for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Oct 2019 12:33:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33271) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iME8h-0003cK-MY for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 12:33:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iME8f-0000Jx-Mz for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 12:33:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46360) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iME8e-0000Ip-0A for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 12:33:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iME8d-00073L-T2 for bug-gnu-emacs@gnu.org; Sun, 20 Oct 2019 12:33:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2019 16:33:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32344 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 32344-submit@debbugs.gnu.org id=B32344.157158916927057 (code B ref 32344); Sun, 20 Oct 2019 16:33:03 +0000 Original-Received: (at 32344) by debbugs.gnu.org; 20 Oct 2019 16:32:49 +0000 Original-Received: from localhost ([127.0.0.1]:55174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iME8O-00072I-Rl for submit@debbugs.gnu.org; Sun, 20 Oct 2019 12:32:49 -0400 Original-Received: from buffalo.birch.relay.mailchannels.net ([23.83.209.24]:1604) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iME8M-00072A-IV for 32344@debbugs.gnu.org; Sun, 20 Oct 2019 12:32:47 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 9E2998C154F; Sun, 20 Oct 2019 16:32:45 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a73.g.dreamhost.com (100-96-87-223.trex.outbound.svc.cluster.local [100.96.87.223]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 3F6EA8C0CF3; Sun, 20 Oct 2019 16:32:45 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a73.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Sun, 20 Oct 2019 16:32:45 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Harbor-Relation: 172f2fca3783a12d_1571589165474_3269346081 X-MC-Loop-Signature: 1571589165474:2788299970 X-MC-Ingress-Time: 1571589165474 Original-Received: from pdx1-sub0-mail-a73.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a73.g.dreamhost.com (Postfix) with ESMTP id B90C782C03; Sun, 20 Oct 2019 09:32:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type:content-transfer-encoding; s=linkov.net; bh=r4Anr1 pRpj9OOIcCsRuuexArFsQ=; b=whdXjdEnTlyR8hqEG4dqAED2THszNig/hMqtdu TVzxHKrv13VdkWod4hIw2TJaDtCAsy/enWTc+zXoZQEbCONmBJ44MlhOwJaGogig +gC8V+9telMGX0jdxadxFZs5673fYZpbpC54J/t6AIpU5FrDfAr/OXliBZAwJiWl 2qVbc= Original-Received: from mail.jurta.org (m91-129-98-153.cust.tele2.ee [91.129.98.153]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a73.g.dreamhost.com (Postfix) with ESMTPSA id 997DC82B75; Sun, 20 Oct 2019 09:32:38 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a73 In-Reply-To: (Carlos Pita's message of "Sun, 13 Oct 2019 16:24:31 -0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169834 Archived-At: > Forgot the screenshots. So nice looking screenshot, thanks. But I wonder if you could just replace add-text-properties with add-face-text-property? It will keep your previous text properties and will just merge them with the comint-highlight-input face. So when the face comint-highlight-input is customized to have no face attributes, add-face-text-property will do nothing. But it would be more nice to change the default value of the face comint-highlight-input to some light-grey background (it seems a new face attribute ':extend' is not needed here). Then add-face-text-property will add this background to your fontified comint input. PS: would other modes benefit from fontifying the input with their syntax. In particular, I don't understand why the input is not fontified using emacs-lisp-mode in the minibuffer of =E2=80=98M-:=E2=80=99 (=E2=80=98eval-expression=E2=80= =99)