all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Where is the function that adds the 'message text property in compilation buffers?
@ 2010-12-31  0:00 Lennart Borgman
  2010-12-31  0:29 ` Drew Adams
  0 siblings, 1 reply; 3+ messages in thread
From: Lennart Borgman @ 2010-12-31  0:00 UTC (permalink / raw)
  To: Emacs-Devel devel

Can someone please tell me that. I can't find it ;-)



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

* RE: Where is the function that adds the 'message text property in compilation buffers?
  2010-12-31  0:00 Where is the function that adds the 'message text property in compilation buffers? Lennart Borgman
@ 2010-12-31  0:29 ` Drew Adams
  2010-12-31  2:23   ` Lennart Borgman
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2010-12-31  0:29 UTC (permalink / raw)
  To: 'Lennart Borgman', 'Emacs-Devel devel'

> Can someone please tell me that. I can't find it ;-)

Did you look? in compile.el?

I see this in `compilation-compat-parse-errors', just by searching for
"'message":

(put-text-property src (line-end-position)
			     'message (list loc 2))

There might be additional locations.  I just looked quickly.




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

* Re: Where is the function that adds the 'message text property in compilation buffers?
  2010-12-31  0:29 ` Drew Adams
@ 2010-12-31  2:23   ` Lennart Borgman
  0 siblings, 0 replies; 3+ messages in thread
From: Lennart Borgman @ 2010-12-31  2:23 UTC (permalink / raw)
  To: Drew Adams; +Cc: Emacs-Devel devel

On Fri, Dec 31, 2010 at 1:29 AM, Drew Adams <drew.adams@oracle.com> wrote:
>> Can someone please tell me that. I can't find it ;-)
>
> Did you look? in compile.el?
>
> I see this in `compilation-compat-parse-errors', just by searching for
> "'message":
>
> (put-text-property src (line-end-position)
>                             'message (list loc 2))

Thanks, yes, but if you look further this is in the function

  (defun compilation-compat-parse-errors (limit)

it seems to be a compatibility function. The current function seems to be

  (defun compilation-internal-error-properties (file line end-line col
end-col type fmts)

Which I missed with a bad assumption in my regexp search.



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

end of thread, other threads:[~2010-12-31  2:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-31  0:00 Where is the function that adds the 'message text property in compilation buffers? Lennart Borgman
2010-12-31  0:29 ` Drew Adams
2010-12-31  2:23   ` Lennart Borgman

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.