>>>> "Stephen" == Stephen J Turnbull
<stephen(a)xemacs.org> writes:
>>>> "Jan" == Jan Rychter <jan(a)rychter.com> writes:
Jan> BTW, it's a marvellously useful piece of code, perhaps worth
Jan> integrating as a package. Not very actively developed, but works
Jan> just fine.
Stephen> Being package maintainer is pretty minimal. Say you want to
Stephen> do it, take a hack at copying the relevant stuff from another
Stephen> package (see also the Packages and Packaging nodes in the
Stephen> User's Manual and the Lisp Reference), and when you get stuck
Stephen> ask for help.
[...]
I'll take a look at it. Perhaps I can help.
Jan> You mean I should just write the resizing code in Lisp and it'll
Jan> work better? Hmm.
Stephen> Up to you. I'll make no promises, but Mike Sperber might be
Stephen> willing to buy you a beer if you report your success :-) here.
Stephen> Do report failures too, of course.
Stephen> Warning: initial frame is special (gets created before init.el
Stephen> is run). So some things can be done more smoothly using X
Stephen> resources. If they can't be done at all from Lisp, that's a
Stephen> bug.
Well, I guess the following doesn't qualify me for a beer:
(add-hook 'escreen-goto-screen-hook (lambda ()
(if (eql (console-type) 'x)
(set-frame-size (selected-frame) 111 48))))
But it does solve my problem.
thanks,
--J.