changeset 28658:bb5083cf0565

*** empty log message ***
author Gerd Moellmann <gerd@gnu.org>
date Wed, 19 Apr 2000 19:12:22 +0000
parents 02edb3ce6745
children 17281c5a2834
files etc/NEWS lisp/ChangeLog
diffstat 2 files changed, 41 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Wed Apr 19 19:10:46 2000 +0000
+++ b/etc/NEWS	Wed Apr 19 19:12:22 2000 +0000
@@ -104,6 +104,9 @@
 ** New user option `read-mail-command' specifies a command to use to
 read mail from the menu etc.
 
+** Hexl contains a new command `hexl-insert-hex-string' which inserts
+a string of hexadecimal numbers read from the mini-buffer.
+
 ** Changes in Texinfo mode.
 
 ** A couple of new key bindings have been added for inserting Texinfo
@@ -1118,6 +1121,30 @@
 When you add a new item, please add it without either +++ or ---
 so I will know I still need to look at it -- rms.
 
+** The new function `count-screen-lines' is a more flexible alternative
+to `window-buffer-height'.
+
+- Function: count-screen-lines &optional BEG END COUNT-FINAL-NEWLINE WINDOW
+
+Return the number of screen lines in the region between BEG and END.
+The number of screen lines may be different from the number of actual
+lines, due to line breaking, display table, etc.
+
+Optional arguments BEG and END default to `point-min' and `point-max'
+respectively.
+
+If region ends with a newline, ignore it unless optinal third argument
+COUNT-FINAL-NEWLINE is non-nil.
+
+The optional fourth argument WINDOW specifies the window used for
+obtaining parameters such as width, horizontal scrolling, and so
+on. The default is to use the selected window's parameters.
+
+Like `vertical-motion', `count-screen-lines' always uses the current
+buffer, regardless of which buffer is displayed in WINDOW. This makes
+possible to use `count-screen-lines' in any buffer, whether or not it
+is currently displayed in some window.
+
 ** The new function `mapc' is like `mapcar' but doesn't collect the
 argument function's results.
 
--- a/lisp/ChangeLog	Wed Apr 19 19:10:46 2000 +0000
+++ b/lisp/ChangeLog	Wed Apr 19 19:12:22 2000 +0000
@@ -1,5 +1,19 @@
 2000-04-19  Gerd Moellmann  <gerd@gnu.org>
 
+	* help.el (resize-temp-buffer-window): Use count-screen-lines.
+
+	* window.el (count-screen-lines): New function.
+	(shrink-window-if-larger-than-buffer): Use count-screen-lines
+	instead of window-buffer-height.
+
+	* progmodes/inf-lisp.el (inferior-lisp-mode): Don't set
+	non-existing variable comint-input-sentinel.
+	(inferior-lisp-args-to-list): Removed.
+	(inferior-lisp): Use split-string instead of
+	inferior-lisp-args-to-list.
+
+	* hexl.el (hexl-insert-hex-string): New command.
+
 	* emacs-lisp/gulp.el (gulp-maintainer): Use expand-file-name
 	instead of concat.