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 )
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 MathesonThose who can do.
Chinmin College
-folder 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
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.
--
Greg MathesonRather than do things right,
Chinmin College
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 right,
Chinmin College, Doing the right thing.
Taiwan
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 the code for this?
--
Greg Matheson
itor.
Like macro editor '\I' ~/slist/i/archive/latest
But you would still have to type in the attachment name. I use this to
get to folders not in my Mail directory, and which I don't want in my
mailbox screen. I try to make the directories and folders I use a lot
just one or two letters long.
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.
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, Taiwan
-folder?tabjumpenter1enter'
folder-hook =tn 'macro index h change-folder?tabjumpenter2enter'
--
Greg Matheson The Internet from time
Chinmin College, Taiwanto time claims this
[EMAIL PROTECTED] address
-new for example. And cycling through mailboxes on
change-folder.
--
Greg Matheson "Vent the pent:"
Chinmin College, Taiwan Samuel Beckett
[EMAIL PROTECTED]
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 do it to.
--
Greg Matheson
w 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]
exit
else
echo -n "next-entry" $HOME/.jay
fi
#$HOME/.jay contains strings of form next-entrynext-entry..
What advice do you have?
--
Greg Matheson "Vent the pent:"
Chinmin College, Taiwan Samuel Beckett
[EMAIL PROTECTED]
ynext-entrynext-entrynext-entrynext-entrynext-entrynext-entrynext-entrynext-entrynext-entry"
]
then
exit
else
echo -n "next-entry" $HOME/.jay
fi
and in .jayread:
#!/bin/sh
#writes 'next-entrynext-entry...' to macro definition
cat $HOME
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 that you can't (re-)ignore a header which
nts
#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 MathesonDoing things right is
Chinmin College, Taiwan doing the
ttrc 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#
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]
19 matches
Mail list logo