From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#50067: Context menus Date: Fri, 27 Aug 2021 09:24:43 +0300 Organization: LINKOV.NET Message-ID: <87h7fb76c4.fsf@mail.linkov.net> References: <87wnociu41.fsf@mail.linkov.net> <20210824.191259.1858282353329289005.tkk@misasa.okayama-u.ac.jp> <877dgalpsr.fsf@mail.linkov.net> <20210825.084329.2103284747365062473.tkk@misasa.okayama-u.ac.jp> <87v93ts9jd.fsf@mail.linkov.net> <87a6l47mxr.fsf@linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13948"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 50067@debbugs.gnu.org To: Tak Kunihiro Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 27 08:27: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 1mJVKe-0003UG-07 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Aug 2021 08:27:16 +0200 Original-Received: from localhost ([::1]:56588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJVKc-0003Qf-B6 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Aug 2021 02:27:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44342) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJVJS-0001mn-QT for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 02:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mJVJS-0003IF-I2 for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 02:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mJVJS-00046y-CZ for bug-gnu-emacs@gnu.org; Fri, 27 Aug 2021 02:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Aug 2021 06:26:02 +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.163004552915765 (code B ref 50067); Fri, 27 Aug 2021 06:26:02 +0000 Original-Received: (at 50067) by debbugs.gnu.org; 27 Aug 2021 06:25:29 +0000 Original-Received: from localhost ([127.0.0.1]:51099 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJVIu-00046C-Rt for submit@debbugs.gnu.org; Fri, 27 Aug 2021 02:25:28 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:42885) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mJVIs-00045z-II for 50067@debbugs.gnu.org; Fri, 27 Aug 2021 02:25:27 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id A6C0640008; Fri, 27 Aug 2021 06:25:18 +0000 (UTC) In-Reply-To: <87a6l47mxr.fsf@linkov.net> (Juri Linkov's message of "Thu, 26 Aug 2021 09:13:10 +0300") 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:212799 Archived-At: > Here is the first step that adds support for overlay-local context-menu, > and removes the recently added 'flyspell-use-mouse-3-for-menu'. > But 'flyspell-context-menu' still returns 'flyspell-correct-word'. Now pushed. > I invite you or anyone else to refactor 'flyspell-correct-word' and > related functions to return a keymap menu where every menu item > is bound to a function that calls flyspell-do-correct with an argument > that is a correct word. Any help is appreciated to create a menu keymap from misspelled words.