From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Highlight current line when using gud Date: Thu, 01 Jul 2021 13:26:45 +0200 Message-ID: <87y2aq1dhm.fsf@gnus.org> References: <46933061-DFBC-406C-8489-F3DC7EE770BA@kuaishou.com> <87sg0z8t5t.fsf@gnus.org> <6F39630A-1FF8-45DE-9E3B-D9E8BE906BD7@kuaishou.com> <83o8bnmqyo.fsf@gnu.org> <62662FDA-8D67-459B-8F03-662010FB96EB@kuaishou.com> 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="989"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , "condy0919@gmail.com" , "emacs-devel@gnu.org" To: Zhiwei Chen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 01 13:27:40 2021 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 1lyur5-000Abs-71 for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Jul 2021 13:27:39 +0200 Original-Received: from localhost ([::1]:51010 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lyur4-0006J8-6z for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Jul 2021 07:27:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyuqM-0005XN-5S for emacs-devel@gnu.org; Thu, 01 Jul 2021 07:26:54 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:57160) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lyuqK-0000ad-Fh; Thu, 01 Jul 2021 07:26:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=azLPiK/8fiXY9rjxPV4NEBuM+p7nFLWmK+UtWOj6X5I=; b=G6meor+CM2bJHIqKntXqh+OeIH ZH+lZRPjtKB9oNJneRcticwq5MIobLAC4JMfK9wlHRJwTzGmU6QW9VCR61r4HQCafyK5GepifqJNS 1nz18RJYbZQ6Ni82mVNJcIhC0SzWgOolqpsNSvMlHfXshwErgq2xorvg6B9rAjFUbPK4=; Original-Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lyuqD-00043h-Tr; Thu, 01 Jul 2021 13:26:48 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUgCA9THyGdZ1Zq S0jTvbf///8dkPdbAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+UHAQsMIBtPG8EAAAG2SURBVDjLdZRr FuMgCIXhZAMSN1AxC/DRDYx1/2sawGhq54w/mlO+IHC9BuBrnc4BOCDQ5/c6ggUEUN0J2S8qWTE/ w0C1pLziWGRv+4ucgcY7RORZAFYtgefnTkbytfQrCldAhcMA5C/m3jtncijFSsgwuitX19U4G+AX gFUj7mO1bDU4zUavG3SuWv79L/ggJektOvR5z3DS11EJ8MANtExLlB1EP2WRJz6g8wS1ahpvAJfM WL5ABhTRKBs5x1589aZAkshqAF7WUYlX88nEtgxJPSUuUnbWDAGi99321SOdfLV2io4royZ4S1kX ubdC4NMRLANLENAKNykuolA4E6ks5BVIzDrjUGrOuhXqSa7ZQ3aivFaRc+npAUmPHW0OLM0t8IHh BxuwRFjgpVONFBEkPCANCW1qQJFnljCbLHPCfwA8oNUfMGsoSFsGTzPADo55gBmO/ZIR1QnSXoS8 uTqMAb+KkJ1ufIkP0+HrfWtF+bfuFEWSI3HJZiu14mzKFEw6yugBHw1Xn+MxHffnF3i+L9sPQLmo g9in5PGuxNd53IOoe0is1h8wXjanlucavGwDp+AvqG13L9fgKPcAAAAldEVYdGRhdGU6Y3JlYXRl ADIwMjEtMDctMDFUMTE6MTI6MzIrMDA6MDBjEDksAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIxLTA3 LTAxVDExOjEyOjMyKzAwOjAwEk2BkAAAAABJRU5ErkJggg== X-Now-Playing: Jane Siberry's _When I Was A Boy_: "Sail Across The Water" In-Reply-To: <62662FDA-8D67-459B-8F03-662010FB96EB@kuaishou.com> (Zhiwei Chen's message of "Wed, 30 Jun 2021 14:26:33 +0000") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:271092 Archived-At: Zhiwei Chen writes: > Personally, hl-line-mode is used to show the approximate position of > my point so the face defined in doom-one is fine to me. It needn=E2=80=99= t to > be too contrast as it hurts my eyes in daily use. > > But when debugging, I need to know where the line as if I step over the > interesting line I will blame myself. Debugging is more serious than > coding/writing, so I would like to > make the line highlighted/contrast.=20 So, Doom has customised the hi-line face to be less perceptible, so you want to introduce a new highlighting mechanism to make it more perceptible again, but only in gud buffers? This can be done with `face-remapping-alist' -- it's a buffer-local variable that's used to display a different face in certain buffers. Would using that variable in gud buffers solve your problems? --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no