I have this perl program to write folder hooks so I can return to
the same place in the mailboxes screen from the index screen,
instead of always to the first line:
#!/usr/bin/perl
use strict;
my @mailboxes = glob("Mail/*");
foreach my $mailbox ( @mailboxes )
m the
mailbox. "
I just found it and am excited about it. However, it is for
vim-6.0, which is still alpha, and if you compile vim with
multibyte, a non-ASCII marker placed in the index breaks it, at
least in my case. But you can munge this.
--
Greg Matheson
t be enough. The
3-level mailbox-index-pager classification also needs to be
extended at the top end.
--
Greg Matheson Learn a third language and
Chinmin College,be born again, again.
Taiwan
ot; to return to the previous folder on the
command, so perhaps you could use that in .muttrc,
like you can use "!" to set mailboxes.
--
Greg MathesonThere is nothing as good as a
Chinmin College, practical theory.
Taiwan --Kurt Lewin's practicality maxim corollary
folder and then read
it in my editor again.
I think the best answer of how to do this without opening a
second instance of mutt and cutting and pasting is to write some
function to do it in your editor, or use something like readmsg.
--
Greg MathesonRather than doing things righ
r !readmsg.pl Inbox 4
But the old elm readmsg had the capability of pattern searching,
as well.
Another approach would be to write a vim function. You would have
to divide up a mbox folder file on the basis of /^From / lines,
for example.
I have to investigate the perl Mail::Folder approach.
hole message
~h EXPR messages which contain EXPR in the message header
I had to use:
~e EXPR message which contains EXPR in the ``Sender'' field
I've forgotten what version this was. Could have been 0.95. How
difficult would it be to hack th
y to make the directories and folders I use a lot
just one or two letters long.
--
Greg Matheson Make a mistake
Chinmin College, Taiwan Try it, you'll like it
[EMAIL PROTECTED]
rather than create
symlinks or hard links in the shell for them!
--
Greg MathesonPractitioners talk about what
Chinmin College, Taiwan they do. Theorists talk about
[EMAIL PROTECTED] they haven't done.
ilbox screen to work through the new emails I get in
order. It gives me a rough idea of how much new email I have.
Another good thing to have would be numbers of mails like there
are in the index, but I am prepared to do without.
--
Greg Matheson Learn a third language
Chinmin College, Taiwanand be born again again
[EMAIL PROTECTED]
anyone know of a file manager like this with
menus I can use instead of doing it all on the command line?
Instead, the functions of the mailbox screen could then be
beefed up so they were more similar to those of the index. Things
like for example. And cycling through mailboxes on
.
--
Greg Ma
7;!' 'macro index h ?1'
folder-hook =tn 'macro index h ?2'
--
Greg Matheson The Internet from time
Chinmin College, Taiwanto time claims this
[EMAIL PROTECTED] address does not exist
that you do with
save-hooks when specifying the folder where the messages are to
be moved, so I think save-hooks are what you are looking for
here.
--
Greg MathesonLearn a second language
Chinmin College, Taiwan and be born again almost
[EMAIL PROTECTED]
you and the
> second just prompts you with a different folder to do it to.
Actually, an mbox-hook saves a whole lot of messages at once
(as distinct from a save-hook which only involves saving one message,
unless you are tagging a number of them). And an mbox-hook
doesn't do it without telling yo
oks, too. They only save mail
in a single mailbox. And why is the only the first matching pattern
used for mbox-hooks? The only difference I can see between a
mbox-hook and a save-hook is that the first does it without
telling you and the second just prompts you with a different
folder to
#x27;\n
I don't know why the :e exec is necessary, but it is working and
if I have just :exec it doesn't work. I couldn't get it working
with the angle bracket notation.
--
Greg Matheson Practitioners just do it. Reflective
Chinmin College, Taiwan practitioners just think they did it.
[EMAIL PROTECTED]
ool, so 32 are needed.
#There is something wrong with the test. I get an error message
#but it still seems to work.
touch $HOME/.jay
JAY=`cat $HOME/.jay`
if [ $JAY =
""
]
then
exit
else
echo -n "" >> $HOME/.jay
fi
#$HOME/.jay contains strings of form
view is being run
as a child of the mutt process, isn't it. Please correct my
knowledge of UNIX, if I am wrong.
--
Greg Matheson genius + soul = jazz
Chinmin College, Taiwan Mr_Bean on SchMOOze
[EMAIL PROTECTED] & telnet://health.acor.org#
to work.
> touch $HOME/.jay
> JAY=`cat $HOME/.jay`
> if [ $JAY =
>""
> ]
> then
> exit
> else
> echo -n "" >> $HOME/.jay
> fi
and in .jayread:
> #!/bin/sh
> #writes '...' to macro definition
On Thu, Jan 20, 2000 at 01:06:13PM +0200, Mikko Hänninen wrote:
> Greg Matheson <[EMAIL PROTECTED]> wrote on Thu, 20 Jan 2000:
> > I'm having a problem with folder hooks in which I have (un)ignore
> > commands for From_ headers.
> I remember reading somewhere
e
> ignore x-sender reply-to mail-followup-to in-reply-to comments
> #my list
> ignore x- date user-agent organi cc delivered-to approved-by
> ignore resent- > list- importance newsgroups errors-to followup-to
> ignore supersedes
>
--
Greg Matheson
ssage, 'Key is not bound. Press '?' for help,' even though the
macros work.
If I called a shell to write to the file, I got major screen flashing.
Now how do I cope with and and
accessing mailboxes with numbers?
--
Greg Matheson Think locally
Chinmin College, Taiwan Act globally
[EMAIL PROTECTED] Think one thing, do another
e directory browser
mailbox menu. Does anyone have any ideas what I'm doing wrong?
And how do these macros within macros work? I don't really
understand the details.
--
Greg Matheson Learn a second language
Chinmin College, Taiwan and be born again almost
[EMAIL PROTECTED]
m_ line, or something.
I rename the file I am editing to /tmp/mutt0 because this means
vim syntax highlighting will apply for it. You may need to use
another name, depending on your editor.
Last important point is you need to have, unset pipe_split in your
.muttrc, I think.
--
Greg Matheson
here is no looking at what is in
.muttrc again? That is the feel I got for it, anyway.
--
Greg Matheson genius + soul = jazz
Chinmin College, Taiwan Mr_Bean on SchMOOze
[EMAIL PROTECTED] & telnet://health.acor.org#
lets you
> compile unix source code under win32. then compile mutt with it.
Is this possible? Has anyone done this?
--
Greg Matheson genius + soul = jazz
Chinmin College, Taiwan Mr_Bean on SchMOOze
[EMAIL PROTECTED] & telnet://health.acor.org#
From: line for emails to that email+box
address.
The above send-hook works. I am just interested in the reason why
only one backslash didn't work.
--
Greg Matheson Make a mistake
Chinmin College, Taiwan Try it, you'll like it
[EMAIL PROTECTED]
27 matches
Mail list logo