Article View: gnu.emacs.bug
Article #100110mh-path setting in paths.el not flexible enough
From: Stephen Gildea
Date: Wed, 08 Nov 1989 17:32
Date: Wed, 08 Nov 1989 17:32
44 lines
2101 bytes
2101 bytes
In paths.el, Emacs checks several possibilities trying to figure out
where the MH programs are. It should check /usr/local/bin/ as well.
The test should be whether the directories are really directories, not
just whether they exist.
< Stephen
diff -t -c2 paths.el-18.55 paths.el
*** paths.el-18.55 Sun Apr 2 00:25:24 1989
--- paths.el Tue Nov 7 20:38:26 1989
***************
*** 39,52 ****
(defvar mh-progs
! (cond ((file-exists-p "/usr/new/mh") "/usr/new/mh/")
! ((file-exists-p "/usr/local/bin/mh") "/usr/local/bin/mh/")
! (t "/usr/local/mh/"))
! "Directory containing MH commands")
(defvar mh-lib
! (cond ((file-exists-p "/usr/new/lib/mh") "/usr/new/lib/mh/")
! ((file-exists-p "/usr/local/lib/mh") "/usr/local/lib/mh/")
(t "/usr/local/bin/mh/"))
! "Directory of MH library")
(defconst rmail-file-name "~/RMAIL"
--- 39,53 ----
(defvar mh-progs
! (cond ((file-directory-p "/usr/new/mh/") "/usr/new/mh/")
! ((file-directory-p "/usr/local/bin/mh/") "/usr/local/bin/mh/")
! ((file-directory-p "/usr/local/mh/") "/usr/local/mh/")
! (t "/usr/local/bin/"))
! "Directory containing MH commands.")
(defvar mh-lib
! (cond ((file-directory-p "/usr/new/lib/mh/") "/usr/new/lib/mh/")
! ((file-directory-p "/usr/local/lib/mh/") "/usr/local/lib/mh/")
(t "/usr/local/bin/mh/"))
! "Directory of MH library.")
(defconst rmail-file-name "~/RMAIL"
Technical Details
Message-ID:
<8911081732.AA00356@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ALEXANDER.BBN.COM!gildeaShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,3c64650f6866fe7d,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1989-11-08 14:32:16 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!ALEXANDER.BBN.COM!gildea From: gildea@ALEXANDER.BBN.COM (Stephen Gildea) Newsgroups: gnu.emacs.bug Subject: mh-path setting in paths.el not flexible enough Message-ID: <8911081732.AA00356@life.ai.mit.edu> Date: 8 Nov 89 17:32:28 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 44 Posted: Wed Nov 8 18:32:28 1989