From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#64799: [PATCH] Add 'project-prompt-key' face Date: Wed, 23 Aug 2023 18:24:52 +0300 Message-ID: <355df502-0c6d-a070-119d-19daae961588@gutov.dev> References: <87zg3nqbuc.fsf@protesilaos.com> <87wmyqhhig.fsf@posteo.net> <874jluspp4.fsf@protesilaos.com> <87sf9ehgoi.fsf@posteo.net> <874jlt7t4f.fsf@protesilaos.com> <0e8dbebf-c0cb-01db-8a01-c7c7a165b826@gutov.dev> <87sf9cmr4x.fsf@posteo.net> <4e277440-3c96-549e-2daf-07ecf6ea9bee@gutov.dev> <87jzun5l9p.fsf@protesilaos.com> <81b2c1d6-506e-0b9b-53fd-66658e70aa44@gutov.dev> <87ttsq2gil.fsf@gmail.com> <87pm3d3kzl.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37481"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: Philip Kaludercic , 64799@debbugs.gnu.org, Protesilaos Stavrou To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 23 17:26:36 2023 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 1qYpkh-0009U9-Fu for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 23 Aug 2023 17:26:36 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYpkL-0000be-0D; Wed, 23 Aug 2023 11:26:13 -0400 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 1qYpk6-0000Wu-Vw for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 11:25:59 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYpk6-0006Ho-Np for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 11:25:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qYpkA-0007IV-4w for bug-gnu-emacs@gnu.org; Wed, 23 Aug 2023 11:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Aug 2023 15:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64799 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64799-submit@debbugs.gnu.org id=B64799.169280431027973 (code B ref 64799); Wed, 23 Aug 2023 15:26:02 +0000 Original-Received: (at 64799) by debbugs.gnu.org; 23 Aug 2023 15:25:10 +0000 Original-Received: from localhost ([127.0.0.1]:34910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYpjK-0007H7-FI for submit@debbugs.gnu.org; Wed, 23 Aug 2023 11:25:10 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:51925) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qYpjH-0007Gc-Lt for 64799@debbugs.gnu.org; Wed, 23 Aug 2023 11:25:09 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id 74309320095E; Wed, 23 Aug 2023 11:24:57 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 23 Aug 2023 11:24:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1692804296; x=1692890696; bh=ktgnnG+CWkUBxW6o7RBTE1tr9PAcCR/7x0U BVEpzza4=; b=dPTPoahfVxZRIG2DgJmvYPkyhgrtRkaqrkTOElsBOm3QkW/dl/L mMhhEi8oErp/JFa5tfioObcerrynrAHeIjDDvAJMbIYEHtqOkHIjvKts5svVF7ED yPPCB8C9qTF2Vzg1nNn35SV01LZvKvdamcecoLsIwxuc80IBhbHKj88pwIxE47jA kXnE64kXeainFA6zWSBIrXihXhUqyd7+v97T5dMoQvl88bfCq/FsoI2dzfU7T+x4 DgcAlqk4DMmU5lCq5TZTB7Miu6pjafzvDI+oG9Ba29bS52ViNLX4R8eZdfsaimOK X/1PbFzDwEbVNNPQkJXCyRyTG3IZAsNrrqg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1692804296; x=1692890696; bh=ktgnnG+CWkUBxW6o7RBTE1tr9PAcCR/7x0U BVEpzza4=; b=FZF7kLkxoA/Ss07IVYB+xe5+GLq1xNq0KTzkg3PYw/SOUHFmHlw yldMR9kw18QUN89C+grpnQLE2dUa7iGODvNdVoYORdI1k3v4RNCyzA5T8F1GX2CI pQQabhx7q/7pJgjSnPqjO3at8EnYOfKjCwfKFKIxOQbc5oFPwSh82poyi0FyM0O1 WUFqxCgVe8AWISTPNxzVoZ27vSg+QkH5X8Ep2piodvorLt6i7lR6/M7AL0w1AxfM L+lnLObG7R7XII5ab6CCAXjbWRDP6oXEzOrdzaOJ9o28AvkIVo8b9nwwY399KH5r gkGt+DwBPmQq5Ud/yrNUJTQAqWJveZQu85g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedruddvgedgkeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhephfffheeljeffgeffueeghfekkedtfffgheejvdegjeettdduheeufffggfef jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 23 Aug 2023 11:24:55 -0400 (EDT) Content-Language: en-US In-Reply-To: <87pm3d3kzl.fsf@gmail.com> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268250 Archived-At: On 23/08/2023 17:13, Visuwesh wrote: > [புதன் ஆகஸ்ட் 23, 2023] Dmitry Gutov wrote: > >> On 23/08/2023 15:18, Philip Kaludercic wrote: >>> Would remapping help-key-binding to bold be a possible solution? > > I hope not globally. > >> In one specific buffer? Through a hook or something? > > I was first thinking of writing an advice project--keymap-prompt to > temporarily advice facep to return nil always in my init.el... We can add an option, no problem. >> It seems to me Visuwesh wants the brackets back as well. As user >> option could do that. > > I would like to have it, yes. I am so bad at picking up different > typefaces _and_ colours that if I don't have extra characters around, I > fail to recognise the emphasis. It is embarrassing, really. Could you explain, then, why you customized help-key-binding to look like default? For example, the below customization would make it relatively close to how brackets look (but of course not exactly the same): (set-face-attribute 'help-key-binding nil :box '(:color "blue" :style released-button :line-width (6 . 0))) And the two places where this face is most prominently used (the one under discussion, and 'M-x describe-bindings' output) seem to use the face fairly similarly, so it seems to make sense, no? Anyway, if you want the option, can you suggest how it will be called? Will it be just boolean?