Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Commands by Topic
      Getting Help
      Moving Around
      Changing Text
      . . .
      Miscellaneous
   Command Reference
      . . .
      filter-region
      find-delimiter
      find-file
      find-linked-file
      find-oem-file
      . . .
   Variable Reference
      abort-file-io
      abort-file-matching
      abort-key
      . . .
      yank-rectangle-to-corner
   . . .

Previous   Up    Next
find-delimiter  Command Reference   find-linked-file


Epsilon User's Manual and Reference > Command Reference >

find-file

Put a file in the current window.  Ctrl-x Ctrl-f

You would normally use this command to specify a file to edit. This command prompts you for a file name, then scans the buffers to see if any of them contain that file. If so, the command displays that buffer in the current window.

Otherwise, the command creates a buffer with the same name as the file, possibly modified to make it different from the names of nonempty buffers, then reads the file into this buffer, then displays that buffer in the current window.

Epsilon auto-detects the line termination convention of the file and performs any necessary translation. (See set-line-translate.) If the file uses a Unicode encoding, it detects that too, so long as the file begins with a byte order mark. (See set-encoding.) With a numeric argument, the command prompts for the desired translation and encoding methods.

If you simply type <Enter> for a file name, the command invokes dired with the current directory for the file pattern. Similarly, if you specify a directory or a file name with wild card characters, the command invokes dired with that pattern.

See the descriptions of the prompt-with-buffer-directory and want-common-file-dialog variables for more information on this command.

More info:

Tags
Reading Files
Internet Support
Dired Subcommands
Compiling From Epsilon
File Reading Primitives (Primitives)



Previous   Up    Next
find-delimiter  Command Reference   find-linked-file


Lugaru Epsilon Programmer's Editor 14.04 manual. Copyright (C) 1984, 2021 by Lugaru Software Ltd. All rights reserved.