• Mattias Engdegård's avatar
    Mouse rectangular region selection (bug#38013) · 4eb7db5d
    Mattias Engdegård authored
    Make it possible to select a rectangular region using the mouse.
    The standard binding is C-M-mouse-1.
    
    * lisp/mouse.el (mouse-scroll-subr): Add ADJUST argument.
    (mouse-drag-region-rectangle): New.
    * lisp/rect.el (rectangle--reset-point-crutches): New.
    (rectangle--reset-crutches): Use 'rectangle--reset-point-crutches'.
    * src/xdisp.c (remember_mouse_glyph, syms_of_xdisp):
    Add 'mouse-fine-grained-tracking'.
    * doc/lispref/commands.texi (Motion Events):
    Document 'mouse-fine-grained-tracking'.
    * doc/emacs/frames.texi (Mouse Commands):
    * doc/emacs/killing.texi (Rectangles):
    * etc/NEWS: Document rectangular selection with the mouse.
    4eb7db5d