On Saturday, 14 August 1999 at 13:26, Brendan Cully wrote:
> On Friday, 13 August 1999 at 15:03, Brendan Cully wrote:
> > I'll take a look at this this weekend. My understanding of the problem: you
> > cannot create message attachments from an IMAP folder. I'm sorry I didn't
> > catch the original post - I've been on vacation.
> > 
> > -Brendan
> 
> Alright, I found the bug (line 653 in compose.c, at least in CVS). The
> fix will be somewhat along the lines of the postponed-messages folder
> hack: close the current folder without expunge, open the new folder to
> select the messages, when done close it and open the original folder
> read-only.
> 
> I'd really like to support a user-configurable number of concurrent
> connections to the same IMAP server, but that's for a later version. I
> want to get IMAP support reasonably complete and stable first.

well, I've decided that I'm not really happy with the postpone-message
hack and don't really want to use it in other places. But until I come
up with a nice way of dealing with multiple connections to the same
server, I've attached a 3 line patch to get things working. Mutt will
open a new connection to the server to get your attachable messages.

This is against mutt-cvs (unstable).

-Brendan

> > ----- Original Message -----
> > From: Robert Chien <[EMAIL PROTECTED]>
> > To: mutt users <[EMAIL PROTECTED]>
> > Sent: Friday, August 13, 1999 2:53 PM
> > Subject: Re: possible imap bug?
> > 
> > 
> > > I haven't heard from anyone yet, so I'm resending this:
> > >
> > > ---------------------------------------------------------------------
> > > On Sat, Aug 07, 1999 at 12:00:12AM +0200, Gero Treuner wrote:
> > > > Hi!
> > > >
> > > > On Fri, Aug 06, 1999 at 02:50:11PM -0700, Robert Chien wrote:
> > > > > If I save it to a file, then attach that file, it sort of
> > > > > works but takes a lot of time, esp. if I'm attaching 3+
> > > > > emails. Would be nice if I can presss <a>, and choose files
> > > > > or emails to attach. This is my wish list item.
> > > >
> > > > Almost your wish, just add the shift key to press "A".
> > > > It's in the online help as well as in the manual.
> > >
> > > You guys are awesome! I did looked at help, but searched for the wrong
> > > keyword "forward" and of course didn't see the "A" option.
> > >
> > > However, now I've found an interesting "bug": if I type "A", it asks
> > > for "Open mailbox to attach message from ('?' for list):". But it won't
> > > open my IMAP inbox. If I enter {imapserver}inbox, it returns an error:
> > >
> > > {imapserver}inbox: No such file or directory (errno = 2)
> > >
> > > Normal folders work just fine. Can other IMAP users verify this please?
> > >
> > > --
> > > Robert
> > >
> > > Mutt 0.96.3i (1999-06-03)
> > > Copyright (C) 1996-9 Michael R. Elkins and others.
> > > Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
> > > Mutt is free software, and you are welcome to redistribute it
> > > under certain conditions; type `mutt -vv' for details.
> > >
> > > System: SunOS 5.8
> > > Compile options:
> > > -DOMAIN
> > > -HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
> > > +USE_IMAP  -USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX
> > +HAVE_COLOR  -BUFFY_SIZE
> > > -EXACT_ADDRESS  +ENABLE_NLS
> > > SENDMAIL="/usr/lib/sendmail"
> > > MAILPATH="/var/mail"
> > > SHAREDIR="/usr/local/share/mutt"
> > > SYSCONFDIR="/usr/local/etc"
> > > -ISPELL
> > > To contact the developers, please mail to <[EMAIL PROTECTED]>.
> > >
> 
> -- 
> Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ
> "I hope I don't win                |          .-_|\ 
>  The rules say to bring a friend   |         /     \
>  I don't have any"                 | Perth ->*.--._/

-- 
Brendan Cully <[EMAIL PROTECTED]> | OLD SKOOL ROOLZ
"I hope I don't win                |          .-_|\ 
 The rules say to bring a friend   |         /     \
 I don't have any"                 | Perth ->*.--._/
Index: compose.c
===================================================================
RCS file: /home/roessler/cvs/mutt/compose.c,v
retrieving revision 2.18
diff -u -p -r2.18 compose.c
--- compose.c   1999/07/21 07:23:34     2.18
+++ compose.c   1999/08/15 18:55:26
@@ -649,6 +649,9 @@ int mutt_compose_menu (HEADER *msg,   /*
            break;
 
          mutt_expand_path (fname, sizeof (fname));
+#ifdef USE_IMAP
+          if (!mx_is_imap (fname))
+#endif
          /* check to make sure the file exists and is readable */
          if (access (fname, R_OK) == -1)
          {

Reply via email to