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.devel Subject: Re: Context menus and mouse-3 Date: Thu, 22 Jul 2021 12:49:23 +0900 Message-ID: <937BF4F1-897B-45A0-A79F-804E24ADA6A6@misasa.okayama-u.ac.jp> References: <87y2acv2tw.fsf@mail.linkov.net> <83zguragqj.fsf@gnu.org> <87pmvnuyug.fsf@mail.linkov.net> <83zguq8n5o.fsf@gnu.org> <87im1dydhx.fsf@mail.linkov.net> <874kcw28zk.fsf@mail.linkov.net> <83lf686qqv.fsf@gnu.org> <87lf67fcvu.fsf@mail.linkov.net> <83lf6669dg.fsf@gnu.org> <87o8b2nkys.fsf@mail.linkov.net> <87zguii9gy.fsf@mail.linkov.net> <87tukoso8f.fsf@mail.linkov.net> <878s20shjw.fsf@mail.linkov.net> <861r7si8l9.fsf@misasa.okayama-u.ac.jp> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.100.0.2.22\)) 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="20584"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "philipk@posteo.net" , "rms@gnu.org" , "spacibba@aol.com" , Juri Linkov , =?utf-8?B?5Zu95bqD5Y2T5Lmf?= , Stefan Monnier , "arthur.miller@live.com" , "dgutov@yandex.ru" , "ghe@sdf.org" , Eli Zaretskii , Drew Adams To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 22 05:51:31 2021 Return-path: Envelope-to: ged-emacs-devel@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 1m6PkA-00058o-Mu for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Jul 2021 05:51:30 +0200 Original-Received: from localhost ([::1]:50752 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m6Pk9-0000fb-J0 for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Jul 2021 23:51:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6PjP-0008Q9-8c for emacs-devel@gnu.org; Wed, 21 Jul 2021 23:50:43 -0400 Original-Received: from mx0a-00602c01.pphosted.com ([205.220.162.67]:33462) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m6PjN-0006sh-Bi; Wed, 21 Jul 2021 23:50:43 -0400 Original-Received: from pps.filterd (m0238147.ppops.net [127.0.0.1]) by mx0a-00602c01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 16LMqLAe011183; Thu, 22 Jul 2021 12:49:31 +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 39xpp3rfmy-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 22 Jul 2021 12:49:31 +0900 Original-Received: from jlsv301.okayama-u.ac.jp (unknown [150.46.12.5]) by mlsec.cc.okayama-u.ac.jp with smtp id 39aa_fec7_ec23befc_a64f_4622_afb3_f324bacfd200; Thu, 22 Jul 2021 12:49:24 +0900 Original-Received: from smtpclient.apple (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by jlsv301.okayama-u.ac.jp (Postfix) with ESMTPSA id 443CD7608AE; Thu, 22 Jul 2021 12:49:24 +0900 (JST) In-Reply-To: X-Mailer: Apple Mail (2.3654.100.0.2.22) 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, RV6956=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6956> : inlines <7226> : streams <1896568> : uri <3298040> X-Proofpoint-GUID: dgSImRSGDkOGygNy02PZSBZ1m5vYBy17 X-Proofpoint-ORIG-GUID: dgSImRSGDkOGygNy02PZSBZ1m5vYBy17 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10052 signatures=668682 X-Proofpoint-Spam-Details: rule=outbound_spam_notspam policy=outbound_spam score=0 suspectscore=0 clxscore=1011 malwarescore=0 mlxlogscore=732 bulkscore=0 adultscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 phishscore=0 spamscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2107220019 Received-SPF: pass client-ip=205.220.162.67; envelope-from=prvs=8837543f1b=tkk@misasa.okayama-u.ac.jp; helo=mx0a-00602c01.pphosted.com X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271444 Archived-At: >>> I think most of the time, a thing under mouse cursor matters for >>> context-menu instead of mode. >>=20 >> Obviously, but note that the code that decides what "thing under the >> cursor" is relevant, and which menu entries should be shown for it is >> most likely going to be provided by a mode. >>=20 >> So I guess what I'm saying is that I disagree with "instead of". >=20 > It's not just modes. It's not just text under the > mouse pointer. It's not "instead of". Right. > It's anything you (a user or code) want the menu > to be. I think operation double click on icon in file browser is a good analogue to operation via context menu. Double click opens an icon. I think by default, context menu should provide a way to open a thing under mouse pointer. What is appropriate open, isn=E2=80=99t obvious. | thing | open | |-----------+---------------| | file | file-file | | directory | dired | | url | browse-url | | function | describe-help |