# HG changeset patch # User Kim F. Storm # Date 1073432991 0 # Node ID a922672c70201d4ccb035419516cd09c737a23de # Parent 7a0f7095ef65be39cfbec7c9148b2a355017bec2 *** empty log message *** diff -r 7a0f7095ef65 -r a922672c7020 etc/NEWS --- 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 diff -r 7a0f7095ef65 -r a922672c7020 lisp/ChangeLog --- 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 + + * 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 * gdb-ui.el (gdb-frame-handler): Handle word wrapping anywhere in diff -r 7a0f7095ef65 -r a922672c7020 lispref/ChangeLog --- 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 + + * 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 * hooks.texi (Standard Hooks): Add before-save-hook. diff -r 7a0f7095ef65 -r a922672c7020 src/ChangeLog --- 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 + + * 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 * dispnew.c (buffer_posn_from_coords): Return both buffer/string