[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Where the menu should be appeared when C-mouse-3 is triggered
From: |
Masatake YAMATO |
Subject: |
Re: Where the menu should be appeared when C-mouse-3 is triggered |
Date: |
Fri, 20 Jul 2012 21:48:15 +0900 (JST) |
>> With the patch f10 can show the same menu items as
>> C-mouse-3 shows. The menu is shows at point or mouse
>> cursor; last-nonmenu-event is referred to decide the
>> postion. The menu items reflects (current-buffer) when
>> the menu is shown at point.
>
> Sounds good. Installed (except I removed point-pixel-position).
It seems that removing point-pixel-position in wrong way.
Following patch is needed.
=== modified file 'lisp/mouse.el'
*** lisp/mouse.el 2012-07-20 11:32:30 +0000
--- lisp/mouse.el 2012-07-20 12:46:34 +0000
***************
*** 116,122 ****
(setq position
(cond
((eq position 'point)
! (let* ((pp (posn-at-point pos window))
(xy (posn-x-y pp)))
(list (list (car xy) (cdr xy)) (posn-window pp))))
((not position)
--- 116,122 ----
(setq position
(cond
((eq position 'point)
! (let* ((pp (posn-at-point))
(xy (posn-x-y pp)))
(list (list (car xy) (cdr xy)) (posn-window pp))))
((not position)
- Re: [patch v3] showing menu bar temporarily when f10 is pressed, Masatake YAMATO, 2012/07/18
- Re: [patch v3] showing menu bar temporarily when f10 is pressed, Stefan Monnier, 2012/07/19
- Where the menu should be appeared when C-mouse-3 is triggered (Was: [patch v3] showing menu bar temporarily when f10 is pressed), Masatake YAMATO, 2012/07/19
- Re: Where the menu should be appeared when C-mouse-3 is triggered, Stefan Monnier, 2012/07/19
- Re: Where the menu should be appeared when C-mouse-3 is triggered, Masatake YAMATO, 2012/07/20
- Re: Where the menu should be appeared when C-mouse-3 is triggered, Stefan Monnier, 2012/07/20
- Re: Where the menu should be appeared when C-mouse-3 is triggered, Masatake YAMATO, 2012/07/20
- Re: Where the menu should be appeared when C-mouse-3 is triggered, Masatake YAMATO, 2012/07/28
- Re: Where the menu should be appeared when C-mouse-3 is triggered,
Masatake YAMATO <=