unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: 20738@debbugs.gnu.org
Subject: bug#20738: 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)	[thread overview]
Message-ID: <e6494908-69fa-4c4c-8230-33943aa84125@default> (raw)

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@gnu.org-20141020195941-icp42t8ttcnud09g
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking=yes,glyphs CPPFLAGS=-DGLYPH_DEBUG=1'





             reply	other threads:[~2015-06-05  6:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-05  6:43 Drew Adams [this message]
2015-06-05  7:20 ` bug#20738: 25.0.50; grep/compilation output sometimes has text prop `compilation-message' on final line Drew Adams
2020-08-20 17:03   ` Lars Ingebrigtsen
2020-08-20 17:49     ` Drew Adams
2020-08-21 11:10       ` Lars Ingebrigtsen
2020-08-21 15:29         ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6494908-69fa-4c4c-8230-33943aa84125@default \
    --to=drew.adams@oracle.com \
    --cc=20738@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).