switching setups (was: defining a command)

2002-03-24 Thread Sven Guckes
* David T-G <[EMAIL PROTECTED]> [2002-03-22 12:45]: > macro pager ,@r13on "set display_filter=$HOME/local/bin/rot13;macro >pager \\cx ,@r13off 'Toggle ROT13 >decoding'\n" > macro pager ,@r13off "set display_filter=;macro pager \\cx ,@r13on >'Toggle ROT13 decoding'\n" > macro pager \cx ,@r13on

Re: defining a command -> internal langauge

2002-03-22 Thread Aaron Schrab
At 16:00 + 22 Mar 2002, Dave Pearson <[EMAIL PROTECTED]> wrote: > I've got a pretty clear memory of someone producing and maintain a patch > which enabled slang as a scripting language for mutt. I know it was > mentioned a good few times, either here or on the developers' mailing list. > > Am

Re: defining a command -> internal langauge

2002-03-22 Thread Thomas E. Dickey
On Fri, 22 Mar 2002, Dave Pearson wrote: > * Thomas E. Dickey <[EMAIL PROTECTED]> [2002-03-22 10:28:35 -0500]: > > > On Fri, 22 Mar 2002, Dave Pearson wrote: > > > > > I seem to remember that someone does/did maintain a patch that made mutt > > > programmable via slang. > > > > possibly - but I'v

Re: defining a command -> internal langauge

2002-03-22 Thread Dave Pearson
* Thomas E. Dickey <[EMAIL PROTECTED]> [2002-03-22 10:28:35 -0500]: > On Fri, 22 Mar 2002, Dave Pearson wrote: > > > I seem to remember that someone does/did maintain a patch that made mutt > > programmable via slang. > > possibly - but I've only seen it mentioned as a possibility that could be

Re: defining a command -> internal langauge

2002-03-22 Thread Thomas E. Dickey
On Fri, 22 Mar 2002, Thomas E. Dickey wrote: > > I seem to remember that someone does/did maintain a patch that made mutt > > programmable via slang. > > possibly - but I've only seen it mentioned as a possibility that could > be developed rather than an accomplished fact. speaking of which (sin

Re: defining a command -> internal langauge

2002-03-22 Thread Thomas E. Dickey
On Fri, 22 Mar 2002, Dave Pearson wrote: > * Sven Guckes <[EMAIL PROTECTED]> [2002-03-21 23:13:28 +0100]: > > > * Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-21 16:49]: > > > > > [SNIP scripting in mutt would be nice] > > > > [SNIP Sven swears in public] > > > > Sven [slang, anyone?] > > I seem

Re: defining a command -> internal langauge

2002-03-22 Thread Dave Pearson
* Sven Guckes <[EMAIL PROTECTED]> [2002-03-21 23:13:28 +0100]: > * Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-21 16:49]: > > > [SNIP scripting in mutt would be nice] > > [SNIP Sven swears in public] > > Sven [slang, anyone?] I seem to remember that someone does/did maintain a patch that made

Re: defining a command -> internal langauge

2002-03-22 Thread darren chamberlain
Quoting Nicolas Rachinsky <[EMAIL PROTECTED]> [Mar 22, 2002 06:20]: > * Cameron Simpson <[EMAIL PROTECTED]> [2002-03-22 12:24:10 +1100]: > > Someone has already mentioned his startup file being: > > > > source "shell-cmd |" > > > > Wouldn't: > > > > macro foo :source "shell-cmd|" > > >

Re: defining a command

2002-03-22 Thread David T-G
Rocco, et al -- ...and then Rocco Rutte said... % % Hi, Hello! % % On Thu, Mar 21, 2002 at 07:25:50:AM -0500 David T-G wrote: % > ...and then Rocco Rutte said... % > % % > % define '' ... % > (pager, index, compose, ...) to set the scope of the command, how are the % > two at all diff

Re: defining a command -> internal langauge

2002-03-22 Thread Nicolas Rachinsky
* Cameron Simpson <[EMAIL PROTECTED]> [2002-03-22 12:24:10 +1100]: > Someone has already mentioned his startup file being: > > source "shell-cmd |" > > Wouldn't: > > macro foo :source "shell-cmd|" > > be general enough to go most algorithmic things without bloating > mutt? The she

Re: defining a command

2002-03-21 Thread Rocco Rutte
Hi, On Thu, Mar 21, 2002 at 10:56:43:AM -0600 Jeremy Blosser wrote: > Anyway, this is probably just one more place where a real internal > scripting backend with variables and loops, etc., would be nice to have. Yepp. > Everyone knows it, but no one is up to the work yet it seems. ;) It would

Re: defining a command

2002-03-21 Thread Rocco Rutte
Hi, On Thu, Mar 21, 2002 at 07:25:50:AM -0500 David T-G wrote: > ...and then Rocco Rutte said... > % There's only one thing I really miss: I'd like to be abled to define my > % own commands. Something like: > % > % define '' > % define '' > % > % in my .muttrc to bind to keys instea

Re: defining a command -> internal langauge

2002-03-21 Thread Shawn McMahon
begin quoting what Michael Elkins said on Thu, Mar 21, 2002 at 02:25:46PM -0800: > This converstion comes up every once in a while and devolves into "my > programming language is better than yours" ultimately. Just put an INTERCAL interpreter in there. Or, better yet, befunge. Then you can say

Re: defining a command -> internal langauge

2002-03-21 Thread Michael Elkins
Sven Guckes wrote: > * Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-21 16:49]: > > Anyway, this is probably just one more place where a real internal > > scripting backend with variables and loops, etc., would be nice to have. > > Everyone knows it, but no one is up to the work yet it seems. ;) >

Re: defining a command -> internal langauge

2002-03-21 Thread Sven Guckes
* Jeremy Blosser <[EMAIL PROTECTED]> [2002-03-21 16:49]: > Anyway, this is probably just one more place where a real internal > scripting backend with variables and loops, etc., would be nice to have. > Everyone knows it, but no one is up to the work yet it seems. ;) LISP. There - I've said it.

Re: defining a command (was "Re: Filtering a message ...")

2002-03-21 Thread David T-G
Rocco -- ...and then Rocco Rutte said... % % Hi, Hello! % % On Wed, Mar 20, 2002 at 06:11:22:PM -0700 Steve Talley wrote: % % There's only one thing I really miss: I'd like to be abled to define my % own commands. Something like: % % define '' % define '' % % in my .muttrc to