From: Craig M. Armstro
Subject: Help writing lisp function
Date: 
Message-ID: <dz8zq8nakby.fsf@castor.usc.edu>
Hi,

I have recently started using gnus to read USENET news.

I'd like to write a lisp function to do the following (in "pseudocode"):

if article not selected
        select article
elif not end of article
        page article
elif not end of thread
        select next article
else
        return to summary buffer
endif

I don't really know lisp, so any code suggestions would be helpful.

Please email reponses.

Thank you,

Craig Armstrong	

From: Jari Aalto
Subject: Re: Help writing lisp function
Date: 
Message-ID: <JAALTO.96Apr9102932@tre.tele.nokia.fi>
| 7.4.96, ········@castor.usc.edu (Craig M. Armstro), gnu.emacs.help
| Hi,
| 
| I have recently started using gnus to read USENET news.
| 
| I'd like to write a lisp function to do the following (in "pseudocode"):
| 
| if article not selected
|         select article

In *Summary* this is SPACE key.

| elif not end of article
|         page article

In *Article* this is SPACE key.

| elif not end of thread
|         select next article

old GNUS does quite poor threading, but I have got used to it already,
I don't know good suggestion for this.

| else
|         return to summary buffer

C-x o to switch buffers.

| endif
| 
| I don't really know lisp, so any code suggestions would be helpful.

Are you sure you need lisp for this all...
Also check out the next generation GNUS(formely ding) that comes with
the latest emacs version 19.30+. It's total rewrite.

Cheers!
--
/Jari, "The Man who makes no mistakes does not usually make anything."
From: Craig M. Armstro
Subject: Re: Help writing lisp function
Date: 
Message-ID: <dz8d95hwasu.fsf@castor.usc.edu>
In article <···············@castor.usc.edu> ········@castor.usc.edu (Craig M. Armstro) writes:

I have recieved a few responces, and realize my previous post was not clear as
to what I was wanting.

Basically I want to modify the default function invoked by space in the
*Summary* buffer (gnus-summary-next-page)

   Hi,

   I have recently started using gnus to read USENET news.

   I'd like to write a lisp function to do the following (in "pseudocode"):

   if article not selected
	   select article
   elif not end of article
	   page article

gnus-summary-next-page seems fine up to here, but has not provisions for
checking threading:

   elif not end of thread
	   select next article
   else
	   return to summary buffer

What I meant here was to return to the summary buffer full screen so I could
browse the subjects quicker before reading a new thread.

   endif

   I don't really know lisp, so any code suggestions would be helpful.

   Please email reponses.

   Thank you,

   Craig Armstrong	

Thanks again,

Craig Armstrong