GNU bug report logs - #20738
25.0.50; grep/compilation output sometimes has text prop `compilation-message' on final line

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Fri, 5 Jun 2015 06:46:02 UTC

Severity: minor

Tags: unreproducible

Found in version 25.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 20738 in the body.
You can then email your comments to 20738 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#20738; Package emacs. (Fri, 05 Jun 2015 06:46:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Drew Adams <drew.adams <at> oracle.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 05 Jun 2015 06:46:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.50; grep/compilation output sometimes has text prop
 `compilation-message' on final line
Date: Thu, 4 Jun 2015 23:43:28 -0700 (PDT)
I seem not to see the problem if there are not a lot of lines output by
`grep', but if there are a lot then I see the problem (don't ask me how
much is a lot - I certainly see it if there are, say, 6000 lines).

If I test `M-: (get-text-property (point) 'compilation-message)' with
point at bol of the last line of the buffer, which is for example, this:

Grep finished (matches found) at Thu Jun  4 23:26:06

Then I get this, for example:

[cl-struct-compilation--message
 (nil 26
      (("Grep finished (matches found) at Thu Jun  4 23" nil)
       nil
       (26 #1))
      nil nil)
 2 nil]

IIUC, there should be no such text property on this line, as it is not
an "error" message line.

Here is what `C-u C-x =' shows wrt text properties at that position:

There are text properties here:
  compilation-handle-exit t
  compilation-message  [Show]
  face                 nil
  font-lock-face       (compilation-info)
  fontified            t
  help-echo            "mouse-2: visit this file and line"
  keymap               compilation-button-map
  mouse-face           compilation-mouseover

And clicking [Show] shows the vector value I wrote above.


In GNU Emacs 25.0.50.1 (i686-pc-mingw32)
 of 2014-10-20 on LEG570
Bzr revision: 118168 rgm <at> gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20738; Package emacs. (Fri, 05 Jun 2015 07:21:02 GMT) Full text and rfc822 format available.

Message #8 received at 20738 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: 20738 <at> debbugs.gnu.org
Subject: RE: bug#20738: 25.0.50; grep/compilation output sometimes has text
 prop `compilation-message' on final line
Date: Fri, 5 Jun 2015 00:20:25 -0700 (PDT)
I said:

> I seem not to see the problem if there are not a lot of lines output
> by `grep', but if there are a lot then I see the problem (don't ask
> me how much is a lot - I certainly see it if there are, say, 6000 lines).

Actually, it's not necessarily the case that the problem occurs only
when there are a lot of output lines.  It happens sometimes and not
other times, but it's not clear to me what the criteria are.

Also, I can reproduce it with Emacs versions as far back as 24.1
(I haven't tried further back.  I think 24.1 is maybe when property
`compilation-message' was first introduced anyway.)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20738; Package emacs. (Thu, 20 Aug 2020 17:04:02 GMT) Full text and rfc822 format available.

Message #11 received at 20738 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 20738 <at> debbugs.gnu.org
Subject: Re: bug#20738: 25.0.50; grep/compilation output sometimes has text
 prop `compilation-message' on final line
Date: Thu, 20 Aug 2020 19:03:32 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

> I said:
>
>> I seem not to see the problem if there are not a lot of lines output
>> by `grep', but if there are a lot then I see the problem (don't ask
>> me how much is a lot - I certainly see it if there are, say, 6000 lines).
>
> Actually, it's not necessarily the case that the problem occurs only
> when there are a lot of output lines.  It happens sometimes and not
> other times, but it's not clear to me what the criteria are.

I've tried various greps (in the lisp directory), grepping for "defun"
or "def", the latter giving 35K hits, and I'm unable to reproduce this
bug.

Do you have a recipe?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20738; Package emacs. (Thu, 20 Aug 2020 17:50:01 GMT) Full text and rfc822 format available.

Message #14 received at 20738 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 20738 <at> debbugs.gnu.org
Subject: RE: bug#20738: 25.0.50; grep/compilation output sometimes has text
 prop `compilation-message' on final line
Date: Thu, 20 Aug 2020 10:49:28 -0700 (PDT)
> Do you have a recipe?

No.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20738; Package emacs. (Fri, 21 Aug 2020 11:11:02 GMT) Full text and rfc822 format available.

Message #17 received at 20738 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 20738 <at> debbugs.gnu.org
Subject: Re: bug#20738: 25.0.50; grep/compilation output sometimes has text
 prop `compilation-message' on final line
Date: Fri, 21 Aug 2020 13:10:04 +0200
Drew Adams <drew.adams <at> oracle.com> writes:

>> Do you have a recipe?
>
> No.

Then it seems unlikely that we'll make further progress here, and I'm
closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) unreproducible. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 21 Aug 2020 11:11:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 20738 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 21 Aug 2020 11:11:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#20738; Package emacs. (Fri, 21 Aug 2020 15:30:02 GMT) Full text and rfc822 format available.

Message #24 received at 20738 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 20738 <at> debbugs.gnu.org
Subject: RE: bug#20738: 25.0.50; grep/compilation output sometimes has text
 prop `compilation-message' on final line
Date: Fri, 21 Aug 2020 15:29:09 +0000 (UTC)
> >> Do you have a recipe?
> >
> > No.
> 
> Then it seems unlikely that we'll make further progress here, and I'm
> closing this bug report.

Dunno how you figure that it's unlikely.  I said,
at the outset:

  It happens sometimes and not other times, but it's not
  clear to me what the criteria are.

  Also, I can reproduce it with Emacs versions as far
  back as 24.1  (I haven't tried further back.  I think
  24.1 is maybe when property `compilation-message' was
  first introduced anyway.)

The bug exists.  I don't have recipe to repro it.

There's no relation between not having a recipe and the
frequency of the problem occurring - zero.

The choices, IMO, are to either (1) leave the bug open,
hoping that at some point someone will find or stumble
upon a recipe or a solution or (2) close it, knowing
that the bug exists.

It's not uncommon for bugs to later get more info and
be solved (#1).  Of course, if the real aim is to keep
down the bug count, as opposed to recording bugs in
hopes of fixing them, then #2 can happen.

That sometimes happens in organizations where QA is
judged by the outstanding bug count.  (IMHO, that has
no place in free software.)




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 19 Sep 2020 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 213 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.