From unknown Sun Jun 22 07:48:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27846: 26.0.50; hover highlighting in an *occur* buffer Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 27 Jul 2017 07:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27846 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 27846@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs Received: via spool by submit@debbugs.gnu.org id=B.1501140580906 (code B ref -1); Thu, 27 Jul 2017 07:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 27 Jul 2017 07:29:40 +0000 Received: from localhost ([127.0.0.1]:57861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dadEp-0000EY-PL for submit@debbugs.gnu.org; Thu, 27 Jul 2017 03:29:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51532) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dadEo-0000EM-LD for submit@debbugs.gnu.org; Thu, 27 Jul 2017 03:29:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dadEi-0005k1-I5 for submit@debbugs.gnu.org; Thu, 27 Jul 2017 03:29:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44145) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dadEi-0005jo-EK for submit@debbugs.gnu.org; Thu, 27 Jul 2017 03:29:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dadEh-0007L5-CV for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 03:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dadEg-0005j0-JL for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 03:29:31 -0400 Received: from mail-lf0-x235.google.com ([2a00:1450:4010:c07::235]:38405) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dadEg-0005fg-9Z for bug-gnu-emacs@gnu.org; Thu, 27 Jul 2017 03:29:30 -0400 Received: by mail-lf0-x235.google.com with SMTP id y15so76697823lfd.5 for ; Thu, 27 Jul 2017 00:29:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=sz3/se3tDIL9RRPsICRb22WBE//Lf2gllDCKSCpYNIY=; b=vBiIcr+I3mEqIO50scKl6E7LIMWzwimdhSL/O7pH9iCXOCiH744ePWQL2VB34PeX5b Zb4wRAXDsvzEncVcfUpSpoxrPaTXOkTLvcjObqsuJ/LdIHQyAmDZTLJZfT9VrJRhV6G/ kAjA/Jqafl3CEToaWJh3QD4dqdj31E/YiKIp2H62an9EIZ4EFvB9kyHF/sEzPBQH5tMJ E3Zb4w4e9Dj7pYahkh3iIkfvEvm0pImxI/uXl+k10I4v9TYdddwiX2o2recvrLzY8fdB dUubNy1b/giyDWw4JgBKuOjPh7aTqYUQtO8dy8RZKDDgGQyaT3DrQ2L4tpXeClIB6vfc e0nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=sz3/se3tDIL9RRPsICRb22WBE//Lf2gllDCKSCpYNIY=; b=hYiL2/aJ7oThSrswKraAQKhkaL1xPDC2tlt2KHWhqr8tOLFL3KITOd++9dEC8txVBF gq2j3B7ck0QjDsO8ordSd+wGhWRI4Y+hmV+WXhfEhBmL72ibz2V6lqsko/2o1QEfAD0W DhCwJpTeEuHCu2UKj7NI0l/7KV45pxyfWnweE063gYeMYs/jzjcKUpTqEFDW2mfchkkd kMFqu5/KnMuC4aD4E9jj/Gxsh9AmIyQNuwKD1dblD0LP1j5kplHfpYgvYK33zSzeB3US n9UBIbI15eh9Kc9RF/EQ5Mr+HkYs2t60tnq/fMf2+ESmhCk9gGUNmQmUM05utOuLJ10g 5ZKA== X-Gm-Message-State: AIVw1126pMO1XcgzoNIK6zjW/rjC2rcUpLtV/NaBrJjYRrclMJqtEtPd sQzHHYgWCb3MIVvfv76lYXoiHOy6/M/v X-Received: by 10.46.0.139 with SMTP id e11mr1412586lji.18.1501140566953; Thu, 27 Jul 2017 00:29:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.76.85 with HTTP; Thu, 27 Jul 2017 00:29:26 -0700 (PDT) From: Dani Moncayo Date: Thu, 27 Jul 2017 09:29:26 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Severity: wishlist Hi, While moving the mouse pointer over the text in an *occur* buffer, I've just noticed that, if I move the mouse pointer over a line of matched text, that line is highlighted, but _not_ including the line number which precedes the matched text. Conversely, if I move the mouse pointer over a line number, only it (the line number) is highlighted (not including the text which follows it). IMO, that separation is just bad. IOW, I think it would be better to always highlight together the line number and its corresponding line(s) of matched text. This would make easier to visually relate both items (line number and line text), with is not trivial in cases where the matched text has a fair amount of leading whitespace. TIA. -- Dani Moncayo In GNU Emacs 26.0.50 (build 1, x86_64-unknown-cygwin) of 2017-07-24 built on ZVDES404 Repository revision: 6dc5d45c542a6f9cfbcf3e37d597c9e0efb3070d Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Configured using: 'configure --with-mailutils --with-w32' Configured features: SOUND ACL GNUTLS ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: C.ISO-8859-1 locale-coding-system: iso-latin-1-unix From unknown Sun Jun 22 07:48:43 2025 X-Loop: help-debbugs@gnu.org Subject: bug#27846: 26.0.50; hover highlighting in an *occur* buffer Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Jul 2019 18:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27846 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Dani Moncayo Cc: 27846@debbugs.gnu.org Received: via spool by 27846-submit@debbugs.gnu.org id=B27846.156321446111518 (code B ref 27846); Mon, 15 Jul 2019 18:15:02 +0000 Received: (at 27846) by debbugs.gnu.org; 15 Jul 2019 18:14:21 +0000 Received: from localhost ([127.0.0.1]:49031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn5UT-0002zi-1j for submit@debbugs.gnu.org; Mon, 15 Jul 2019 14:14:21 -0400 Received: from quimby.gnus.org ([80.91.231.51]:46558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn5UR-0002zX-8e for 27846@debbugs.gnu.org; Mon, 15 Jul 2019 14:14:19 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hn5UM-0001y4-Mm; Mon, 15 Jul 2019 20:14:17 +0200 From: Lars Ingebrigtsen References: Date: Mon, 15 Jul 2019 20:14:14 +0200 In-Reply-To: (Dani Moncayo's message of "Thu, 27 Jul 2017 09:29:26 +0200") Message-ID: <87r26r9nd5.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dani Moncayo writes: > While moving the mouse pointer over the text in an *occur* buffer, > I've just noticed that, if I move the mouse pointer over a line of > matched text, that line is highlighted, but _not_ including [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dani Moncayo writes: > While moving the mouse pointer over the text in an *occur* buffer, > I've just noticed that, if I move the mouse pointer over a line of > matched text, that line is highlighted, but _not_ including the line > number which precedes the matched text. > > Conversely, if I move the mouse pointer over a line number, only it > (the line number) is highlighted (not including the text which follows > it). > > IMO, that separation is just bad. IOW, I think it would be better to > always highlight together the line number and its corresponding > line(s) of matched text. > > This would make easier to visually relate both items (line number and > line text), with is not trivial in cases where the matched text has a > fair amount of leading whitespace. Makes sense. I've now tweaked the Occur buffer in Emacs 27 to do this. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 15 14:14:24 2019 Received: (at control) by debbugs.gnu.org; 15 Jul 2019 18:14:24 +0000 Received: from localhost ([127.0.0.1]:49034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn5UW-000300-9z for submit@debbugs.gnu.org; Mon, 15 Jul 2019 14:14:24 -0400 Received: from quimby.gnus.org ([80.91.231.51]:46572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hn5UV-0002zq-1u for control@debbugs.gnu.org; Mon, 15 Jul 2019 14:14:23 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=sandy) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hn5US-0001yC-HE for control@debbugs.gnu.org; Mon, 15 Jul 2019 20:14:22 +0200 Date: Mon, 15 Jul 2019 20:14:20 +0200 Message-Id: <87pnmb9ncz.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #27846 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 27846 fixed close 27846 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 27846 fixed close 27846 27.1 quit