From 05faee07bb347841ec71ebacd768c571dc925e80 Mon Sep 17 00:00:00 2001 From: "Kim F. Storm" Date: Tue, 6 Jan 2004 23:49:51 +0000 Subject: [PATCH] *** empty log message *** --- etc/NEWS | 20 +++++++++++++++----- lisp/ChangeLog | 8 ++++++++ lispref/ChangeLog | 8 ++++++++ src/ChangeLog | 5 +++++ 4 files changed, 36 insertions(+), 5 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index 43566ebea29..60068811a59 100644 --- 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 diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5b8b2f93e1b..bdfff47a942 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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 --git a/lispref/ChangeLog b/lispref/ChangeLog index d61b756401a..ab5a573a89a 100644 --- a/lispref/ChangeLog +++ b/lispref/ChangeLog @@ -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 --git a/src/ChangeLog b/src/ChangeLog index 8c173e02c46..78738b194c5 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 -- 2.39.2