home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / gnu / emacs / help / 3818 next >
Encoding:
Text File  |  1992-08-23  |  1.2 KB  |  40 lines

  1. Path: sparky!uunet!channel1![rick.sheridan@channel1.com]
  2. From: "rick sheridan" <rick.sheridan@channel1.com>
  3. Newsgroups: gnu.emacs.help
  4. Subject: convert dos filename
  5. Message-ID: <199223.1277.2586@channel1>
  6. Date: 23 Aug 92 21:19:28 EST
  7. Reply-To: "rick sheridan" <rick.sheridan@channel1.com>
  8. Distribution: gnu
  9. Organization: Channel 1 Communications
  10. Lines: 28
  11.  
  12. I'm using Demacs and am looking for a short elisp routine that will
  13. convert a DOS filename from the form
  14.  
  15.         c:\program\test\pgm1.cpp
  16.  
  17. to the form
  18.  
  19.         c:/program/test/pgm1.cpp
  20.  
  21. In other words, replace `\' with `/'.  This is probably pretty simple
  22. but I'm learning elisp as I'm trying to modify the .el file.  I have the
  23. routine to grab the filename, but must convert it before returning it to
  24. the calling function.
  25.  
  26. I can't do ftp so can't look in any standard elisp archives.
  27.  
  28. TIA
  29.  
  30. --Rick.
  31. -----------------------------------------------------------------------
  32. This would be a standard disclaimer if there were anything to disclaim.
  33. Rick.Sheridan@channel1.com                Entered Aug 23,92 at 20:05:23
  34. -----------------------------------------------------------------------
  35. ---
  36.  ■ PMDBM DEMO V1.5ß #0 ■ Evaluation Copy
  37. --
  38. Channel 1 (R)   Cambridge, MA
  39.  
  40.