all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Mouse highlight in *compilation* buffers
@ 2005-02-05 14:04 Eli Zaretskii
  2005-02-06 16:23 ` Drew Adams
  0 siblings, 1 reply; 2+ messages in thread
From: Eli Zaretskii @ 2005-02-05 14:04 UTC (permalink / raw)


The mouse-face highlighting of compiler messages is sometimes too
greedy, I think.  For example, if the message text is

  foo.c:5: warning: implicit declaration of function `bar'

then the mouse-face property extends up to and excluding the colon
that is after the "warning" part.  Do we want that, or is the intent
to highlight only the file name and the line number?  I think it's the
latter, because an error message, like this:

  foo.c:11: error: conflicting types for 'bar'

does _not_ have the "error" part highlighted, i.e. mouse-face ends at
the colon after the line number.  So for consistency's sake, the
"warning" part should not be highlighted as well.  (It looks like
"warning" is treated specially due to its appearance in
compilation-error-regexp-alist-alist.)

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

end of thread, other threads:[~2005-02-06 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-05 14:04 Mouse highlight in *compilation* buffers Eli Zaretskii
2005-02-06 16:23 ` Drew Adams

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.