From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#57876: [PATCH] pulse-momentary-highlight-one-line: Act on visual line Date: Sat, 17 Sep 2022 14:20:43 +0300 Message-ID: <83mtay1c38.fsf@gnu.org> References: <87illme7fe.fsf@gmail.com> <83sfkq1gu0.fsf@gnu.org> <87a66yclqr.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15480"; mail-complaints-to="usenet@ciao.gmane.io" Cc: public@protesilaos.com, 57876@debbugs.gnu.org To: Augusto Stoffel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 17 13:23:06 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 1oZVub-0003qP-OR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 13:23:05 +0200 Original-Received: from localhost ([::1]:44886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZVua-0004gt-Nl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 07:23:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZVse-0003K8-1n for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 07:21:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZVsc-00064W-7A for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 07:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZVsb-0005rp-TJ for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 07:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Sep 2022 11:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57876 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 57876-submit@debbugs.gnu.org id=B57876.166341365222519 (code B ref 57876); Sat, 17 Sep 2022 11:21:01 +0000 Original-Received: (at 57876) by debbugs.gnu.org; 17 Sep 2022 11:20:52 +0000 Original-Received: from localhost ([127.0.0.1]:45266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZVsR-0005r9-Sp for submit@debbugs.gnu.org; Sat, 17 Sep 2022 07:20:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:40358) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZVsP-0005qt-Tm for 57876@debbugs.gnu.org; Sat, 17 Sep 2022 07:20:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35118) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZVsK-00060g-5j; Sat, 17 Sep 2022 07:20:44 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TMixKe4Ots5EQeFPgL5tQIvy6cF2mY05rS0Jdo3BHTQ=; b=MHzMRJDUGxFk Ay/rlBfacUeqetfuCWkocOkP6zJmneI0+YmL22KSJIfTSs21hfaclgEi7HPs36nYf8TjFtjrkcr9+ CTQdqlzaYAHbpRJldo74Bxvfp96+IK7ayRmYEx60Fkqwp2fa0LfUgsmB+SeU8yX/aWYS1dmWNoG5Q akYDxsXpcLvwOftMzMUneNcH+dRuXVQ08V71/hYQdErpQm1qJgkeHS1tHJkjf0tzbmnqL9Nfy7ehi BLImtr9PGVVU1jB9h9HTKIkeImMNH378qzHaa03qbbNZTQXegW34RPhK9LatVkBonzB6ea/IUXxPx eirkyD1Utfq5bxcz07JyiA==; Original-Received: from [87.69.77.57] (port=3288 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZVsJ-0005OV-Iy; Sat, 17 Sep 2022 07:20:43 -0400 In-Reply-To: <87a66yclqr.fsf@gmail.com> (message from Augusto Stoffel on Sat, 17 Sep 2022 12:56:44 +0200) 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:242862 Archived-At: > From: Augusto Stoffel > Cc: 57876@debbugs.gnu.org, public@protesilaos.com > Date: Sat, 17 Sep 2022 12:56:44 +0200 > > > Why don't you use beginning/end-of-visual-line? > > Because it obeys fields, so if you try to highlight a prompt line in a > comint buffer, only part of the line would be highlighted. It should be possible to disable fields temporarily by binding inhibit-point-motion-hooks, right? I prefer doing that to reinventing the wheel of moving to the edges of the visible line.