From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#50067: Context menus Date: Sat, 21 Aug 2021 13:43:53 +0900 Message-ID: <060413B6-E0EF-491D-986F-3988C255729F@misasa.okayama-u.ac.jp> References: <74BC00E9-2509-47DA-9428-1523FF7F3B33@acm.org> <87v942pvcj.fsf@mail.linkov.net> <004A628A-99CC-4C62-8AE2-921C4C38D42A@acm.org> <87h7fkh8z8.fsf@mail.linkov.net> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40659"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= , Tak Kunihiro , =?UTF-8?Q?=E5=9B=BD=E5=BA=83=E5=8D=93=E4=B9=9F?= , Lars Ingebrigtsen , 50067@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 21 06:45:17 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mHIse-000AIv-4W for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Aug 2021 06:45:16 +0200 Original-Received: from localhost ([::1]:35768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mHIsc-0004Jj-93 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 21 Aug 2021 00:45:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mHIsQ-0004Ii-1L for bug-gnu-emacs@gnu.org; Sat, 21 Aug 2021 00:45:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52414) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mHIsP-0005ge-PR for bug-gnu-emacs@gnu.org; Sat, 21 Aug 2021 00:45:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mHIsP-000391-Jp for bug-gnu-emacs@gnu.org; Sat, 21 Aug 2021 00:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 Aug 2021 04:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50067 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 50067-submit@debbugs.gnu.org id=B50067.162952105512018 (code B ref 50067); Sat, 21 Aug 2021 04:45:01 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 21 Aug 2021 04:44:15 +0000 Original-Received: from localhost ([127.0.0.1]:35727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHIre-00037l-Nl for submit@debbugs.gnu.org; Sat, 21 Aug 2021 00:44:14 -0400 Original-Received: from mx0b-00602c01.pphosted.com ([205.220.174.65]:15694) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mHIrc-00037b-H6 for 50067@debbugs.gnu.org; Sat, 21 Aug 2021 00:44:13 -0400 Original-Received: from pps.filterd (m0238152.ppops.net [127.0.0.1]) by mx0a-00602c01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 17L0SvHf003467; Sat, 21 Aug 2021 13:44:00 +0900 Original-Received: from mlsec.cc.okayama-u.ac.jp (mlsec.cc.okayama-u.ac.jp [150.46.12.254]) by mx0a-00602c01.pphosted.com with ESMTP id 3ajfv18fbp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sat, 21 Aug 2021 13:43:59 +0900 Original-Received: from jlsv301.okayama-u.ac.jp (unknown [150.46.12.5]) by mlsec.cc.okayama-u.ac.jp with smtp id 0969_24e9_8457054b_472a_4eba_959e_a0cc623c7693; Sat, 21 Aug 2021 13:43:53 +0900 Original-Received: from smtpclient.apple (unknown [172.24.1.212]) by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id 6B32E7604A1; Sat, 21 Aug 2021 13:43:53 +0900 (JST) In-Reply-To: <87h7fkh8z8.fsf@mail.linkov.net> X-Mailer: Apple Mail (2.3654.120.0.1.13) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 5 Rules triggered GME_TWTRE=0.1, EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6962=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6962> : inlines <7226> : streams <1899423> : uri <3309156> X-Proofpoint-GUID: nzuWp7V7D5spGkr30uYOM5e9sOg9cO-0 X-Proofpoint-ORIG-GUID: nzuWp7V7D5spGkr30uYOM5e9sOg9cO-0 X-Proofpoint-Virus-Version: vendor=nai engine=6300 definitions=10082 signatures=668682 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 bulkscore=0 phishscore=0 mlxscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxlogscore=999 impostorscore=0 suspectscore=0 malwarescore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2107140000 definitions=main-2108210026 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212313 Archived-At: I=E2=80=99m new to 28 and it will take a while to adopt to it. I=E2=80=99m sending comments so far. * Binding I suggest to assign [drag-mouse-3] as well, as shown below. (define-key map [mouse-3] context-menu-entry) (define-key map [drag-mouse-3] context-menu-entry) =20 On Mac, I suggest to assign [C-double-mouse-1] as well as shown below. (define-key map [C-down-mouse-1] #'ignore) (define-key map [C-mouse-1] context-menu-entry) (define-key map [C-double-mouse-1] context-menu-entry) (define-key map [C-triple-mouse-1] context-menu-entry) (define-key map [C-drag-mouse-1] context-menu-entry) * Error detection system It is good if the context-menu system is ready for an error that occurs on one of context-menu-functions. For now, when there is error, Emacs only tells ` is undefined'. * Long click system It=E2=80=99s time to discuss long-left-click also as trigger to show context menu. https://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00267.html https://lists.gnu.org/archive/html/emacs-devel/2020-09/msg01277.html * Open by other frame File would be opened by this window. Sometimes I want to open it by other frame. It is good if which window to open, is selectable after showing context-menu. I do not know how to do so. * Details It is handy to have buffer menu when right click mode bar. (define-key map [remap buffer-menu-open] context-menu-entry) Also it is handy to have frame menu when right click title bar. I do not know how to do so. Also it is nice to show word candidates by ispell when click a word.