unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2223: 23.0.90; *compilation* hangs and fails to scroll
@ 2009-02-06 14:58 Marshall, Simon
  0 siblings, 0 replies; 4+ messages in thread
From: Marshall, Simon @ 2009-02-06 14:58 UTC (permalink / raw)
  To: emacs-pretest-bug

[-- Attachment #1: Type: text/plain, Size: 3842 bytes --]

This may be 2 unrelated problems.  However, I'll report them with this
one email since the reproduction requires the same steps.

I have a Makefile which builds a library out of a large number of object
files.  The compilation command that is output by make is 2826 chars
long.  Unfortunately, Emacs hangs part-way through inserting the command
into the *compilation* window and then leaves point part-way through the
line even though compilation-scroll-output it t.

You will need a Makefile that is going to output a long line.  This
works for me:

all:
	@echo the very long line copied from my real makefile

Now emacs -Q and eval in *scratch*

(setq compilation-scroll-output t)
(setq special-display-frame-alist nil)
(setq compile-frame-alist
      (append '((width . 150) (height . 15))
	      '((left . 25) (top . 75))
	      '((menu-bar-lines . 1))
	      special-display-frame-alist))
(setq special-display-buffer-names
      (list (cons "*compilation*" compile-frame-alist)))

Now do Tools > Compile... RET and I see Emacs create the *compilation*
window frame and:

(1) insert part of the echo output before hanging (in that the cursor
stops blinking and Emacs fails to refresh any frame that you might make
visible) for a few seconds, then

(2) resume inserting the echo output but leave point part way through
the echo output, then

(3) hang again for a few seconds

After make has finished, point is left as described in (2).  I think the
position of point when Emacs hangs in (1) is not the same position of
point when Emacs stops scrolling, however that might just be an artifact
of the lack of redisplay.

If compile-frame-alist is nil, so that a special frame is not created
for the *compilation* window, then (2) does not occur, however (1) and
(3) still do.

I also raised the scroll problem (2) with an email "[22.1.91]: scrolling
occasionally stops in *compilation*" on 27 Feb 2008.  I don't have a
reply archived, but I seem to remember someone saying it was fixed in
the then trunk with a patch that was not easily applied to the branch.

In GNU Emacs 23.0.90.1 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2009-02-03 on risksun2
Windowing system distributor `Hummingbird Ltd.', version 11.0.100015
configured using `configure
'--x-includes=/usr/openwin/include:/usr/dt/include:/usr/local/include:/u
sr/local/X11/include'
'--x-libraries=/usr/openwin/lib:/usr/dt/lib:/usr/local/lib:/usr/local/X1
1/lib' '--with-x-toolkit=motif' '--with-jpeg=no' '--with-gif=no'
'--with-tiff=no''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t




"Misys" is the trade name for Misys plc (registered in England and Wales). Registration Number: 01360027. Registered office: One Kingdom Street, London W2 6BL, United Kingdom. For a list of Misys group operating companies please go to http://www.misys.com/corp/About_Us/misys_operating_companies.html. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and Misys plc. Please refer to the executed contract between you and the relevant member of the Misys group for the identity of the contracting party with which you are dealing. 

[-- Attachment #2: Type: text/html, Size: 7689 bytes --]

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

* bug#2223: 23.0.90; *compilation* hangs and fails to scroll
@ 2009-02-07 22:10 Chong Yidong
  2009-02-09  9:58 ` Marshall, Simon
       [not found] ` <63C2A154B1708946B60726AFDBA00AC00260C77E@ukmailemea01.misys.global.ad>
  0 siblings, 2 replies; 4+ messages in thread
From: Chong Yidong @ 2009-02-07 22:10 UTC (permalink / raw)
  To: Marshall, Simon; +Cc: 2223

This may have been related to the recent atimer problems, which have now
been fixed.  Is this bug still present with latest CVS?






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

* bug#2223: 23.0.90; *compilation* hangs and fails to scroll
  2009-02-07 22:10 bug#2223: 23.0.90; *compilation* hangs and fails to scroll Chong Yidong
@ 2009-02-09  9:58 ` Marshall, Simon
       [not found] ` <63C2A154B1708946B60726AFDBA00AC00260C77E@ukmailemea01.misys.global.ad>
  1 sibling, 0 replies; 4+ messages in thread
From: Marshall, Simon @ 2009-02-09  9:58 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 2223

Thanks.  I'll check it/they has/have been fixed in the next pretest. 

-----Original Message-----
From: Chong Yidong [mailto:cyd@stupidchicken.com] 
Sent: 07 February 2009 22:11
To: Marshall, Simon
Cc: 2223@emacsbugs.donarmstrong.com
Subject: Re: 23.0.90; *compilation* hangs and fails to scroll

This may have been related to the recent atimer problems, which have now
been fixed.  Is this bug still present with latest CVS?


"Misys" is the trade name for Misys plc (registered in England and Wales). Registration Number: 01360027. Registered office: One Kingdom Street, London W2 6BL, United Kingdom. For a list of Misys group operating companies please go to http://www.misys.com/corp/About_Us/misys_operating_companies.html. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and Misys plc. Please refer to the executed contract between you and the relevant member of the Misys group for the identity of the contracting party with which you are dealing. 






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

* bug#2223: 23.0.90; *compilation* hangs and fails to scroll
       [not found] ` <63C2A154B1708946B60726AFDBA00AC00260C77E@ukmailemea01.misys.global.ad>
@ 2009-02-26 12:10   ` Marshall, Simon
  0 siblings, 0 replies; 4+ messages in thread
From: Marshall, Simon @ 2009-02-26 12:10 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 2223

I can confirm that emacs-23.0.91 no longer hangs, thanks, however it
does still fail to scroll.

You will need a Makefile that is going to output a long line.  This
works for me:

all:
	@echo the 2+K char very long line copied from my real makefile

Now emacs -Q and eval in *scratch*

(setq compilation-scroll-output t)
(setq special-display-frame-alist nil)
(setq compile-frame-alist
      (append '((width . 150) (height . 15))
	      '((left . 25) (top . 75))
	      '((menu-bar-lines . 1))
	      special-display-frame-alist))
(setq special-display-buffer-names
      (list (cons "*compilation*" compile-frame-alist)))

Now do Tools > Compile... RET and I see Emacs create the *compilation*
window frame and insert chunks of the echo output before eventually not
scrolling the *compilation* window.  It doesn't stop scrolling at the
same time with each recompile.

Simon.

-----Original Message-----
From: Marshall, Simon 
Sent: 09 February 2009 09:58
To: 'Chong Yidong'
Cc: '2223@emacsbugs.donarmstrong.com'
Subject: RE: 23.0.90; *compilation* hangs and fails to scroll

Thanks.  I'll check it/they has/have been fixed in the next pretest. 

-----Original Message-----
From: Chong Yidong [mailto:cyd@stupidchicken.com] 
Sent: 07 February 2009 22:11
To: Marshall, Simon
Cc: 2223@emacsbugs.donarmstrong.com
Subject: Re: 23.0.90; *compilation* hangs and fails to scroll

This may have been related to the recent atimer problems, which have now
been fixed.  Is this bug still present with latest CVS?


"Misys" is the trade name for Misys plc (registered in England and Wales). Registration Number: 01360027. Registered office: One Kingdom Street, London W2 6BL, United Kingdom. For a list of Misys group operating companies please go to http://www.misys.com/corp/About_Us/misys_operating_companies.html. This email and any attachments have been scanned for known viruses using multiple scanners. This email message is intended for the named recipient only. It may be privileged and/or confidential. If you are not the named recipient of this email please notify us immediately and do not copy it or use it for any purpose, nor disclose its contents to any other person. This email does not constitute the commencement of legal relations between you and Misys plc. Please refer to the executed contract between you and the relevant member of the Misys group for the identity of the contracting party with which you are dealing. 






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

end of thread, other threads:[~2009-02-26 12:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-07 22:10 bug#2223: 23.0.90; *compilation* hangs and fails to scroll Chong Yidong
2009-02-09  9:58 ` Marshall, Simon
     [not found] ` <63C2A154B1708946B60726AFDBA00AC00260C77E@ukmailemea01.misys.global.ad>
2009-02-26 12:10   ` Marshall, Simon
  -- strict thread matches above, loose matches on Subject: below --
2009-02-06 14:58 Marshall, Simon

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