Thread View: news.software.readers
17 messages
17 total messages
Started by Fritz Wuehler
Sat, 26 May 2012 12:19
[slrn] mixmaster integration
Author: Fritz Wuehler
Date: Sat, 26 May 2012 12:19
Date: Sat, 26 May 2012 12:19
12 lines
1751 bytes
1751 bytes
Suppose you want to reply to an existing post, and send the reply to go through mixmaster. What kind of tooling makes this work easily? At the moment, it looks like one must use "f" to followup, copy the quoted text, abandon the message, then paste it in a new post from the mixmaster client. This is tedious, and probably loses the message-id used for proper threading. I might consider doing a private e-mail reply from slrn, and then manually constructing all the headers to route through mixmaster, but that still seems tedious.
Re: [slrn] mixmaster integration
Author: Whiskers
Date: Sat, 26 May 2012 18:07
Date: Sat, 26 May 2012 18:07
15 lines
1720 bytes
1720 bytes
On 2012-05-26, Fritz Wuehler > <fritz@spamexpire-201205.rodent.frell.theremailer.net> wrote: > Suppose you want to reply to an existing post, and send the reply to > go through mixmaster. What kind of tooling makes this work easily? [...] Pipe it from slrn. See Message-ID: <1529c4b96a20b185438f6b75a97116da@dizum.com> -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] mixmaster integration
Author: Nomen Nescio
Date: Sat, 26 May 2012 20:15
Date: Sat, 26 May 2012 20:15
34 lines
2305 bytes
2305 bytes
On 2012-05-26, Whiskers <catwheezel@operamail.com> wrote: > On 2012-05-26, Fritz Wuehler >> <fritz@spamexpire-201205.rodent.frell.theremailer.net> wrote: >> Suppose you want to reply to an existing post, and send the reply to >> go through mixmaster. What kind of tooling makes this work easily? > > [...] > > Pipe it from slrn. > > See Message-ID: <1529c4b96a20b185438f6b75a97116da@dizum.com> I tried to get that message-id using esc-l, but the article was not available. Web searches on that message-id also came up dry. It would be useful to access old messages by message-id. What's a good way to do that? Anyway, back on topic, I tried piping using the | key while viewing your reply, and it seems the original article was piped, but not as a reply header and quote. So mixmaster did not seem to know what to do with it. Theoretically mixmaster can parse the headers of the standard input. So I would like to pipe the article /after/ I have composed a followup. Is that possible? Must I pipe from the editor, or is there a way to pipe from slrn at the point where slrn is asking for post confirmation? (I had to copy/paste this reply to you, because mixmaster does not seem to handle an emacs shell-command-on-region command). Thanks!
Re: [slrn] mixmaster integration
Author: Whiskers
Date: Sat, 26 May 2012 23:29
Date: Sat, 26 May 2012 23:29
52 lines
3519 bytes
3519 bytes
On 2012-05-26, Nomen Nescio <nobody@dizum.com> wrote: > On 2012-05-26, Whiskers <catwheezel@operamail.com> wrote: >> On 2012-05-26, Fritz Wuehler >>> <fritz@spamexpire-201205.rodent.frell.theremailer.net> wrote: >>> Suppose you want to reply to an existing post, and send the reply to >>> go through mixmaster. What kind of tooling makes this work easily? >> >> [...] >> >> Pipe it from slrn. >> >> See Message-ID: <1529c4b96a20b185438f6b75a97116da@dizum.com> > > I tried to get that message-id using esc-l, but the article was not > available. Web searches on that message-id also came up dry. It > would be useful to access old messages by message-id. What's a good > way to do that? Telnet into a news-server that still has the message? Probably easier to go to <http://al.howardknight.net/>. Google's 'find by MID' seems to be non-functional at present, but it is still possible to go to a specific newsgroup and search for a keyword within it. That article was posted to this group on 6th Jan 2011. > Anyway, back on topic, I tried piping using the | key while viewing > your reply, and it seems the original article was piped, but not as a > reply header and quote. So mixmaster did not seem to know what to do > with it. > > Theoretically mixmaster can parse the headers of the standard input. > So I would like to pipe the article /after/ I have composed a > followup. Is that possible? > > Must I pipe from the editor, or is there a way to pipe from slrn at > the point where slrn is asking for post confirmation? > > (I had to copy/paste this reply to you, because mixmaster does not > seem to handle an emacs shell-command-on-region command). > > Thanks! I've never used mixmaster, but I would expect the instructions to be included with it somewhere, or on line. The slrn macro in the article I linked to suggests that using the appropriate command-line options is the way to tell mixmaster what to do with what you pipe to it. That's certainly the normal *nix way ;)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] mixmaster integration
Author: Mike Yetto
Date: Sun, 27 May 2012 14:35
Date: Sun, 27 May 2012 14:35
51 lines
3607 bytes
3607 bytes
Whiskers <catwheezel@operamail.com> writes and having writ moves on. >On 2012-05-26, Nomen Nescio <nobody@dizum.com> wrote: >> On 2012-05-26, Whiskers <catwheezel@operamail.com> wrote: >>> On 2012-05-26, Fritz Wuehler >>>> <fritz@spamexpire-201205.rodent.frell.theremailer.net> wrote: >>>> Suppose you want to reply to an existing post, and send the reply to >>>> go through mixmaster. What kind of tooling makes this work easily? >>> >>> [...] >>> >>> Pipe it from slrn. >>> >>> See Message-ID: <1529c4b96a20b185438f6b75a97116da@dizum.com> >> >> I tried to get that message-id using esc-l, but the article was not >> available. Web searches on that message-id also came up dry. It >> would be useful to access old messages by message-id. What's a good >> way to do that? >Telnet into a news-server that still has the message? Probably easier >to go to <http://al.howardknight.net/>. Google's 'find by MID' seems to >be non-functional at present, but it is still possible to go to a >specific newsgroup and search for a keyword within it. That article was >posted to this group on 6th Jan 2011. On the off chance that this helps Nomen Nescio find the post, here's the headers. Note the From: header. #v+ Path: ...!gaspar.asbnva.moreusenet.net! border1.nntp.dca.giganews.com!nntp.giganews.com! news-out.octanews.net!indigo.octanews.net!news.glorb.com! feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl! newsfeed5.news.xs4all.nl!xs4all!news.wiretrip.org! news.dizum.com! sewer-output!mail2news-x2!mail2news From: Nomen Nescio <nobody@dizum.com> Newsgroups: news.software.readers,alt.privacy.anon-server Subject: Using mixmaster with slrn! (repost for information) Message-ID: <1529c4b96a20b185438f6b75a97116da@dizum.com> Date: Thu, 6 Jan 2011 15:41:38 +0100 (CET) Mail-To-News-Contact: abuse@dizum.com Organization: mail2news@dizum.com Bytes: 1241 Lines: 32 #v- Mike "personal archives are easier to search" Yetto -- In theory, theory and practice are the same. In practice they are not.
Re: [slrn] mixmaster integration
Author: Nomen Nescio
Date: Sun, 27 May 2012 17:01
Date: Sun, 27 May 2012 17:01
13 lines
1411 bytes
1411 bytes
Whiskers <catwheezel@operamail.com> wrote: > I've never used mixmaster, but I would expect the instructions to be > included with it somewhere, or on line. Seems not. I find it to be very poorly documented. > The slrn macro in the article I linked to suggests that using the > appropriate command-line options is the way to tell mixmaster what to do > with what you pipe to it. That's certainly the normal *nix way ;)) Thanks.. seems to work.
Re: [slrn] mixmaster integration
Author: Whiskers
Date: Sun, 27 May 2012 18:58
Date: Sun, 27 May 2012 18:58
24 lines
2154 bytes
2154 bytes
On 2012-05-27, Nomen Nescio <nobody@dizum.com> wrote: > Whiskers <catwheezel@operamail.com> wrote: > >> I've never used mixmaster, but I would expect the instructions to be >> included with it somewhere, or on line. > > Seems not. I find it to be very poorly documented. > >> The slrn macro in the article I linked to suggests that using the >> appropriate command-line options is the way to tell mixmaster what to do >> with what you pipe to it. That's certainly the normal *nix way ;)) > > Thanks.. seems to work. Good :)) As a matter of academic interest, does that macro invoke mixmaster before you compose your message, or afterwards? (I would expect afterwards, unless mixmaster has its own editor). -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] mixmaster integration
Author: Fritz Wuehler
Date: Sun, 27 May 2012 23:43
Date: Sun, 27 May 2012 23:43
24 lines
2367 bytes
2367 bytes
Whiskers <catwheezel@operamail.com> wrote: > > As a matter of academic interest, does that macro invoke mixmaster > before you compose your message, or afterwards? (I would expect > afterwards, unless mixmaster has its own editor). I believe slrn simply passes the raw original article to mixmaster, and mixmaster then launches the editor. The first clue is that when slrn normally launches emacs, emacs automatically goes into post-mode -- but in the case of mixmaster replies, it's text-mode that actually gets used. I also tried adding a "chain:" header field, which is only used internally by mixmaster, and the field did not get utilized (suggesting that mixmaster was already past the point where it makes input use of the header). Moreover, the temporary file that emacs loads for editing is in a mixmaster folder. Mixmaster apparently adds the quotes as well. I say this because mixmaster has a -p option for posting a new message and -ff for posting a followup. The only reason I could see these being two separate options is if mixmaster has some logic for adding quotes and references.
Re: [slrn] mixmaster integration
Author: Nomen Nescio
Date: Mon, 28 May 2012 13:30
Date: Mon, 28 May 2012 13:30
38 lines
1724 bytes
1724 bytes
REPOST
Subject: Using mixmaster with slrn! (repost for information)
Message-ID: <1529c4b96a20b185438f6b75a97116da@dizum.com>
Sometimes you may want to follow-up or reply anonymously to an article
you are reading in slrn. Here's how.
Put the code from [1] in "$HOME/.slrn/mixmaster.sl". Put the code
from [2] in "$HOME/.slrnrc".
[1]
define mixmaster_ff ()
{
pipe_article("mixmaster -ff");
}
definekey ("mixmaster_ff", "&", "article");
define mixmaster_fr ()
{
pipe_article("mixmaster -fr");
}
definekey ("mixmaster_fr", "\e&", "article");
[2]
interpret ".slrn/mixmaster.sl"
Now when you're in article mode, you can hit & to make an anonymous
follow-up or ESC-& to make an anonymous mail reply.
HTH!
Re: [slrn] mixmaster integration
Author: Nomen Nescio
Date: Mon, 28 May 2012 15:26
Date: Mon, 28 May 2012 15:26
42 lines
2211 bytes
2211 bytes
Fritz Wuehler <fritz@spamexpire-201205.rodent.frell.theremailer.net> wrote: > Whiskers <catwheezel@operamail.com> wrote: > > > > As a matter of academic interest, does that macro invoke mixmaster > > before you compose your message, or afterwards? (I would expect > > afterwards, unless mixmaster has its own editor). > > I believe slrn simply passes the raw original article to mixmaster, > and mixmaster then launches the editor. that's right > The first clue is that when slrn normally launches emacs, emacs > automatically goes into post-mode -- but in the case of mixmaster > replies, it's text-mode that actually gets used. I also tried adding > a "chain:" header field, which is only used internally by mixmaster, > and the field did not get utilized (suggesting that mixmaster was > already past the point where it makes input use of the header). > Moreover, the temporary file that emacs loads for editing is in a > mixmaster folder. Anyone know how to configure mixmaster to pass an option to emacs to use post-mode? > Mixmaster apparently adds the quotes as well. I say this because > mixmaster has a -p option for posting a new message and -ff for > posting a followup. The only reason I could see these being two > separate options is if mixmaster has some logic for adding quotes and > references. I think that's right.
[slrn] mixmaster integration *with emacs post-mode*
Author: Nomen Nescio
Date: Mon, 28 May 2012 21:27
Date: Mon, 28 May 2012 21:27
47 lines
2359 bytes
2359 bytes
> Anyone know how to configure mixmaster to pass
> an option to emacs to use post-mode?
It's not pretty, because mixmaster is hard-coded to strictly use the
EDITOR environment variable, and emacs cannot be told to enter
post-mode (the "-f post-mode" CLI option) and simultaneously be passed
a file. Emacs can be told to use a particular mode for a given file
extension, but you generally would not want all .txt files to invoke
post-mode. Also, mixmaster is hard-coded to use a .txt extension for
temporary filenames.
I came up with a bash wrapper script ("mm.sh") that solves all this:
mm.sh> #!/bin/bash
mm.sh>
mm.sh> typeset script_pathname=${0}
mm.sh>
mm.sh> case "$1" in
mm.sh> *txt)
mm.sh> tmp_fn="$1"
mm.sh>
mm.sh> emacs --eval '(progn (find-file "'$tmp_fn'")(post-mode))'
mm.sh> ;;
mm.sh> *)
mm.sh> original_editor=$EDITOR
mm.sh> EDITOR=$script_pathname
mm.sh> mixmaster $*
mm.sh> EDITOR=$original_editor
mm.sh> ;;
mm.sh> esac
The slrn config had to be changed to reference the above script instead:
mixmaster.sl> define mixmaster_ff ()
mixmaster.sl> {
mixmaster.sl> pipe_article("mm.sh -ff");
mixmaster.sl> }
mixmaster.sl>
mixmaster.sl> definekey ("mixmaster_ff", "&", "article");
mixmaster.sl>
mixmaster.sl> define mixmaster_fr ()
mixmaster.sl> {
mixmaster.sl> pipe_article("mm.sh -fr");
mixmaster.sl> }
mixmaster.sl>
mixmaster.sl> definekey ("mixmaster_fr", "\e&", "article");
Re: [slrn] mixmaster integration
Author: Fritz Wuehler
Date: Tue, 29 May 2012 01:15
Date: Tue, 29 May 2012 01:15
6 lines
1977 bytes
1977 bytes
> Anyone know how to configure mixmaster to pass > an option to emacs to use post-mode? What do you mean by post-mode? You can set edit hooks for a default mode. Mine is set to text fill. I am using Emacs and slrn and mixmaster.
Re: [slrn] mixmaster integration
Author: Mike Easter
Date: Tue, 29 May 2012 09:59
Date: Tue, 29 May 2012 09:59
20 lines
1785 bytes
1785 bytes
Whiskers wrote: > See Message-ID: <1529c4b96a20b185438f6b75a97116da@dizum.com> HK's HowardKnight's archive has a 'view for bookmarking' feature which makes a short link to a _permanent_ archive of the article. http://al.howardknight.net/msgid.cgi?ID=133806460300 View for Bookmarking (what is this?) - When you click on "View for Bookmarking", a short convenient URL is returned that will display the article in plain text. More importantly, the article will also be permanently archived at http://al.howardknight.net. -- Mike Easter
Re: [slrn] mixmaster integration
Author: Nomen Nescio
Date: Thu, 31 May 2012 02:40
Date: Thu, 31 May 2012 02:40
18 lines
2098 bytes
2098 bytes
> What do you mean by post-mode? You can set edit hooks for a default > mode. Mine is set to text fill. I am using Emacs and slrn and > mixmaster. Post mode is a major mode for email and usenet messages. See http://post-mode.sourceforge.net/. The debian package is "post-el". What sort of emacs hook do you use? I can only think of a hook based on the file extension, but I would not want all *.txt files to automatically invoke post-mode. Mixmaster is hard-coded to use a .txt extension. I exceptionally want post-mode to be used for slrn and mixmaster messages, and something that's sensible for plain text on all other text files. BTW, I had trouble replying to you because to crossposted, and for some reason having two newsgroups in the header messes up the hand-off to mixmaster.
Re: [slrn] mixmaster integration
Author: Kulin
Date: Thu, 31 May 2012 10:23
Date: Thu, 31 May 2012 10:23
37 lines
2450 bytes
2450 bytes
Nomen Nescio <nobody@dizum.com> wrote: > > What do you mean by post-mode? You can set edit hooks for a default > > mode. Mine is set to text fill. I am using Emacs and slrn and > > mixmaster. > > Post mode is a major mode for email and usenet messages. See > http://post-mode.sourceforge.net/. The debian package is "post-el". That is a new one on me but that means nothing. > What sort of emacs hook do you use? I can only think of a hook based > on the file extension, but I would not want all *.txt files to > automatically invoke post-mode. Right, in my case text fill is always appropriate even posting through Mixmaster. What does post mode offer you over text fill? > Mixmaster is hard-coded to use a .txt extension. I exceptionally want > post-mode to be used for slrn and mixmaster messages, and something that's > sensible for plain text on all other text files. I wonder if you could set the hook with some elisp code based on msg contents. > > BTW, I had trouble replying to you because to crossposted, and for > some reason having two newsgroups in the header messes up the hand-off > to mixmaster. That is strange. I didn't intentionally cross post so it must have been from the post I replied to. Also I have no trouble replying to cross posts from slrn>mix>emacs. Maybe this is a reason to avoid the post mode??? >
Re: [slrn] mixmaster integration
Author: Fritz Wuehler
Date: Fri, 01 Jun 2012 12:40
Date: Fri, 01 Jun 2012 12:40
26 lines
2407 bytes
2407 bytes
Kulin <remailer@reece.net.au> wrote: > > Right, in my case text fill is always appropriate even posting > through Mixmaster. What does post mode offer you over text fill? The colors are nice, there is a "post" menu and a "header" menu, to add headers, mess with quoting, etc. Nothing spectacular. I think it also recognizes more types and levels of quoting characters than just the ">", which is useful for wrapping (fill). > > BTW, I had trouble replying to you because to crossposted, and for > > some reason having two newsgroups in the header messes up the hand-off > > to mixmaster. > > That is strange. I didn't intentionally cross post so it must have been from > the post I replied to. Also I have no trouble replying to cross posts from > slrn>mix>emacs. Maybe this is a reason to avoid the post mode??? I was wrong about the cause. It was not the crossposting, but rather a large DKIM header and large "Comment:" header field. I posted a workaround, which involves having those headers stripped before sending to mixmaster. It seems strange you have never had a problem, because it's a mixmaster bug, not an emacs problem.
Re: [slrn] mixmaster integration
Author: Kulin
Date: Fri, 01 Jun 2012 15:49
Date: Fri, 01 Jun 2012 15:49
38 lines
2550 bytes
2550 bytes
Fritz Wuehler <fritz@spamexpire-201206.rodent.frell.theremailer.net> wrote: > Kulin <remailer@reece.net.au> wrote: > > > > Right, in my case text fill is always appropriate even posting > > through Mixmaster. What does post mode offer you over text fill? > > The colors are nice, there is a "post" menu and a "header" menu, to > add headers, mess with quoting, etc. Nothing spectacular. I think it > also recognizes more types and levels of quoting characters than just the ">", > which is useful for wrapping (fill). Seems like it is probably not worth it then unless you like writing elisp. > > > > BTW, I had trouble replying to you because to crossposted, and for > > > some reason having two newsgroups in the header messes up the hand-off > > > to mixmaster. > > > > That is strange. I didn't intentionally cross post so it must have been from > > the post I replied to. Also I have no trouble replying to cross posts from > > slrn>mix>emacs. Maybe this is a reason to avoid the post mode??? > > I was wrong about the cause. It was not the crossposting, but rather > a large DKIM header and large "Comment:" header field. I posted a > workaround, which involves having those headers stripped before > sending to mixmaster. > > It seems strange you have never had a problem, because it's a > mixmaster bug, not an emacs problem. I had the problem, I just didn't have it with crossposts. Thanks for explaining the cause, I already realized it was Mixmaster but I didn't know what Mixmaster didn't like about the posts. >
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