# HG changeset patch # User Lute Kamstra # Date 1063008418 0 # Node ID c5caefc395dee7d6fe5ccdd3f0f483df17cd2c54 # Parent 1091d6e7802baf6d44e6fe2ef45c6139d6af7ec5 *** empty log message *** diff -r 1091d6e7802b -r c5caefc395de etc/NEWS --- a/etc/NEWS Mon Sep 08 08:02:45 2003 +0000 +++ b/etc/NEWS Mon Sep 08 08:06:58 2003 +0000 @@ -1454,6 +1454,10 @@ * New modes and packages in 21.4 ++++ +** The new global minor mode `size-indication-mode' (off by default) +shows the size of accessible part of the buffer on the mode line. + ** GDB-Script-mode is used for files like .gdbinit. --- @@ -2494,6 +2498,11 @@ ** Mode line display ignores text properties in the value of a variable whose `risky-local-variables' property is nil. ++++ +** The new `%i' and `%I' constructs for `mode-line-format' can be used +to display the size of the accessible part of the buffer on the mode +line. + --- ** Indentation of simple and extended loop forms has been added to the cl-indent package. The new user options diff -r 1091d6e7802b -r c5caefc395de lisp/ChangeLog --- a/lisp/ChangeLog Mon Sep 08 08:02:45 2003 +0000 +++ b/lisp/ChangeLog Mon Sep 08 08:06:58 2003 +0000 @@ -1,3 +1,8 @@ +2003-09-08 Lute Kamstra + + * simple.el (size-indication-mode): New. + * bindings.el (mode-line-position): Add buffer size indicator. + 2003-09-04 Mario Lang * battery.el (battery-linux-proc-acpi): New function. diff -r 1091d6e7802b -r c5caefc395de lispref/ChangeLog --- a/lispref/ChangeLog Mon Sep 08 08:02:45 2003 +0000 +++ b/lispref/ChangeLog Mon Sep 08 08:06:58 2003 +0000 @@ -1,3 +1,8 @@ +2003-09-08 Lute Kamstra + + * modes.texi (%-Constructs): Document new `%i' and `%I' + constructs. + 2003-09-03 Peter Runestig * makefile.w32-in: New file. diff -r 1091d6e7802b -r c5caefc395de man/ChangeLog --- a/man/ChangeLog Mon Sep 08 08:02:45 2003 +0000 +++ b/man/ChangeLog Mon Sep 08 08:06:58 2003 +0000 @@ -1,3 +1,11 @@ +2003-09-08 Lute Kamstra + + * screen.texi (Mode Line): Say that POS comes before LINE. + Mention `size-indication-mode'. + * display.texi (Optional Mode Line): Document + `size-indication-mode'. + * basic.texi (Position Info): Mention `size-indication-mode'. + 2003-09-07 Luc Teirlinck * xresources.texi (Resources): Refer to `editres' man page. diff -r 1091d6e7802b -r c5caefc395de src/ChangeLog --- a/src/ChangeLog Mon Sep 08 08:02:45 2003 +0000 +++ b/src/ChangeLog Mon Sep 08 08:06:58 2003 +0000 @@ -1,3 +1,10 @@ +2003-09-08 Lute Kamstra + + * xdisp.c (pint2hrstr): New function. + (decode_mode_spec): Add `%i' and `%I' specs. + * buffer.c (syms_of_buffer): Document `%i' and `%I' constructs + for `mode-line-format'. + 2003-09-07 Andreas Schwab * alloc.c: Use long instead of int when casting ABLOCKS_BUSY to