bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

sleep in .Xsession fixed initial-frame-alist due to gigahertz too fast


From: Dan Jacobson
Subject: sleep in .Xsession fixed initial-frame-alist due to gigahertz too fast
Date: 18 Apr 2002 02:27:27 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1

Private soldier Jacobson reporting back about my
$ emacs --fullscreen #command of the future

dream.  Well, being the complainer type, I was all up in arms when
even hardwiring
(setq initial-frame-alist '((top . 6) (left . 6) (width . 95) (height . 37)))
in .emacs was still not doing it's job, giving a still too short a
window.

And just look at the clutter in my .Xsession file:
#emacs -geometry 95x35+-6+-6 -f gnus&
#emacs -geometry 95x35 -f gnus&
#emacs -geometry 95x38 -f gnus& #makes 95x33+-6+-6, minibuffer thus cut off
#emacs -geometry 95x37 -f gnus& #makes 95x31+-6+-6, want 95x32+-6+-6
delay=43
(sleep $delay;emacs -f gnus)&

well, what do you know, the last two lines did it.  It seems that with
my new nifto gigahertz computer, lots of things now outpace lots of
things, so need a lot of sleep shims wedged in.  I haven't refined the
$delay yet, but note I need it also to use xcin, etc. in .Xsession:
(sleep $delay;konsole)& #xcin race condition?
(sleep $delay;konsole -bg hotpink4 -e su)&
exec icewm || exec xterm -fg red

Anyways, if a emacs user, upon becoming a gigahertz dude, finds stuff
all wacko, some sleeping pills in .Xsession may be "indicated" as they
say in the med biz.

Hmm, then an hour later I check and
$ pstree
|-prefdm---autologin---xinit-+-X
|                            `-icewm-+-Xsession---emacs-+-emacsserver
|                                    |                  `-ispell
|                                    |-Xsession---rxvt.bin---bash---pstree
|                                    |-Xsession---rxvt.bin---su
|                                    `-xcin
doesn't look nice, but works.
-- 
http://jidanni.org/ Taiwan(04)25854780



reply via email to

[Prev in Thread] Current Thread [Next in Thread]