Thread View: news.software.readers
7 messages
7 total messages
Started by Allan Joergensen
Sun, 19 Apr 1998 00:00
Wrapping in slrn
Author: Allan Joergensen
Date: Sun, 19 Apr 1998 00:00
Date: Sun, 19 Apr 1998 00:00
16 lines
1058 bytes
1058 bytes
Hi. I have this problem: I'm usign slrn with joe as editor (on Linux) and would like set_followup_string to be something like "On %d , %r <%f> wrote in message %m:" - The problem is, that the line containing the followup-string is _very_ long, ie. slrn or joe doesn't wrap the line. Have anyone found a way around this? -- Allan Joergensen (AJ548-RIPE) - "Brain fried, core dumped" Homepage: <http://www.nowhere.dk> - Powered by Linux Motto: "If at first you don't succeed, redefine success"
Re: Wrapping in slrn
Author: Peppe
Date: Sun, 19 Apr 1998 00:00
Date: Sun, 19 Apr 1998 00:00
25 lines
1542 bytes
1542 bytes
Thus wrote Allan Joergensen <dw@nowhere.dk> > Hi. > I have this problem: I'm usign slrn with joe as editor (on Linux) and would > like set_followup_string to be something like "On %d , %r <%f> wrote in > message %m:" - The problem is, that the line containing the followup-string > is _very_ long, ie. slrn or joe doesn't wrap the line. > Have anyone found a way around this? Just add a "\n" to break the line. Eg: set followup_string "On %d, %r <%f> wrote\nin message %m:" This will break the line between "wrote" and "in". Peppe -- Preben Guldberg __/-\__ The Knight's bones are dust, c928400@student.dtu.dk (o o) And his good sword rust; ---------------------oOOo (_) oOOo- His soul is with the saints, I trust. http://www.student.dtu.dk/~c928400 --Samuel Taylor Coleridge (1772-1834)
Re: Wrapping in slrn
Author: Allan Joergensen
Date: Sun, 19 Apr 1998 00:00
Date: Sun, 19 Apr 1998 00:00
14 lines
1065 bytes
1065 bytes
On 19 Apr 98 15:28:22 GMT, Peppe <c928400@student.dtu.dk> wrote in <slrn6jk620.qu.c928400@urdybet.bergsoe.dtu.dk>: >Then try I'm going with the first suggestion. -- Allan Joergensen (AJ548-RIPE) - "Brain fried, core dumped" Homepage: <http://www.nowhere.dk> - Powered by Linux Motto: "If at first you don't succeed, redefine success"
Re: Wrapping in slrn
Author: Peppe
Date: Sun, 19 Apr 1998 00:00
Date: Sun, 19 Apr 1998 00:00
27 lines
1618 bytes
1618 bytes
Thus wrote Allan Joergensen <dw@nowhere.dk> > On 19 Apr 98 10:19:12 GMT, > Peppe <c928400@student.dtu.dk> wrote: > >Just add a "\n" to break the line. Eg: > > set followup_string "On %d, %r <%f> wrote\nin message %m:" > BUT won't work if someone has a REALLY long email-address. Then try set followup_string "On %d,\n%r wrote\nfrom <%f>\nin message %m:" :-) Should work unless someone has a 75+ name or 74+ address. This being quite rare, I think, t shouldn't be much hassle dealing with this :-) Peppe -- Preben Guldberg c928400@student.dtu.dk http://www.student.dtu.dk/~c928400 "He was born with a gift of __/-\__ "Not responsible for laughter and a sense that the (o o) advice not taken." world was mad." --Rafael Sabatini oOOo (_) oOOo --Larry Niven
Re: Wrapping in slrn
Author: Allan Joergensen
Date: Sun, 19 Apr 1998 00:00
Date: Sun, 19 Apr 1998 00:00
15 lines
1048 bytes
1048 bytes
On 19 Apr 98 10:19:12 GMT, Peppe <c928400@student.dtu.dk> wrote: >Just add a "\n" to break the line. Eg: > set followup_string "On %d, %r <%f> wrote\nin message %m:" BUT won't work if someone has a REALLY long email-address. -- Allan Joergensen (AJ548-RIPE) - "Brain fried, core dumped" Homepage: <http://www.nowhere.dk> - Powered by Linux Motto: "If at first you don't succeed, redefine success"
Re: Wrapping in slrn
Author: Heikki Kantola
Date: Mon, 20 Apr 1998 00:00
Date: Mon, 20 Apr 1998 00:00
29 lines
1848 bytes
1848 bytes
Peppe <c928400@student.dtu.dk> informed news.software.readers with the following: >Thus wrote Allan Joergensen <dw@nowhere.dk> >> On 19 Apr 98 10:19:12 GMT, >> Peppe <c928400@student.dtu.dk> wrote: >> >Just add a "\n" to break the line. Eg: >> > set followup_string "On %d, %r <%f> wrote\nin message %m:" > >> BUT won't work if someone has a REALLY long email-address. > >Then try > >set followup_string "On %d,\n%r wrote\nfrom <%f>\nin message %m:" > >Should work unless someone has a 75+ name or 74+ address. This being >quite rare, I think, t shouldn't be much hassle dealing with this :-) Or if you have too much free time in your hands, you might also want write a nice little slang macro which cleverly divides the attribution into multiple lines. -- Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI> L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta tunnilta.
Re: Wrapping in slrn
Author: Jan Hlavacek
Date: Mon, 20 Apr 1998 00:00
Date: Mon, 20 Apr 1998 00:00
29 lines
1979 bytes
1979 bytes
On 19 Apr 1998 08:05:44 GMT, Allan Joergensen <dw@nowhere.dk> wrote:
> I have this problem: I'm usign slrn with joe as editor (on Linux) and would
> like set_followup_string to be something like "On %d , %r <%f> wrote in
> message %m:" - The problem is, that the line containing the followup-string
> is _very_ long, ie. slrn or joe doesn't wrap the line.
I don't know anything about joe, but can you somehow make it wrap the
line? I use VIM as editor, and I have the following in mu .vimrc:
autocmd BufRead mutt*,.followup,.article,.letter,*/Postponed/* 1/^$/normal jgq$
It makes VIM to go to the begining of the buffer, find the first line
whith nothing in it (this line separates headers from the body), go one
line down (to the attribution line) and format this line, which wraps
it. This happens for every file matching the given patterns, i.e.
mutt* (files from my e-mail user agent), .followup, .article, .letter
and anything in Postponed directory.
Is there a way how to do something like this with joe?
lahvak
--
Jan Hlav\'{a}\v{c}ek <lahvak@math.mps.ohio-state.edu> (BCC's will bounce)
home page: http://www.math.ohio-state.edu/~lahvak/
slrn page: http://www.math.ohio-state.edu/~lahvak/software/slrn.html
slrn documentation: http://www.math.ohio-state.edu/~lahvak/software/slrn/
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