🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Dirk Lutzebaeck Thu, 25 Jul 1991 08:07
Strange behaviour with epoch and gnus
#478
Author: Dirk Lutzebaeck
Date: Thu, 25 Jul 1991 08:07
39 lines
1784 bytes
I have a very strange behaviour using gnus inside an epoch screen
with version emacs-18.55/epoch-3.2pl0 and emacs-18.57/epoch-3.2pl2 too
(under SUNOS 4.1):

My startup for gnus looks like this:

epoch -l .xinit.el

.xinit.el:

;;; gnus-screen

(select-screen
 (create-screen 'nil 
		'((title . "Gnus")
		  (icon-name . "Gnus")
		  (geometry . "85x61+5+95")
		  (initial-state . 'nil))))
(load "gnus")
(gnus)

(message ".xinit.el done.")


The problem is that _sometimes_ the *scratch*-screen contains the
contents of the *Newsgroup*-buffer and the *Newsgroup*-screen contains
the gnus startup page. The strange thing is just that this behaviour
is *not predictable*. Sometimes on startup it happens and sometimes
not.

Any hints?

--
--
Dirk Lutzebaeck   | Voice: +49 30 25499-282    Room: ZAZ923
GMD-FOKUS         | Email: lutzebaeck@fokus.berlin.gmd.dbp.de || dirk@tub.UUCP
Hardenbergplatz 2 | Bang:  ...!pyramid!tub!dirk        (from the US)
D-1000 Berlin 12  |  or    ...!mcvax!unido!tub!dirk    (from Europe)
Re: Strange behaviour with epoch and gnus
#1815
Author: Alan M. Carroll
Date: Wed, 31 Jul 1991 01:54
20 lines
1512 bytes
In article <DRK.91Jul25100701@sol.sol>, drk@sol (Dirk Lutzebaeck) writes:
> The problem is that _sometimes_ the *scratch*-screen contains the
> contents of the *Newsgroup*-buffer and the *Newsgroup*-screen contains
> the gnus startup page.

If I had to guess, I would guess that during the GNUS startup, you
move the mouse into the first screen. This would generate a focus
event on that screen, and as soons as GNUS waits for input (which I
presume it does trying to connect to the server), it'll switch over to
the scratch screen. What I would recommend is embedding the GNUS
startup in

(ignore-event 'focus)
(gnus)
(resume-event 'focus)

-- 
Alan M. Carroll          <-- Another casualty of applied metaphysics
Epoch Development Team   
Urbana Il.               "I hate shopping with the reality-impaired" - Susan
Re: Strange behaviour with epoch and gnus
#1818
Author: Dirk Lutzebaeck
Date: Wed, 31 Jul 1991 08:32
29 lines
1949 bytes
>>>>> On 31 Jul 91 01:54:13 GMT, carroll@cs.uiuc.edu (Alan M. Carroll) said:
  Alan> Nntp-Posting-Host: ash.cs.uiuc.edu

  Alan> In article <DRK.91Jul25100701@sol.sol>, drk@sol (Dirk Lutzebaeck) writes:
> The problem is that _sometimes_ the *scratch*-screen contains the
> contents of the *Newsgroup*-buffer and the *Newsgroup*-screen contains
> the gnus startup page.

  Alan> If I had to guess, I would guess that during the GNUS startup, you
  Alan> move the mouse into the first screen. This would generate a focus
  Alan> event on that screen, and as soons as GNUS waits for input (which I
  Alan> presume it does trying to connect to the server), it'll switch over to
  Alan> the scratch screen. What I would recommend is embedding the GNUS
  Alan> startup in

  Alan> (ignore-event 'focus)
  Alan> (gnus)
  Alan> (resume-event 'focus)

Excatly this is the solution. Thanks for your help.



--
--
Dirk Lutzebaeck   | Voice: +49 30 25499-282    Room: ZAZ923
GMD-FOKUS         | Email: lutzebaeck@fokus.berlin.gmd.dbp.de || dirk@tub.UUCP
Hardenbergplatz 2 | Bang:  ...!pyramid!tub!dirk        (from the US)
D-1000 Berlin 12  |  or    ...!mcvax!unido!tub!dirk    (from Europe)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads