Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
      Miscellaneous
   Command Reference
      . . .
      replace-again
      replace-string
      reset-mode
      resume-client
      retag-files
      . . .
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
replace-string  Command Reference   resume-client


Epsilon User's Manual and Reference > Command Reference >

reset-mode

Pick the appropriate mode for this buffer.

When you first load a file, Epsilon auto-detects the correct mode for it, by examining the file's extension and sometimes the contents of the file. This command makes Epsilon repeat that process, setting the buffer to a different mode if appropriate. It can be handy after you've temporarily switched to a different mode for any reason, or after you've started creating a new file with no extension and have now typed the first few lines, enough for Epsilon to auto-detect the proper mode.

For instance, if you're creating a new file with no extension, there might not be enough information for Epsilon to choose the right mode at the start. Once you've typed the usual first line of a Perl, PostScript, shell script, or similar file, then Epsilon should have enough information to pick the right mode.



Previous   Up    Next
replace-string  Command Reference   resume-client


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.