[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50067: Context menus
From: |
Tak Kunihiro |
Subject: |
bug#50067: Context menus |
Date: |
Sat, 21 Aug 2021 15:33:36 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) |
** context-menu-region
All commands belong to `Edit' in menu bar.
I think `context-menu-edit' sounds better.
Isn't it better to use `menu-bar-edit-menu' as a source rather than
create a menu from scratch?
On paste when there is a region and delete-selection-mode is t, the
region should be replaced by the text.
** no multiple horizontal lines
Sometimes I see double lines on the context menu. I think that there is
no useful case to have double lines. To allow only one horizontal line
would look cool.
** reuse existing menu
I cannot figure out how to include pre-existing menu such for
(mouse-buffer-menu-map). To lean how to manipulate menu is not easy.
It's nice to have an example something like below (does not work).
(defun context-menu-buffer (menu)
"Add a buffer menu entry to MENU."
(let ((map (mouse-buffer-menu-map)))
(define-key-after menu [buffer] map))
menu)
- bug#50067: Context menus, (continued)
- bug#50067: Context menus, Naoya Yamashita, 2021/08/28
- bug#50067: Context menus, Juri Linkov, 2021/08/18
- bug#50067: Context menus, Mattias Engdegård, 2021/08/18
- bug#50067: Context menus, Eli Zaretskii, 2021/08/18
- bug#50067: Context menus, Mattias Engdegård, 2021/08/19
- bug#50067: Context menus, Juri Linkov, 2021/08/20
- bug#50067: Context menus, Mattias Engdegård, 2021/08/20
- bug#50067: Context menus, Dmitry Gutov, 2021/08/20
- bug#50067: Context menus, Tak Kunihiro, 2021/08/21
- bug#50067: Context menus,
Tak Kunihiro <=
- bug#50067: Context menus, Juri Linkov, 2021/08/22
- bug#50067: Context menus, Tak Kunihiro, 2021/08/22
- bug#50067: Context menus, Juri Linkov, 2021/08/23
- bug#50067: Context menus, Tak Kunihiro, 2021/08/24
- bug#50067: Context menus, Juri Linkov, 2021/08/24
- bug#50067: Context menus, Tak Kunihiro, 2021/08/24
- bug#50067: Context menus, Juri Linkov, 2021/08/25
- bug#50067: Context menus, Juri Linkov, 2021/08/26
- bug#50067: Context menus, Juri Linkov, 2021/08/27
- bug#50067: Context menus, Tak Kunihiro, 2021/08/28