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 12:38:15 +0300 Message-ID: <83sfkq1gu0.fsf@gnu.org> References: <87illme7fe.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11272"; 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 11:39:15 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 1oZUI5-0002iL-Ms for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 11:39:13 +0200 Original-Received: from localhost ([::1]:43098 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oZUI4-0004VR-Kz for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 17 Sep 2022 05:39:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZUHu-0004VJ-Io for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 05:39:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oZUHu-00074m-9T for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 05:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oZUHu-0002tE-1Y for bug-gnu-emacs@gnu.org; Sat, 17 Sep 2022 05:39:02 -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 09:39:02 +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.166340750611065 (code B ref 57876); Sat, 17 Sep 2022 09:39:02 +0000 Original-Received: (at 57876) by debbugs.gnu.org; 17 Sep 2022 09:38:26 +0000 Original-Received: from localhost ([127.0.0.1]:45195 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZUHK-0002sO-Fb for submit@debbugs.gnu.org; Sat, 17 Sep 2022 05:38:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oZUHH-0002sB-TG for 57876@debbugs.gnu.org; Sat, 17 Sep 2022 05:38:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51444) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oZUHC-00072Y-7m; Sat, 17 Sep 2022 05:38:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=L7RLB5uQ7fUxdN8IMxGiIhRglSc0ijpWLo4o7lbSIKQ=; b=pTr94EFKEsTQ1FjeyVch 8jLfLeLSCE+yD1aoVN4JACBQ6dxt5UWW6hY50krRLaHaNdf0bB+vnlUipDhxGUfQQFt8PKwA33qZH jjGp1gpQMHBWkJjG+O+2+Dr586OwDD8GpgiIjOFeh1XdSrDsHlOU/E0R7aGTg4kq42o4pWHDCClnz ys1UjtMUQQVOIKvpWSwvbg/B9UwOXqanJu+/Wtz8e1qvNAGjXFcl3xJxhsuMYUIWeaaBaHLMLBUpj +ZhvYCbB/7QuOz3z4wyJ+fwGAosOJMfF9eDDhSRoxgBlXcNWM7GdDXdxLL1NRDvxePhAtOJxzsxU+ jioYpvGsAPU9RQ==; Original-Received: from [87.69.77.57] (port=4830 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 1oZUHA-0003Xl-Be; Sat, 17 Sep 2022 05:38:17 -0400 In-Reply-To: <87illme7fe.fsf@gmail.com> (message from Augusto Stoffel on Sat, 17 Sep 2022 10:23:01 +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:242855 Archived-At: > Cc: Protesilaos Stavrou > From: Augusto Stoffel > Date: Sat, 17 Sep 2022 10:23:01 +0200 > > Tags: patch > > Currently, if point is say at the prompt of a comint buffer, > pulse-momentary-highlight-one-line doesn't show do anything – or, more > precisely, it pulses the zero-length region from prompt end to EOB. > > Prot: I think you want to apply a similar change in pulsar.el. > > > >From e1241510fc9e0deddc5adb416aec5de4ca0300c8 Mon Sep 17 00:00:00 2001 > From: Augusto Stoffel > Date: Sat, 17 Sep 2022 10:17:34 +0200 > Subject: [PATCH] pulse-momentary-highlight-one-line: Act on visual line > > * lisp/cedet/pulse.el (pulse-momentary-highlight-one-line): Act on > entire visual line, ignoring fields etc. Why don't you use beginning/end-of-visual-line?