Joe Brenner | 12 Sep 2010 03:55
Picon
Favicon

gnu mailutils: mh-show-msg: Wrong type argument: consp, nil


I'm experimenting with switching to the gnu mailutils version of mh
from nmh.  Things are more or less working, but I'm continually getting
the error/warning:

  mh-show-msg: Wrong type argument: consp, nil

Re-starting emacs with --debug-init is no help.  I tried stepping
through mh-show-msg with edebug, but that code interferes with edebug
in some way.

Any ideas what's going on?

mh-version reports:

MH-E 8.2

MH-E compilation details:
 Byte compiled:		yes
 Gnus (compile-time):	Gnus v5.13
 Gnus (run-time):	Gnus v5.13

GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
 of 2010-07-01 on fineline

nmh 1.2
 mh-progs:	/usr/bin/mu-mh
 mh-lib:	/usr/share/mailutils/mh
 mh-lib-progs:	/usr/bin/mu-mh

(Continue reading)

Joe Brenner | 12 Sep 2010 05:34
Picon
Favicon

Re: gnu mailutils: mh-show-msg: Wrong type argument: consp, nil


[Note: added bug-mailutils-request <at> gnu.org to cc]

Joe Brenner <doom <at> kzsu.stanford.edu> wrote:

> I'm experimenting with switching to the gnu mailutils version of mh
> from nmh.  Things are more or less working, but I'm continually getting
> the error/warning:
>
>   mh-show-msg: Wrong type argument: consp, nil
>
> Re-starting emacs with --debug-init is no help.  I tried stepping
> through mh-show-msg with edebug, but that code interferes with edebug
> in some way.

Okay, working with a munged version of mh-show-msg, I was able to step
through the code a little farther using edebug (The hang-up was the
mh-in-show-buffer macro... I yanked it out, and replaced it with a
switch-to-buffer for now.)

It looks to me like that problem is somewhere inside of

  mh-update-sequences

BUT: I just noticed a far worse problem.  I can't change folders.
If I try to do an mh-visit-folder, I get the complaint:

  mh-folder-size-flist:
    Searching for program:
    no such file or directory, /usr/bin/mu-mh/flist
(Continue reading)

Bill Wohler | 12 Sep 2010 08:36
Picon
Picon
Gravatar

Re: gnu mailutils: mh-show-msg: Wrong type argument: consp, nil

Joe Brenner <doom <at> kzsu.stanford.edu> wrote:

> I'm experimenting with switching to the gnu mailutils version of mh
> from nmh.

Great!

>            Things are more or less working, but I'm continually getting
> the error/warning:
> 
>   mh-show-msg: Wrong type argument: consp, nil
> 
> Re-starting emacs with --debug-init is no help.  I tried stepping
> through mh-show-msg with edebug, but that code interferes with edebug
> in some way.
> 
> Any ideas what's going on?
> 
> mh-version reports:
> 
> MH-E 8.2
> 
> MH-E compilation details:
>  Byte compiled:		yes
>  Gnus (compile-time):	Gnus v5.13
>  Gnus (run-time):	Gnus v5.13
> 
> GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
>  of 2010-07-01 on fineline
> 
(Continue reading)

covici | 12 Sep 2010 10:09

mail-utils vs nmh

What are the advantages and/or disadvantages in converting to mail-utils
VS nmh?  In gentoo, unless I take some strange precautions, they are
deleting the ebuild of nmh because of some maintainance problems, so if
I uninstall nmh, will it destroy anything I need, or do I need to change
anything to convert?

Thanks.

--

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

         John Covici
         covici <at> ccs.covici.com

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
Bill Wohler | 12 Sep 2010 17:56
Picon
Picon
Gravatar

Re: mail-utils vs nmh

covici <at> ccs.covici.com wrote:

> What are the advantages and/or disadvantages in converting to mail-utils
> VS nmh?  In gentoo, unless I take some strange precautions, they are
> deleting the ebuild of nmh because of some maintainance problems, so if
> I uninstall nmh, will it destroy anything I need, or do I need to change
> anything to convert?

You could always try it! :-) Wish I had time to do so :-(.

My understanding is that they are largely similar and you should be able
to just delete nmh and install GNU mailutils. The only advantage that
GNU mailutils has that I know of is that it supports IMAP. The GNU
mailutils documentation should provide more.

I hope that Darel and Joe can share their stories.

--

-- 
Bill Wohler <wohler <at> newt.com> aka <Bill.Wohler <at> nasa.gov>
http://www.newt.com/wohler/
GnuPG ID:610BD9AD

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing
http://p.sf.net/sfu/novell-sfdev2dev
Joe Brenner | 12 Sep 2010 20:33
Picon
Favicon

Re: gnu mailutils: mh-show-msg: Wrong type argument: consp, nil


Bill Wohler <wohler <at> newt.com> wrote:
> Joe Brenner <doom <at> kzsu.stanford.edu> wrote:

> > I'm experimenting with switching to the gnu mailutils version of mh
> > from nmh.
>
> Great!

Yes, sometime in the near future I thought I might play with it's
IMAP support... but now I'm feeling like I've spent enough time
breaking things already.

> > Things are more or less working, but I'm continually getting
> > the error/warning:
> >
> >   mh-show-msg: Wrong type argument: consp, nil

> > mh-version reports:
> >
> > MH-E 8.2
> >
> > MH-E compilation details:
> >  Byte compiled:		yes
> >  Gnus (compile-time):	Gnus v5.13
> >  Gnus (run-time):	Gnus v5.13
> >
> > GNU Emacs 24.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.16.1)
> >  of 2010-07-01 on fineline
> >
(Continue reading)

