Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      alt-prefix
      . . .
      zoom-window
   Variable Reference
      . . .
      message-history-size
      minimal-coloring
      mode-end
      mode-extra
      mode-line-at-top
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
minimal-coloring  Variable Reference   mode-extra


Epsilon User's Manual and Reference > Variable Reference >

mode-end: preference variable

Default value: " %d%p %s%f"

This specifies the part of the mode line after the square brackets. Epsilon substitutes various values for the following sequences in the mode line, as follows:

%c
The current column number, counting columns from 0.

%C
The current column number, counting columns from 1.

%d
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
The current display column, but if the display column is -1, Epsilon substitutes nothing.

%f
The name of the current function (in buffers where Epsilon can determine this).

%l
The current line number.

%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.

%<
Indicates that redisplay may omit text to the left, if all of the information will not fit.

%>
Puts any following text as far to the right as possible.

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 variables mode-start and show-when-idle.

More info:

Epsilon's Screen Layout (General)
Window Borders
Window Titles and Mode Lines (Primitives)



Previous   Up    Next
minimal-coloring  Variable Reference   mode-extra


Lugaru Copyright (C) 1984, 2020 by Lugaru Software Ltd. All rights reserved.