home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / gnu / lucid / help-lucid-emacs / text0255.txt < prev    next >
Encoding:
Text File  |  1993-07-14  |  1.1 KB  |  31 lines

  1. Hi,
  2.  
  3. As the subject header says: How does lemacs determine what mode to use?
  4.  
  5. I would like lemacs to go into Fortran mode for files ending on .F,
  6. into Fortran 90 mode for files ending in .f90 and into Perl mode
  7. for files ending in .prl. I can't figure out how Emacs decides which
  8. mode to use though.
  9.  
  10. I have another problem with the fortran mode: some compilers still
  11. want fixed format, but allow tabs to start the lines (so far so good,
  12. as the fortan mode switches to TAB mode automatically). Many of them
  13. do not accept a tab followed by a number as a continuation line, which
  14. is the way the fortran-TAB mode does continuation lines. So how can I
  15. persuade the Fortran mode to use TAB mode, but an & in column 6 for
  16. continuation lines?
  17.  
  18. I'm running lemacs-19.6 on a DEC station 5000/240. (Which shouldn't make
  19. a difference -- I'm just happy I managed to get it compiled so easily!)
  20.  
  21. Thanks,
  22.  
  23. Adriaan
  24.  
  25. -- 
  26. -- 
  27.  ***************************************************************************
  28.  * Adriaan Joubert                * Janet       : adriaan@uk.ac.qmw.dcs    *
  29.  * London Parallel               * Internet    : adriaan@dcs.qmw.ac.uk    *
  30.  
  31.