On Fri, Jul 14, 2000 at 05:17:21PM +0200, Kai Blin wrote:
> On Sat, Jul 15, 2000 at 01:27:21AM +1200, Joe Abley wrote:
> > I have folder and spooldir set to an IMAP-type path, since I don't keep
> > any mail locally. This works very nicely (mmm, 1.2.4i good) except that
> > if I try to add a local attachment to a message I'm composing, mutt
> > looks for the file on the IMAP server rather than looking on the local
> > filesystem.
>
> Mine isn't. See later.
>
> > # imap
> > set imap_user="jabley"
> > set folder={maggie.automagic.org}INBOX
>
> Mine's set folder = ~/Mail
>
> > set spoolfile={maggie.automagic.org}INBOX
> > mailboxes {maggie.automagic.org}INBOX
>
> Since I'm using IMAP, too, this doesn't seem to pose a problem. Of course I
> don't store my mail on the server where I have a quota. :)
I never keep mail locally. I read mail from the imap server from about
a hundred different places, and I need to keep everything central.
Anything stored locally is effectively lost :)
> Perhaps you could change your $folder variable if you want to send an
> attachment.
Aaah, I see. So here's the thing:
1. I want folder={maggie.automagic.org}INBOX when I do a "c" to change
folders;
2. I want folder=~ when I do an "a" to add an attachment to a message.
I had a brief moment of clarity and tried this:
macro index c ":set folder={maggie.automagic.org}INBOX^M:change-folder^M"
macro index <esc>c ":set folder={maggie.automagic.org}INBOX^M:change-folder-readonly^M"
macro compose a ":set folder=~^M:attach-file"
but it doesn't seem to work (:change-folder isn't something that mutt
seems to understand). Anybody give me a hand?
Thanks :)
Joe