Lugaru's Epsilon
Programmer's
Editor 14.04

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-by-tab
      . . .
      zoom-window
   Variable Reference
      . . .
      goal-column
      got-bad-number
      grep-default-directory
      grep-empties-buffer
      grep-ignore-file-basename
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
got-bad-number  Variable Reference   grep-empties-buffer


Epsilon User's Manual and Reference > Variable Reference >

grep-default-directory: preference variable

Default value: 0

When you press <Enter> without entering a file pattern for grep, and this variable is zero (the default), Epsilon tries to search the same set of files as last time, even if you've subsequently changed directories.

Set this variable to 1 if you want grep to instead reinterpret the file pattern you typed according to the current directory.

Set it to 2 if you want Epsilon to reinterpret the previous file pattern according to the directory associated with the current buffer. Set it to 3 if you want Epsilon to interpret any relative pattern you type according to the directory associated with the current buffer.

For settings 2 and 3 above to work properly, the grep-prompt-with-buffer-directory variable must not be set to 0.

This variable affects only relative file patterns like *.cpp. If you typed an absolute path the first time, pressing <Enter> will always search those files regardless of this setting.

More info:

Searching Multiple Files
grep-prompt-with-buffer-directory



Previous   Up    Next
got-bad-number  Variable Reference   grep-empties-buffer


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