]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorKim F. Storm <storm@cua.dk>
Tue, 6 Jan 2004 23:49:51 +0000 (23:49 +0000)
committerKim F. Storm <storm@cua.dk>
Tue, 6 Jan 2004 23:49:51 +0000 (23:49 +0000)
etc/NEWS
lisp/ChangeLog
lispref/ChangeLog
src/ChangeLog

index 43566ebea29f2363a06d630bf8ce661c13ea3e2b..60068811a59daf39a8a160f87cf666e270766d93 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1792,14 +1792,18 @@ mouse event, e.g. [area4 mouse-1] if the hot-spot's ID is `area4'.
 *** 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 @@ text area).
 *** 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
index 5b8b2f93e1b33cb9be4b9960226115ed96305545..bdfff47a9429504cd196dd9beeeb239ae1738012 100644 (file)
@@ -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
index d61b756401a8b4f297e5be3a0bccf1a8266f3477..ab5a573a89a00010fa61d399819ee990edf095a6 100644 (file)
@@ -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.
index 8c173e02c46a0afaa1fec06ca46f92df5dfc33f0..78738b194c5b415e1201405e4227f797f504756b 100644 (file)
@@ -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