# HG changeset patch # User Kim F. Storm # Date 1073428556 0 # Node ID 1e4599403b8b45304621c9a0ec4a64ba0472b0de # Parent eca25761c2b78335a10814e42188ddb5e2b1a8d1 *** empty log message *** diff -r eca25761c2b7 -r 1e4599403b8b src/ChangeLog --- a/src/ChangeLog Tue Jan 06 20:39:28 2004 +0000 +++ b/src/ChangeLog Tue Jan 06 22:35:56 2004 +0000 @@ -1,3 +1,27 @@ +2004-01-06 Kim F. Storm + + * dispnew.c (buffer_posn_from_coords): Return both buffer/string + object and image object. Return glyph width and height. + (mode_line_string, marginal_area_string): Ditto. + + * dispextern.h (buffer_posn_from_coords, mode_line_string) + (marginal_area_string): Fix prototypes. + + * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from + POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed. + (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros. + + * keyboard.c (make_lispy_position): Use modified mode_line_string, + buffer_posn_from_coords, and marginal_area_string functions to + include both string object and image object in the lispy position. + Also add actual glyph width and height to position. + (read_key_sequence): Use real buffer position from mouse + event to find keymap property even when click is in marginal area. + + * xdisp.c (note_mode_line_or_margin_highlight): Use modified + mode_line_string and marginal_area_string functions to handle + both string object and image object properties. + 2004-01-06 Andreas Schwab * syntax.c (skip_chars): Treat '-' at end of string as ordinary