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#50256: thing-at-mouse Date: Sun, 12 Sep 2021 20:12:21 +0300 Organization: LINKOV.NET Message-ID: <87k0jlg1l6.fsf@mail.linkov.net> References: <87sfys6ubm.fsf@mail.linkov.net> <87eeacdnmg.fsf@gnus.org> <87h7f7z8ui.fsf@mail.linkov.net> <871r6a8ooe.fsf@gnus.org> <87y28i85xi.fsf@mail.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="32211"; 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: 50256@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 12 19:13:12 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 1mPT2W-0008Ex-Av for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Sep 2021 19:13:12 +0200 Original-Received: from localhost ([::1]:49698 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPT2U-0001Jf-1B for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Sep 2021 13:13:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPT2M-0001JW-Hz for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 13:13:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPT2M-0002sc-Aq for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 13:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPT2L-0000mI-VP for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 13:13:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Sep 2021 17:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50256 X-GNU-PR-Package: emacs Original-Received: via spool by 50256-submit@debbugs.gnu.org id=B50256.16314667802982 (code B ref 50256); Sun, 12 Sep 2021 17:13:01 +0000 Original-Received: (at 50256) by debbugs.gnu.org; 12 Sep 2021 17:13:00 +0000 Original-Received: from localhost ([127.0.0.1]:43516 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPT2K-0000m1-CW for submit@debbugs.gnu.org; Sun, 12 Sep 2021 13:13:00 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:41587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPT2G-0000lf-9X for 50256@debbugs.gnu.org; Sun, 12 Sep 2021 13:12:58 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id D0C84100006; Sun, 12 Sep 2021 17:12:48 +0000 (UTC) In-Reply-To: <87y28i85xi.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 31 Aug 2021 09:49:29 +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:214151 Archived-At: > In bug#50067 you suggested to add a new arg with the click event > to all context menu functions. This will make code more readable: > > (defun context-menu-dictionary (menu click) > (when (thing-at-mouse click 'word) > > so I will change the call to provide the arg from last-input-event, > and maybe later it will be possible to acquire the same event > more directly, not from last-input-event, and all callers will get it. So now a new arg 'click' was added to all context-menu-functions.