unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22485: M-x compile cuts off output if signal is received!
@ 2016-01-28 19:38 積丹尼 Dan Jacobson
  2016-01-28 19:57 ` Eli Zaretskii
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2016-01-28 19:38 UTC (permalink / raw)
  To: 22485

$ cat makefile
boom:
	seq 1111; false
boom1:
	seq 1111; true
boom2:
	seq 1111; false; m=$$?; sleep 1; exit $$m

M-x compile make boom gives

...
1039
1040
10
Compilation exited abnormally with code 2 at Fri Jan 29 03:24:38

The output is cut off!

What if things looked good, except for an important message that was cut
off?!!?

make boom1 or make boom2 are fine.

Also make boom with a fresh account works fine.

Only make boom with my
http://jidanni.org/comp/configuration/ is bad.

See also #22283 .

(emacs-version)"GNU Emacs 24.5.1 (i586-pc-linux-gnu, GTK+ Version 3.18.6)
 of 2016-01-23 on x86-csail-01, modified by Debian"





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

* bug#22485: M-x compile cuts off output if signal is received!
  2016-01-28 19:38 bug#22485: M-x compile cuts off output if signal is received! 積丹尼 Dan Jacobson
@ 2016-01-28 19:57 ` Eli Zaretskii
  2016-01-28 21:18   ` Óscar Fuentes
  2016-01-28 22:09 ` 積丹尼 Dan Jacobson
  2016-03-02  0:08 ` 積丹尼 Dan Jacobson
  2 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2016-01-28 19:57 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 22485

> From: 積丹尼 Dan Jacobson
> 	<jidanni@jidanni.org>
> Date: Fri, 29 Jan 2016 03:38:46 +0800
> 
> $ cat makefile
> boom:
> 	seq 1111; false
> boom1:
> 	seq 1111; true
> boom2:
> 	seq 1111; false; m=$$?; sleep 1; exit $$m
> 
> M-x compile make boom gives
> 
> ...
> 1039
> 1040
> 10
> Compilation exited abnormally with code 2 at Fri Jan 29 03:24:38
> 
> The output is cut off!

I cannot reproduce this.





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

* bug#22485: M-x compile cuts off output if signal is received!
  2016-01-28 19:57 ` Eli Zaretskii
@ 2016-01-28 21:18   ` Óscar Fuentes
  0 siblings, 0 replies; 6+ messages in thread
From: Óscar Fuentes @ 2016-01-28 21:18 UTC (permalink / raw)
  To: 22485; +Cc: 積丹尼 Dan Jacobson

Eli Zaretskii <eliz@gnu.org> writes:

>> M-x compile make boom gives
>> 
>> ...
>> 1039
>> 1040
>> 10
>> Compilation exited abnormally with code 2 at Fri Jan 29 03:24:38
>> 
>> The output is cut off!
>
> I cannot reproduce this.

I cannot reproduce it with emacs -Q either, but the problem is visible
without -Q. I remember seeing something similar on very rare occassions.

To the OP: do you see the problem with `emacs -Q' ? If the answer is
negative, can you bisect your configuration file to find the setting
that causes this bug?

For the record, I'm using

GNU Emacs 25.0.50.29 (x86_64-unknown-linux-gnu, X toolkit) of 2016-01-21





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

* bug#22485: M-x compile cuts off output if signal is received!
  2016-01-28 19:38 bug#22485: M-x compile cuts off output if signal is received! 積丹尼 Dan Jacobson
  2016-01-28 19:57 ` Eli Zaretskii
@ 2016-01-28 22:09 ` 積丹尼 Dan Jacobson
  2016-03-02  0:08 ` 積丹尼 Dan Jacobson
  2 siblings, 0 replies; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2016-01-28 22:09 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: 22485

>>>>> "ÓF" == Óscar Fuentes <ofv@wanadoo.es> writes:

ÓF> I cannot reproduce it with emacs -Q either, but the problem is visible
ÓF> without -Q. I remember seeing something similar on very rare occassions.

ÓF> To the OP: do you see the problem with `emacs -Q' ? If the answer is
ÓF> negative, can you bisect your configuration file to find the setting
ÓF> that causes this bug?

Yes, something in my big mess http://jidanni.org/comp/configuration/.emacs is
triggering it.

But also in your .emacs too!

Perhaps you can see what we both do, which must trigger it. (You are
probably more of an expert than me to dig out the cause.)

For others: you also probably need a slower machine to trigger it too.





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

* bug#22485: M-x compile cuts off output if signal is received!
  2016-01-28 19:38 bug#22485: M-x compile cuts off output if signal is received! 積丹尼 Dan Jacobson
  2016-01-28 19:57 ` Eli Zaretskii
  2016-01-28 22:09 ` 積丹尼 Dan Jacobson
@ 2016-03-02  0:08 ` 積丹尼 Dan Jacobson
  2016-12-07 20:20   ` Glenn Morris
  2 siblings, 1 reply; 6+ messages in thread
From: 積丹尼 Dan Jacobson @ 2016-03-02  0:08 UTC (permalink / raw)
  To: Óscar Fuentes; +Cc: 22485

(compile "seq 1111; false" nil) does not have the problem.
(compile "make" nil) with the mentioned makefile does have the problem!
Interleaving runs of the above two commands showed only the latter has
the problem (here on my slow #2 machine).

But not always! Sometimes even the latter doesn't have the problem.

Yes it must be something in my configuration files I mentioned, as it
doesn't happen with emacs -Q. But what?





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

* bug#22485: M-x compile cuts off output if signal is received!
  2016-03-02  0:08 ` 積丹尼 Dan Jacobson
@ 2016-12-07 20:20   ` Glenn Morris
  0 siblings, 0 replies; 6+ messages in thread
From: Glenn Morris @ 2016-12-07 20:20 UTC (permalink / raw)
  To: 22485-done


> Yes it must be something in my configuration files I mentioned, as it
> doesn't happen with emacs -Q. But what?

You can reopen this if you ever find out.





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

end of thread, other threads:[~2016-12-07 20:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-28 19:38 bug#22485: M-x compile cuts off output if signal is received! 積丹尼 Dan Jacobson
2016-01-28 19:57 ` Eli Zaretskii
2016-01-28 21:18   ` Óscar Fuentes
2016-01-28 22:09 ` 積丹尼 Dan Jacobson
2016-03-02  0:08 ` 積丹尼 Dan Jacobson
2016-12-07 20:20   ` Glenn Morris

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).