Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-region
      . . .
      zoom-window
   Variable Reference
      . . .
      grep-include-timestamp
      grep-keeps-files
      grep-on-changed-file
      grep-prompt-with-buffer-directory
      grep-show-absolute-path
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
grep-keeps-files  Variable Reference   grep-prompt-with-buffer-directory


Epsilon User's Manual and Reference > Variable Reference >

grep-on-changed-file: preference variable

Default value: 1

This variable sets what happens when the grep command notices a buffer's file has been changed on disk.

If 0, Epsilon prompts, asking if it should reread the file, replacing the version in memory, or ignore the file and only search the version in memory.

If 1, Epsilon never prompts, and ignores the version on disk, adding a warning in the grep buffer that only the version in memory was searched. (The locate-file on Ctrl-X Ctrl-L is a convenient way to get from the grep buffer to the file's buffer.)

If 2, Epsilon automatically reads the modified file from disk, as long as the version in memory hasn't been edited. If it's been edited, Epsilon prompts.

If 3, Epsilon rereads the file if the buffer hasn't been modified; otherwise it searches the version in memory and adds a warning to the grep buffer. It doesn't prompt in either case.



Previous   Up    Next
grep-keeps-files  Variable Reference   grep-prompt-with-buffer-directory


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