Joe Brenner | 12 Sep 2010 23:10
Picon
Favicon

Re: gnu mailutils: mh-show-msg: Wrong type argument: consp, nil


Joe Brenner <doom <at> kzsu.stanford.edu> wrote:
> Bill Wohler <wohler <at> newt.com> wrote:
> > Joe Brenner <doom <at> kzsu.stanford.edu> wrote:

> > > I'm experimenting with switching to the gnu mailutils version of mh
> > > from nmh.
> >
> > Great!
>
> Yes, sometime in the near future I thought I might play with its
> IMAP support... but now I'm feeling like I've spent enough time
> breaking things already.

[...]

> > I'm guessing you hacked the variables mh-progs, mh-lib, and mh-lib-progs
> > rather than running M-x customize-option RET mh-variant RET and setting
> > the variable to the gnu-mh choice.
>
> Yes, correct.  I was just wondering this morning if that might have
> something to do with it.
>
> I've been using mh-rmail (as I used to call it) for a couple of decades,
> and I *still* don't understand why there's supposed to be something Bad
> and Wrong about just doing this:
>
>     (setq mh-progs "/usr/bin/mu-mh")
>     (setq mh-lib "/usr/share/mailutils/mh")
>     (setq mh-comp-formfile "/usr/lib/mh/components")
(Continue reading)

Joe Brenner | 13 Sep 2010 02:12
Picon
Favicon

Re: gnu mailutils: mh-show-msg: Wrong type argument: consp, nil

Joe Brenner <doom <at> kzsu.stanford.edu> wrote:

>
> Joe Brenner <doom <at> kzsu.stanford.edu> wrote:
> > Bill Wohler <wohler <at> newt.com> wrote:
> > > Joe Brenner <doom <at> kzsu.stanford.edu> wrote:
>
> > > > I'm experimenting with switching to the gnu mailutils version of mh
> > > > from nmh.
> > >
> > > Great!
> >
> > Yes, sometime in the near future I thought I might play with its
> > IMAP support... but now I'm feeling like I've spent enough time
> > breaking things already.
>
> [...]
>
> > > I'm guessing you hacked the variables mh-progs, mh-lib, and mh-lib-progs
> > > rather than running M-x customize-option RET mh-variant RET and setting
> > > the variable to the gnu-mh choice.
> >
> > Yes, correct.  I was just wondering this morning if that might have
> > something to do with it.
> >
> > I've been using mh-rmail (as I used to call it) for a couple of decades,
> > and I *still* don't understand why there's supposed to be something Bad
> > and Wrong about just doing this:
> >
> >     (setq mh-progs "/usr/bin/mu-mh")
(Continue reading)

dhenman | 13 Sep 2010 04:54
Picon

Re: mail-utils vs nmh


You don't have to uninstall nmh to use Gnu MH. 
You can have (so it is written) both MH suites on your machine.  
But, you have to use emacs' MH-E customization to set the mh-variant variable.
If you don't set this variable and have two different MH program suites, then
MH-E will default to using nmh. 

You can set it to either nmh or gnu-mh (not sure of current spelling). 
Then you can, in principle, switch to using either one, by using the customization functionality.  So you
can give either a test run using this customization variable.

nmh does have a show program that operates from the command line that gnu mh doesn't,
but, gnu-mh was written (I recall) to work essentially with emacs and provide all the 
functionality that the MH-E package required.

I have not used nmh so can't comment on one being any better that the other.
But, since I use gnu-mh, I'd selfishly recommend it, because the more people using it,
the better it will become, and more robust and polished.  The imap functionality might be a decisive factor
if you need it for some mail activities.

Regards,
  Darel

-------------------------------- REF
Bill Wohler <wohler <at> newt.com> wrote:

> covici <at> ccs.covici.com wrote:
> 
> > What are the advantages and/or disadvantages in converting to mail-utils
> > VS nmh?  In gentoo, unless I take some strange precautions, they are
(Continue reading)

Bill Wohler | 13 Sep 2010 07:37
Picon
Picon
Gravatar

Re: gnu mailutils: mh-show-msg: Wrong type argument: consp, nil

Joe Brenner <doom <at> kzsu.stanford.edu> wrote:

> Joe Brenner <doom <at> kzsu.stanford.edu> wrote:
> Nothing at all like this works:
> 
>   (setq mh-variant "gnu-mh")

This does nothing. The customization interface runs initialization code
that setq does not.

Please try M-x customize-option RET mh-variant RET <select gnu-mh> and
your life will be much improved.

>   (setq mh-path '("/usr/bin/mu-mh"))
> 
> I *have* to do this:
> 
>   sudo mv /usr/bin/mh /usr/bin/HIDDEN-mh
> 
> Once nmh is hidden away, then it doesn't matter what mh-variant or
> mh-path settings I have, then MH-E's whizzy automatic features take
> over, and it at last finds the Gnu mailutils version of mh.

Yes.

> I do believe that this is an actual bug:
> mh-variant and mh-path do not behave as documented.

Actually, they do. The problem is that you're not using them as
documented (see below).
(Continue reading)


Gmane