Mercurial > emacs
comparison src/buffer.c @ 26555:5dec6111686f
(syms_of_buffer): Add %z, %Z, %m and %& to the doc
string of mode-line-format. Remove the obsolete %t.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Tue, 23 Nov 1999 13:17:01 +0000 |
parents | 53aa5195c94a |
children | 7b3d9b3a9d69 |
comparison
equal
deleted
inserted
replaced
26554:64e68423dca9 | 26555:5dec6111686f |
---|---|
4202 (%-constructs are allowed when the string is the entire mode-line-format\n\ | 4202 (%-constructs are allowed when the string is the entire mode-line-format\n\ |
4203 or when it is found in a cons-cell or a list)\n\ | 4203 or when it is found in a cons-cell or a list)\n\ |
4204 %b -- print buffer name. %f -- print visited file name.\n\ | 4204 %b -- print buffer name. %f -- print visited file name.\n\ |
4205 %F -- print frame name.\n\ | 4205 %F -- print frame name.\n\ |
4206 %* -- print %, * or hyphen. %+ -- print *, % or hyphen.\n\ | 4206 %* -- print %, * or hyphen. %+ -- print *, % or hyphen.\n\ |
4207 %& is like %*, but ignore read-only-ness.\n\ | |
4207 % means buffer is read-only and * means it is modified.\n\ | 4208 % means buffer is read-only and * means it is modified.\n\ |
4208 For a modified read-only buffer, %* gives % and %+ gives *.\n\ | 4209 For a modified read-only buffer, %* gives % and %+ gives *.\n\ |
4209 %s -- print process status. %l -- print the current line number.\n\ | 4210 %s -- print process status. %l -- print the current line number.\n\ |
4210 %c -- print the current column number (this makes editing slower).\n\ | 4211 %c -- print the current column number (this makes editing slower).\n\ |
4211 To make the column number update correctly in all cases,\n\ | 4212 To make the column number update correctly in all cases,\n\ |
4212 `column-number-mode' must be non-nil.\n\ | 4213 `column-number-mode' must be non-nil.\n\ |
4213 %p -- print percent of buffer above top of window, or Top, Bot or All.\n\ | 4214 %p -- print percent of buffer above top of window, or Top, Bot or All.\n\ |
4214 %P -- print percent of buffer above bottom of window, perhaps plus Top,\n\ | 4215 %P -- print percent of buffer above bottom of window, perhaps plus Top,\n\ |
4215 or print Bottom or All.\n\ | 4216 or print Bottom or All.\n\ |
4217 %m -- print the mode name.\n\ | |
4216 %n -- print Narrow if appropriate.\n\ | 4218 %n -- print Narrow if appropriate.\n\ |
4217 %t -- print T if file is text, B if binary.\n\ | 4219 %z -- print mnemonics of buffer, terminal, and keyboard coding systems.\n\ |
4220 %Z -- like %z, but including the end-of-line format.\n\ | |
4218 %[ -- print one [ for each recursive editing level. %] similar.\n\ | 4221 %[ -- print one [ for each recursive editing level. %] similar.\n\ |
4219 %% -- print %. %- -- print infinitely many dashes.\n\ | 4222 %% -- print %. %- -- print infinitely many dashes.\n\ |
4220 Decimal digits after the % specify field width to which to pad."); | 4223 Decimal digits after the % specify field width to which to pad."); |
4221 */ | 4224 */ |
4222 | 4225 |