changeset 53522:a922672c7020

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Tue, 06 Jan 2004 23:49:51 +0000
parents 7a0f7095ef65
children 6b4e0654b7ee
files etc/NEWS lisp/ChangeLog lispref/ChangeLog src/ChangeLog
diffstat 4 files changed, 36 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/etc/NEWS	Tue Jan 06 23:48:14 2004 +0000
+++ b/etc/NEWS	Tue Jan 06 23:49:51 2004 +0000
@@ -1792,14 +1792,18 @@
 *** Mouse clicks on fringes now generates left-fringe or right-fringes
 events, rather than a text area click event.
 
+*** Mouse clicks in the left and right marginal areas now includes a
+sensible buffer position corresponding to the first character in the
+corresponding text row.
+
+*** Function `mouse-set-point' now works for events outside text area.
+
 +++
 *** Mouse events now includes buffer position for all event types.
 
 +++
 *** `posn-point' now returns buffer position for non-text area events.
 
-*** Function `mouse-set-point' now works for events outside text area.
-
 +++
 *** New function `posn-area' returns window area clicked on (nil means
 text area).
@@ -1817,9 +1821,15 @@
 *** Mouse events include relative x and y pixel coordinates relative to
 the top left corner of the object (image or character) clicked on.
 
-*** New functions 'posn-object' and 'posn-object-x-y' return the image
-or string object of a mouse click, and the x and y pixel coordinates
-relative to the top left corner of that object.
++++
+*** Mouse events include the pixel width and height of the object
+(image or character) clicked on.
+
++++
+*** New functions 'posn-object', 'posn-object-x-y', and
+'posn-object-width-height' return the image or string object of a mouse
+click, the x and y pixel coordinates relative to the top left corner
+of that object, and the total width and height of that object.
 
 ** New function `force-window-update' can initiate a full redisplay of
 one or all windows.  Normally, this is not needed as changes in window
--- a/lisp/ChangeLog	Tue Jan 06 23:48:14 2004 +0000
+++ b/lisp/ChangeLog	Tue Jan 06 23:49:51 2004 +0000
@@ -1,3 +1,11 @@
+2004-01-07  Kim F. Storm  <storm@cua.dk>
+
+	* subr.el (event-start, event-end): Doc fix.
+	(posn-string, posn-image): New defuns.
+	(posn-object): Return either image or string object.
+	(posn-object-x-y): Return 8th element of position.
+	(posn-object-width-height): New defun.
+
 2004-01-06  Andreas Schwab  <schwab@suse.de>
 
 	* gdb-ui.el (gdb-frame-handler): Handle word wrapping anywhere in
--- a/lispref/ChangeLog	Tue Jan 06 23:48:14 2004 +0000
+++ b/lispref/ChangeLog	Tue Jan 06 23:49:51 2004 +0000
@@ -1,3 +1,11 @@
+2004-01-07  Kim F. Storm  <storm@cua.dk>
+
+	* commands.texi (Click Events): Describe new image and
+	width/height elements of click events.
+	(Accessing Events): Add posn-string, posn-image, and
+	posn-object-width-height.  Change posn-object to return either
+	image or string object.
+
 2004-01-01  Simon Josefsson  <jas@extundo.com>
 
 	* hooks.texi (Standard Hooks): Add before-save-hook.
--- a/src/ChangeLog	Tue Jan 06 23:48:14 2004 +0000
+++ b/src/ChangeLog	Tue Jan 06 23:49:51 2004 +0000
@@ -1,3 +1,8 @@
+2004-01-07  Kim F. Storm  <storm@cua.dk>
+
+	* process.c (read_process_output): Only activate adaptive
+	buffering if we read less than 256 bytes at a time.
+
 2004-01-06  Kim F. Storm  <storm@cua.dk>
 
 	* dispnew.c (buffer_posn_from_coords): Return both buffer/string