bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#17887: Regression: mouse-1 click on link does mouse-2 instead


From: Barry OReilly
Subject: bug#17887: Regression: mouse-1 click on link does mouse-2 instead
Date: Mon, 30 Jun 2014 16:27:06 -0700

> Would it solve your problem when your mode (locally) binds
> `mouse-1-click-follows-link` to nil?

No, in this case mouse-1 does nothing but relocate point.

I Git bisected the regression to:

25573f61f9eaf1631c03d16486ffc17fd9b18503 is the first bad commit
commit 25573f61f9eaf1631c03d16486ffc17fd9b18503
Author: Stefan Monnier <address@hidden>
Date:   Fri Mar 8 23:15:53 2013 -0500

    Separate mouse-1-click-follows-link from mouse-drag-region.
    * lisp/mouse.el (mouse--down-1-maybe-follows-link): New function.
    (key-translation-map): Use it to implement mouse-1-click-follows-link.
    (mouse-drag-line, mouse-drag-track): Remove mouse-1-click-follows-link code.
    (mouse--remap-link-click-p): Remove.
    * src/keyboard.c (access_keymap_keyremap): Accept nil return value from
    functions to mean "no change".
    * src/keyboard.h (EVENT_START, EVENT_END, POSN_WINDOW, POSN_POSN)
    (POSN_WINDOW_POSN, POSN_TIMESTAMP): Be careful since events may come
    from Elisp via unread-command-events.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]