[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Questionable code - the bigger picture
From: |
Jeffrey C Honig |
Subject: |
Re: [Nmh-workers] Questionable code - the bigger picture |
Date: |
Sat, 14 May 2005 20:40:15 -0400 |
Norman Shapiro <address@hidden> wrote:
> Jon Steinhart <address@hidden> writes:
> of changes are worthwhile. Can we agree on some way to work this?
> >
> >Oh, just for discussion, here's another change that I'd like to make. I need
> >to make some changes in the way the context/profile stuff is handled.
> >Without
> >going into a lot of detail here, I'm adding a -nochangecontext option to many
> >of the programs so that you can, for example, show +newfolder without
> >changing
> >the current folder.
>
> I accomplish a similar functionality with an sh function for use in scripts:
>
> newmh ()
> {
> local oldContext="${MHCONTEXT-context}";
> local path=`mhpath +`;
> export MHCONTEXT=,"$oldContext.$$";
> cp "$path/$oldContext" "$path/$MHCONTEXT"
> }
Even easier is:
export MH_CONTEXT=/dev/null
This will not work with the default dot-locking authentication because
of a bug (it tries to create /dev/null.lck or something like that), but
if you turn on real locking it works fine.
Thanks.
Jeff
--
Jeffrey C. Honig <address@hidden>
http://www.honig.net/jch
GnuPG ID:14E29E13 <http://www.honig.net/jch/key.shtml>
- [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Jon Steinhart, 2005/05/13
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Neil W Rickert, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Jon Steinhart, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Neil W Rickert, 2005/05/14
- Re: [Nmh-workers] Questionable code in m_chkids() in sbr/context_save.c, Josh Bressers, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Jon Steinhart, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Michael Richardson, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Norman Shapiro, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture, Valdis . Kletnieks, 2005/05/14
- Re: [Nmh-workers] Questionable code - the bigger picture,
Jeffrey C Honig <=
- Re: [Nmh-workers] Questionable code - the bigger picture, Josh Bressers, 2005/05/15
- Re: [Nmh-workers] Questionable code - the bigger picture, Jon Steinhart, 2005/05/17
- Re: [Nmh-workers] Questionable code - the bigger picture, Josh Bressers, 2005/05/17
- Re: [Nmh-workers] Questionable code - the bigger picture, Jon Steinhart, 2005/05/17
- Re: [Nmh-workers] Questionable code - the bigger picture, Josh Bressers, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Mike O'Dell, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Nathan Bailey, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Mike O'Dell, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Nathan Bailey, 2005/05/18
- Re: [Nmh-workers] Questionable code - the bigger picture, Oliver Kiddle, 2005/05/19