Menu

#13 mh-nmh-p assumes path is different

mh-e-6.0
closed-fixed
None
5
2013-02-23
2001-07-16
No

In mh-utils.el, the variable mh-nmh-p (t when nmh is in
use rather than MH) assumes that the string "nmh" will
be in mh-lib-progs or mh-lib.

At on Debian systems, nmh files are installed under
/usr/lib/mh/ so this check fails. Perhaps we should
check for something else?
There are several files found on one and not the other
that we could test for.

Peter

Discussion

  • Bill Wohler

    Bill Wohler - 2001-07-17

    Logged In: YES
    user_id=93690

    Right. How about:

    (setq mh-nmh-p (file-exists-p (concat mh-progs "/"
    "mhbuild")))

    ? Alternates include mhshow and mhstore, but mhbuild feels
    more primordial to me.

     
  • Peter S Galbraith

    Logged In: YES
    user_id=31877

    > Right. How about:
    >
    > (setq mh-nmh-p (file-exists-p (concat mh-progs "/"
    "mhbuild")))

    Considering I was going to use mh-nmh-p to determine whether
    to use mhbuild or not, this is an excellent choice!

    Peter

     
  • Peter S Galbraith

    Logged In: YES
    user_id=31877

    Closed in CVS version.

    Peter

     
  • Peter S Galbraith

    • status: open --> closed-fixed
     
  • Bill Wohler

    Bill Wohler - 2001-12-16
    • milestone: 102380 --> mh-e-6.0
     
  • Bill Wohler

    Bill Wohler - 2003-04-09
    • assigned_to: nobody --> psg
     
  • Bill Wohler

    Bill Wohler - 2013-02-23
    • labels: General -->
     

Log in to post a comment.

MongoDB Logo MongoDB