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
      . . .
      show-status
      show-tag-line
      show-when-idle
      show-when-idle-column
      soft-tab-size
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
show-tag-line  Variable Reference   show-when-idle-column


Epsilon User's Manual and Reference > Variable Reference >

show-when-idle: preference variable

Default value: none

You can set Epsilon to display text in the echo area whenever it's idle. The show-when-idle variable holds the text to display. It can include any of the following sequences, and Epsilon will substitute the indicated value for that sequence:

%c
Epsilon substitutes the current column number, counting columns from 0.

%C
Epsilon substitutes the current column number, counting columns from 1.

%d
Epsilon substitutes the current display column, with a < before it, and a space after. However, if the display column has a value of 0 (meaning horizontal scrolling is enabled, but the window has not been scrolled), or -1 (meaning the window wraps long lines), Epsilon substitutes nothing.

%D
Epsilon substitutes the current display column, but if the display column is -1, Epsilon substitutes nothing.

%f
Epsilon substitutes the name of the current function, class, or similar (in buffers where Epsilon can determine this).

%l
Epsilon substitutes the current line number. (Also see the draw-line-numbers variable to display line numbers to the left of text.)

%m
Epsilon substitutes the text " More ", but only if characters exist past the end of the window. If the last character in the buffer appears in the window, Epsilon substitutes nothing.

%P
Epsilon substitutes the percentage of point through the buffer, followed by a percent sign.

%p
Epsilon substitutes the percentage of point through the buffer, followed by a percent sign. However, if the bottom of the buffer appears in the window, Epsilon displays Bot instead (or End if point is at the very end of the buffer). Epsilon displays Top if the top of the buffer appears, and All if the entire buffer is visible.

%s
Epsilon substitutes "* " if the buffer's modified flag has a nonzero value, otherwise nothing.

%S
Epsilon substitutes "*" if the buffer's modified flag has a nonzero value, otherwise nothing.

%h
Epsilon substitutes the current hour in the range 1 to 12.

%H
Epsilon substitutes the current hour in military time in the range 0 to 23.

%n
Epsilon substitutes the current minute in the range 0 to 59.

%e
Epsilon substitutes the current second in the range 0 to 59.

%a
Epsilon substitutes "am" or "pm" as appropriate.

Note:
For the current time, use a sequence like %2h:%02n %a for "3:45 pm" or %02H:%02n:%02e for "15:45:21".

%%
Epsilon substitutes a literal "%" character.

For any numeric substitution, you may include a number between the % and the letter code, giving the field width: the minimum number of characters to print. You can use the same kinds of field width specifiers as C's printf() function. The sequence %4c expands to "<Space><Space><Space>9", %04c expands to "0009", and %-4c expands to "9<Space><Space><Space>".

Also see the mode-format variable.

More info:

Window Borders
Keys (Primitives)



Previous   Up    Next
show-tag-line  Variable Reference   show-when-idle-column


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