🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #87394

Startup bug in emacs 19.27

#87394
From: Mark Phillips
Date: Thu, 29 Sep 1994 10:24
61 lines
2713 bytes
Summary
-------

Emacs 19.27 consumes 100% CPU time while iconised when restarted by
the vuesesion manager.

This did not happen under emacs 19.25.

Details
-------

Running under HPUX 9.03 and VUE.

Minor patch applied to record the command line arguments in WM_COMMAND
on the first emacs window (xprop returns WM_COMMAND(STRING) = { "emacs", "-i" }).

If emacs is started from the command line (without -iconic), then
iconised and then the session is saved by VUE a vue session command is created as follows:-

vuesmcmd -hints "-geometry 80x40+319+113 -state IconicState -workspaces \"Two \" -cmd \"emacs -i \"" -screen 0 -cmd "emacs -i"

When I next log into vue emacs comes up as an icon (even though
-iconic is not passed to it on the command line), BUT consumes all the
CPU time until it is first de-iconised. When it is de-iconised you see
the startup messages flash by in the mini-buffer.

The above behaviour is NOT seen if emacs is started via "emacs -i -iconic".


Guess about what is happening
-----------------------------

I suspect that (unless emacs is started with -iconic) 19.27 (or 19.26)
has been changed so it goes into a busy wait for the window being
mapped, so that the user will have the chance to see all the start up
messages.

It would be nice if this busy wait was either replaced with proper
wait or was changed to timeout after say a minute and assume that
emacs session has been started in iconic state by the window manager.


Configuration
-------------

uname -a
HP-UX bhl3h21 A.09.03 A 9000/715 2013015160 two-user license


GNU FSF emacs 19.27

# ./configure  hppa1.1-hp-hpux --with-gcc --prefix=/vol/fsf.hp/common --exec-prefix=/vol/fsf.hp/HP9-7_A.09.03 -verbose -x-includes=/usr/include/X11R5 -x-libraries=/usr/lib/X11R5

Built using gcc 2.5.8 (utah version).

Many Thanks in advance for any help you can pass my way!!!

Mark Phillips
-- 
Mark Phillips - BNR Europe Ltd. 			(msp@bnr.co.uk)
ESN 742 2461						Tel (+44) 279 402461
Technical Details
Message-ID: <MSP.94Sep29112104@bhl3h21.bnr.co.uk>
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!bnr.co.UK!M.S.PHillips

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,e06875f2db65013d
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1994-09-29 05:27:15 PST
Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!uunet!cs.utexas.edu!math.ohio-state.edu!magnus.acs.ohio-state.edu!cis.ohio-state.edu!bnr.co.UK!M.S.PHillips
From: M.S.PHillips@bnr.co.UK (Mark Phillips)
Newsgroups: gnu.emacs.bug
Subject: Startup bug in emacs 19.27
Date: 29 Sep 1994 06:24:45 -0400
Organization: BNR Europe Ltd, London Rd, Harlow, Essex, CM19 9NA, U.K.
Lines: 62
Sender: daemon@cis.ohio-state.edu
Approved: bug-gnu-emacs@prep.ai.mit.edu
Distribution: gnu
Message-ID: <MSP.94Sep29112104@bhl3h21.bnr.co.uk>