home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / lang / lisp / 2426 < prev    next >
Encoding:
Text File  |  1992-09-14  |  1.2 KB  |  30 lines

  1. Newsgroups: comp.lang.lisp
  2. Path: sparky!uunet!elroy.jpl.nasa.gov!ufo!Aig.Jpl.Nasa.Gov!charest
  3. From: charest@Aig.Jpl.Nasa.Gov (Len Charest)
  4. Subject: Re: changing the pathname type
  5. Message-ID: <1992Sep14.184004.22545@jpl-devvax.jpl.nasa.gov>
  6. Followup-To: comp.lang.lisp
  7. Sender: usenet@jpl-devvax.jpl.nasa.gov (For NNTP so rrn will be able to post)
  8. Nntp-Posting-Host: ai-cyclops
  9. Reply-To: charest@aig.jpl.nasa.gov
  10. Organization: NASA/Jet Propulsion Laboratory
  11. References:  <HALTRAET.92Sep14091247@monsun.si.no>
  12. Date: Mon, 14 Sep 1992 18:40:04 GMT
  13. Lines: 15
  14.  
  15. In article <HALTRAET.92Sep14091247@monsun.si.no>, haltraet@monsun.si.no (Hallvard Tr{tteberg) writes:
  16. |> I would like to change the filetype of a pathname (e.g. to nil
  17. |> (unspecified) or .lisp).... 
  18. |> I cannot use (merge-pathnames <filename> ".lisp") since this
  19. |> will only "change" the pathname-type if it is nil (unspecified)
  20.  
  21. (make-pathname :defaults <filename>
  22.                :type ".lisp")
  23.  
  24. (make-pathname :defaults <filename>
  25.                :type nil)
  26. ..................................................
  27.                                   Len Charest, Jr.
  28.                  JPL Artificial Intelligence Group
  29.                           charest@aig.jpl.nasa.gov
  30.