David A. Panariti | 3 Jan 19:06 2003
Picon

[mew-int 01233] mew-real-send-hook isn't

mew-real-send-hook is called from draft mode when using
mew-draft-send-message even if you choose 'n' to the 
"Really send this message" prompt.
(prompting requires mew-ask-send be non-nil)
So it is called even when the message isn't really sent.

I have a need to know when the message is *REALLY* sent.

I can think of three solutions:
1) call mew-real-send-hook only if the message is actually sent.
   This is what the name implies, but changing this may break people's
   existing code in non-obvious ways.
2) Yet another hook: e.g. mew-real-REAL-send-hook :-(
3) Add a flag to the hook.  This will break existing code, but it will be
   obvious as a lisp error.
   This flag is t if really,REALLY sent, nil otherwise.

thanks,
davep

Michael Weisman | 8 Jan 04:01 2003
Picon

[mew-int 01234] Mew 3.1 on Mac OS X

I have been using Mew at home on my Linux machine but recently got a
Macintosh computer at work.  I have installed Mew 3.1 there but am
having a problem getting it to work well on the Mac (with Emacs
21.3.50).  I believe the paths are not being set or are not seen.

When trying to goto another folder, for example, +backup, the error
message shown is "Could not find 'mewls'."

I would appreciate any help on this, I'd be disappointed if I'd have
to use the Netscape mailer ...

Thanks,
mjw

Kazu Yamamoto | 8 Jan 05:13 2003
Picon

[mew-int 01235] Re: Mew 3.1 on Mac OS X

From: Michael Weisman <mjweisman <at> bigfoot.com>
Subject: [mew-int 01234] Mew 3.1 on Mac OS X

> When trying to goto another folder, for example, +backup, the error
> message shown is "Could not find 'mewls'."

The easiest way is add the path of mewls to 'exec-path' in .emacs.

e.g.

	(setq exec-path (cons "/path/to/mewls" exec-path))

--Kazu

Serge Basterot | 8 Jan 01:12 2003
Picon

[mew-int 01236] Re: Mew 3.1 on Mac OS X

From: Michael Weisman <mjweisman <at> bigfoot.com>
Subject: [mew-int 01234] Mew 3.1 on Mac OS X
Date: Tue, 07 Jan 2003 22:01:39 -0500 (EST)

> I have been using Mew at home on my Linux machine but recently got a
> Macintosh computer at work.  I have installed Mew 3.1 there but am
> having a problem getting it to work well on the Mac (with Emacs
> 21.3.50).  I believe the paths are not being set or are not seen.

The setenv command in tcsh terminal will show the PATH. 

--
Serge

Michael Weisman | 9 Jan 05:03 2003
Picon

[mew-int 01237] Re: Mew 3.1 on Mac OS X

Kazu and Serge,  

Thank you for your help.  I put this line in my .emacs file.  Now, Mew
can find the path to the directories, but what is displayed is a blank
page, not a listing of the files in the directory of interest.

Any ideas?

Thanks,
Mike

  > > > When trying to goto another folder, for example, +backup,
the error > > message shown is "Could not find 'mewls'."  > > The
easiest way is add the path of mewls to 'exec-path' in .emacs.  > >
e.g.  > > (setq exec-path (cons "/path/to/mewls" exec-path)) > >
--Kazu

Kazu Yamamoto | 9 Jan 08:38 2003
Picon

[mew-int 01238] Re: mew-real-send-hook isn't

Hello,

From: "David A. Panariti" <davep.mew <at> meduseld.net>
Subject: [mew-int 01233] mew-real-send-hook isn't

> I have a need to know when the message is *REALLY* sent.
> 
> I can think of three solutions:
> 1) call mew-real-send-hook only if the message is actually sent.
>    This is what the name implies, but changing this may break people's
>    existing code in non-obvious ways.

This is a bug and 1) is a right solution. Since you are using Mew 2.2,
I made a patch for Mew 2.2. Please test it. 

If you like this, I will merge it to the tree of Mew 3.

--Kazu

Index: mew-draft.el
===================================================================
RCS file: /cvsroot/mew/mew/mew-draft.el,v
retrieving revision 1.41.2.8
diff -c -r1.41.2.8 mew-draft.el
*** mew-draft.el	2002/02/21 02:58:39	1.41.2.8
--- mew-draft.el	2003/01/09 07:35:32
***************
*** 869,880 ****
  		    (mew-smtp-queue pnm "from Draft mode"))
  		   ((eq action 'send)
(Continue reading)

David A. Panariti | 9 Jan 18:00 2003
Picon

[mew-int 01239] Re: mew-real-send-hook isn't

Hi,

Thanks very much for the patch.
It works fine under 2.2
I am now taking the time to migrate to mew 3.1
I have a ton of hooks and specialized code, so I've been putting it off, but
it looks like the migration is going smoothly.
If you send me the patch for 3.1 I'll be glad to test it.

thanks again,

davep

PS: Do you wish to be cc'd at <kazu <at> iijlab.net>?

--
Natives who beat drums to drive off evil spirits are objects of
scorn to smart Americans who blow horns to break up traffic jams.
		-- Mary Ellen Kelly

Kazu Yamamoto | 10 Jan 02:46 2003
Picon

[mew-int 01240] Re: mew-real-send-hook isn't

From: "David A. Panariti" <davep.mew <at> meduseld.net>
Subject: [mew-int 01239] Re: mew-real-send-hook isn't

> I have a ton of hooks and specialized code, so I've been putting it off, but
> it looks like the migration is going smoothly.
> If you send me the patch for 3.1 I'll be glad to test it.

The same code is merged to the anon cvs tree and will appear as Mew
3.1.51.

> PS: Do you wish to be cc'd at <kazu <at> iijlab.net>?

No.

--Kazu

Chris Beggy | 10 Jan 17:35 2003

[mew-int 01241] creating a folder from an existing mh directory

How can I create a mew folder from an existing mh directory that
I move into the ~/Mail directory.

Should I edit the active file?

Thanks.

Chris

Kazu Yamamoto | 11 Jan 01:32 2003
Picon

[mew-int 01242] Re: creating a folder from an existing mh directory

From: Chris Beggy <chrisb <at> kippona.com>
Subject: [mew-int 01241] creating a folder from an existing mh directory

> How can I create a mew folder from an existing mh directory that
> I move into the ~/Mail directory.

Type "1Z".

--Kazu


Gmane