summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS20
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lispref/ChangeLog8
-rw-r--r--src/ChangeLog5
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 <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
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 <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.
diff --git a/src/ChangeLog b/src/ChangeLog
index 2e1bb266194..0d65d6f5d0c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -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