🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Brian Victor Thu, 04 Sep 2003 18:26
slrn and skipping quoted text
#132698
Author: Brian Victor
Date: Thu, 04 Sep 2003 18:26
12 lines
1322 bytes
Using tab to skip quoted text seems like a feature with a lot of
potential, especially considering the number of newsgroups where
snipping quotes seems to have gone out of fashion.  However, it would be
nice if slrn would retain 5-10 lines of quotes at the top rather than
placing the first unquoted line at the top of the window.  Is there any
way to do this, or will I have to do some source hacking?

Thanks,

-- 
Brian
Re: slrn and skipping quoted text
#132703
Author: SINNER
Date: Thu, 04 Sep 2003 20:00
19 lines
2229 bytes
* Brian Victor Wrote in news.software.readers, on Thu, 04 Sep 2003 18:26:45 GMT:
> Using tab to skip quoted text seems like a feature with a lot of
> potential, especially considering the number of newsgroups where
> snipping quotes seems to have gone out of fashion.  However, it would be
> nice if slrn would retain 5-10 lines of quotes at the top rather than
> placing the first unquoted line at the top of the window.  Is there any
> way to do this, or will I have to do some source hacking?

> Thanks,

there was a change made in the recent version to fix the way it acts
somewhaat, but the number of lines is not configurable. I am sure a
macro rather then hacking the source would be sufficient.

-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
I don't want to live on in my work, I want to live on in my apartment.
		-- Woody Allen
Re: slrn and skipping quoted text
#132704
Author: Brian Victor
Date: Thu, 04 Sep 2003 20:39
22 lines
1967 bytes
SINNER wrote:
> Brian Victor Wrote in news.software.readers, on Thu, 04 Sep 2003
> 18:26:45 GMT:
>> However, it would be nice if slrn would retain 5-10 lines of quotes
>> at the top rather than placing the first unquoted line at the top of
>> the window.  Is there any way to do this, or will I have to do some
>> source hacking?
> there was a change made in the recent version to fix the way it acts
> somewhaat, but the number of lines is not configurable. I am sure a
> macro rather then hacking the source would be sufficient.

How recent are you talking?  I tried 0.9.8.0 (which reliably segfaulted
on my debian/ppc machine when trying to post), and the tab behavior is
the same; the first unquoted line moves to the top line of the window.

I'll have to look into the macros some more.  It needs to be more
intelligent than "skip-quotes back-line back-line back-line," or else
pressing tab n times would be equivalent to pressing tab 1 time.

-- 
Brian
Re: slrn and skipping quoted text
#132715
Author: SINNER
Date: Thu, 04 Sep 2003 21:58
24 lines
2636 bytes
* Brian Victor Wrote in news.software.readers, on Thu, 04 Sep 2003 20:39:29 GMT:
> SINNER wrote:
>> Brian Victor Wrote in news.software.readers, on Thu, 04 Sep 2003
>> 18:26:45 GMT:
>>> However, it would be nice if slrn would retain 5-10 lines of quotes
>>> at the top rather than placing the first unquoted line at the top of
>>> the window.  Is there any way to do this, or will I have to do some
>>> source hacking?
>> there was a change made in the recent version to fix the way it acts
>> somewhaat, but the number of lines is not configurable. I am sure a
>> macro rather then hacking the source would be sufficient.

> How recent are you talking?  I tried 0.9.8.0 (which reliably segfaulted
> on my debian/ppc machine when trying to post), and the tab behavior is
> the same; the first unquoted line moves to the top line of the window.

Yes, that version, but I misunderstood the question, I know see what
your after and dont have a solution sorry.

-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
If you MUST get married, it is always advisable to marry beauty.
Otherwise, you'll never find anybody to take her off your hands.
[slrn] segfaults on ppc (was: slrn and skipping quoted text)
#132866
Author: Thomas Schultz
Date: Sat, 06 Sep 2003 11:30
13 lines
1679 bytes
* Brian Victor [2003-09-04 20:39] :

> How recent are you talking?  I tried 0.9.8.0 (which reliably
> segfaulted on my debian/ppc machine when trying to post), [...]

Sorry about that; the following patch should fix this:
<http://slrn.sourceforge.net/patches/slrn-0.9.8.0-post.diff>
-- 
Thomas Schultz <tststs@gmx.de>  News on slrn: http://slrn.sf.net/news.html
.-----------------------------. [2003-08-25] Released slrn 0.9.8.0
| Home of the slrn newsreader | [2003-08-19] New slrn FAQ available
| http://slrn.sourceforge.net | [2003-07-31] First beta with offline reading
Re: [slrn] segfaults on ppc (was: slrn and skipping quoted text)
#132869
Author: Brian Victor
Date: Sat, 06 Sep 2003 13:24
20 lines
2045 bytes
Thomas Schultz wrote:
> * Brian Victor [2003-09-04 20:39] :
>> How recent are you talking?  I tried 0.9.8.0 (which reliably
>> segfaulted on my debian/ppc machine when trying to post), [...]
> Sorry about that; the following patch should fix this:
><http://slrn.sourceforge.net/patches/slrn-0.9.8.0-post.diff>

If you see this post, it did, and I thank you.  Now I just need to
convince the debian package tools to build it properly.  (It's dying
after linking, looking for a src/objs directory that doesn't exist.)

At any rate, would you be interested in a patch to provide context lines
when skipping quotes?  It looks like I just need to add a bit of logic
to _slrn_art_skip_quoted_text, and ideally make a configuration
directive for specifying the number of context lines.  The latter I
haven't figured out yet...

-- 
Brian
Re: [slrn] segfaults on ppc (was: slrn and skipping quoted text)
#132872
Author: Brian Victor
Date: Sat, 06 Sep 2003 15:00
14 lines
1633 bytes
Brian Victor wrote:
> At any rate, would you be interested in a patch to provide context lines
> when skipping quotes?

If you are, here it is:
http://brianhv.org/code/slrn-0.9.8.0-quotecontext.diff

The number of lines is hard-coded, but I'd wager that someone more
familiar with slrn could make it variable through the rc file with
little trouble.

-- 
Brian
Re: [slrn] segfaults on ppc (was: slrn and skipping quoted text)
#132885
Author: SINNER
Date: Sat, 06 Sep 2003 18:10
19 lines
2282 bytes
* Brian Victor Wrote in news.software.readers, on Sat, 06 Sep 2003 15:00:04 GMT:
> Brian Victor wrote:
>> At any rate, would you be interested in a patch to provide context lines
>> when skipping quotes?

> If you are, here it is:
> http://brianhv.org/code/slrn-0.9.8.0-quotecontext.diff

> The number of lines is hard-coded, but I'd wager that someone more
> familiar with slrn could make it variable through the rc file with
> little trouble.

Works great! Thanks!

-- 
David                    | AGM Favorite Games - http://tinyurl.com/loec 
Having children is like having a bowling alley installed in your brain.
		-- Martin Mull
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