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

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

bug#54905: Allow in tabulated lists to resize columns with the mouse


From: Eli Zaretskii
Subject: bug#54905: Allow in tabulated lists to resize columns with the mouse
Date: Thu, 14 Apr 2022 20:15:04 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: laszlomail@protonmail.com,  54905@debbugs.gnu.org
> Date: Thu, 14 Apr 2022 18:29:32 +0200
> 
> Yes, this doesn't seem to work:
> 
> (keymap-local-set "<header-line> <drag-mouse-1>" #'foo)
> (defun foo (e)
>   (interactive "e")
>   (message "Hello %S %S"
>          (posn-x-y (event-start e)) (posn-x-y (event-end e))))
> 
> Dragging something in the header line does not call this function.

That's because we intervene, AFAICT.  Type "C-h c", then drag the
mouse on the header-line, and see what Emacs tells you about that.





reply via email to

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