nmh-workers
[Top] [All Lists]

exmh changing context (Was: Re: [Nmh-workers] preventing change of current folder with rcvstore?)

2009-08-18 12:47:51


In the message dated: Tue, 18 Aug 2009 12:10:05 EDT,
The pithy ruminations from Valdis(_dot_)Kletnieks(_at_)vt(_dot_)edu on 
<Re: [Nmh-workers] preventing change of current folder with rcvstore?> were:
=> --==_Exmh_1250611805_74514P
=> Content-Type: text/plain; charset=us-ascii
=> 
=> On Tue, 18 Aug 2009 11:33:51 EDT, bergman(_at_)merctech(_dot_)com said:
=> 
=> > Is there a way to use rcvstore to refile messages to a specified folder 
without 
=> > changing the default folder?
=> 
=> Umm.. run procmail with a different value of $MHCONTEXT so its folder changes
=> don't interfere with yours?

That's pointing me to the real issue....

I use exmh, and have the following in .mh_profile:

        context: .exmhcontext

It's actually exmh, not procmail, that has been changing the default folder.

Since exmh sets the MHCONTEXT variable internally, I don't need to set 
"context" in .mh_profile (which forces command-line tools to refer to the same 
context as exmh).

=> 
=> Potentially, you could use one $MHCONTEXT for procmail, and another one
=> for each window (  export MHCONTEXT=~/.mhcontext-`tty`   or similar) and then

Something like:

        export MHCONTEXT=~/Mail/.mhcontext-`tty|sed -e "s,.dev.,," -e "s,/,.,"`

=> even different windows won't interfere with each other...

I like that idea, and may use it later.

Thanks,

Mark


=> 
=> --==_Exmh_1250611805_74514P
=> Content-Type: application/pgp-signature
=> 
=> -----BEGIN PGP SIGNATURE-----
=> Version: GnuPG v1.4.9 (GNU/Linux)
=> Comment: Exmh version 2.5 07/13/2001
=> 
=> iD8DBQFKitJdcC3lWbTT17ARAuYlAJ9uUldwphdZ5DktUyuv1j/7OXJ2cwCePra+
=> 1CCjRpVPLufAm4knFYZCkuk=
=> =tGgd
=> -----END PGP SIGNATURE-----
=> 
=> --==_Exmh_1250611805_74514P--
=> 







_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
http://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>