unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#27846: 26.0.50; hover highlighting in an *occur* buffer
@ 2017-07-27  7:29 Dani Moncayo
  2019-07-15 18:14 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: Dani Moncayo @ 2017-07-27  7:29 UTC (permalink / raw)
  To: 27846

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





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#27846: 26.0.50; hover highlighting in an *occur* buffer
  2017-07-27  7:29 bug#27846: 26.0.50; hover highlighting in an *occur* buffer Dani Moncayo
@ 2019-07-15 18:14 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-15 18:14 UTC (permalink / raw)
  To: Dani Moncayo; +Cc: 27846

Dani Moncayo <dmoncayo@gmail.com> 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





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-15 18:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-27  7:29 bug#27846: 26.0.50; hover highlighting in an *occur* buffer Dani Moncayo
2019-07-15 18:14 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).