From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#9923: 24.0.91; `where-is' does not find recentf menu items (cmds, not files) Date: Sun, 29 Aug 2021 20:46:00 +0200 Message-ID: <87y28kf5sn.fsf@gnus.org> References: <76FA3F83D086455EAA01FF0FB000FCDB@us.oracle.com> <871r6hk99k.fsf@gnus.org> <87bl5k2ug1.fsf@gnus.org> <87czpwb4gw.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="23742"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 9923@debbugs.gnu.org, Stefan Monnier To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 29 20:47:13 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 1mKPpp-0005xl-0T for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Aug 2021 20:47:13 +0200 Original-Received: from localhost ([::1]:46432 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKPpn-0002wC-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 29 Aug 2021 14:47:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKPpe-0002vL-P1 for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2021 14:47:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKPpe-0005zO-ID for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2021 14:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mKPpe-0006EE-GV for bug-gnu-emacs@gnu.org; Sun, 29 Aug 2021 14:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 29 Aug 2021 18:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9923 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 9923-submit@debbugs.gnu.org id=B9923.163026278423888 (code B ref 9923); Sun, 29 Aug 2021 18:47:02 +0000 Original-Received: (at 9923) by debbugs.gnu.org; 29 Aug 2021 18:46:24 +0000 Original-Received: from localhost ([127.0.0.1]:57372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKPox-0006D9-K7 for submit@debbugs.gnu.org; Sun, 29 Aug 2021 14:46:24 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:55118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mKPor-0006Cq-CI for 9923@debbugs.gnu.org; Sun, 29 Aug 2021 14:46:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=WKJh60dKEk7m70nGtAyNB/3rSht6lJ2wNONPQsyw6iY=; b=fRd3asKGIZcj8CzmLLqMOjRoeB 7IpDkfzo4cJpIdMYwtPeK+DsH/eJGL6wRTOr7VItpqE9DCtYL/o1IBcD4xCd0nD/TnlMPj3sAd8Rw rdTFYac07oms9chNtU8bMva8MlQmSYGkyrPl31u2pV9cjIMXecL0VOkdETxo9de7Tep4=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mKPof-0002YT-5x; Sun, 29 Aug 2021 20:46:05 +0200 In-Reply-To: <87czpwb4gw.fsf@mail.linkov.net> (Juri Linkov's message of "Sun, 29 Aug 2021 19:48:15 +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:212950 Archived-At: Juri Linkov writes: > Another question: is it possible not to evaluate :filter in where-is as all? Then it'd find even less commands, I think? > Yesterday I added to context-menu-map such lines: > > (let ((fun (mouse-posn-property (event-start last-input-event) > 'context-menu-function))) > > but now noticed that after typing 'C-h m' it fails with: > > Debugger entered--Lisp error: (args-out-of-range 1786) > mouse-posn-property((# 1786 (0 . 0) 0) context-menu-function) > context-menu-map() Well, you could just check that last-input-event is a mouse event before calling that function? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no