From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#52374: keymap-lookup with prefixes returns nil Date: Wed, 8 Dec 2021 13:21:10 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32742"; mail-complaints-to="usenet@ciao.gmane.io" To: 52374@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 08 13:22: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 1muvxb-0008KR-Sj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 13:22:11 +0100 Original-Received: from localhost ([::1]:44602 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1muvxa-0004Kg-GI for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 08 Dec 2021 07:22:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57848) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muvxT-0004K8-Rq for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 07:22:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56377) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muvxT-000146-Jo for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 07:22:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1muvxS-0007q3-Gb for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 07:22:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Dec 2021 12:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 52374 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163896607830064 (code B ref -1); Wed, 08 Dec 2021 12:22:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Dec 2021 12:21:18 +0000 Original-Received: from localhost ([127.0.0.1]:39685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muvwj-0007oq-TW for submit@debbugs.gnu.org; Wed, 08 Dec 2021 07:21:18 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:45840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1muvwi-0007oj-PW for submit@debbugs.gnu.org; Wed, 08 Dec 2021 07:21:17 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1muvwh-00040u-5L for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 07:21:16 -0500 Original-Received: from mail-pj1-f47.google.com ([209.85.216.47]:56121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1muvwe-0000UO-K4 for bug-gnu-emacs@gnu.org; Wed, 08 Dec 2021 07:21:14 -0500 Original-Received: by mail-pj1-f47.google.com with SMTP id v23so1785122pjr.5 for ; Wed, 08 Dec 2021 04:21:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=3vHOSsekVN9IQYfKxiVNXfhJ0g2CZ22IoJWkpN3zE4M=; b=TqzveTNIDN+3Mhl4Sqn9VFRQJwY8uEVhJbpo/STzJwgiKiLlEoiu21Iwp65Lo/5kBd Xb74Voyy+lbwI+0dorXqUgsJoC3PaQrbV8upYgtG94jq3fOFyj3TuLHDgkKQPzX6sanQ a/TwFCwy+M5PkqY5S4RFncvaPhJm2khatDMRwJxhahNw+5IWZ1sc2KLKgYKEzh1rMNMk akJH5CAgWfy2v5JeLiza86pdOAgJCBH1/UZ6xCpIgsRfCjLY/IJzrTWtwypUGnrosks6 e+cvhar+N0qn7Th8PtpJLvmEGQsaZ072mRe7A74Y8VnqMxXI7asxCt6+YQSEfwxpQByX moJQ== X-Gm-Message-State: AOAM531gybdlcEVzC8z6zprGT1Cv612jckaBU5ErngMtyUJLU3bMT+H+ 2eiSqql6V0gpo8ZRNvI3KZUYkzrqnMlstK8PUIeZud9G X-Google-Smtp-Source: ABdhPJxoviAb4haAFDPvARtVVBoRSuIrTA34GzV22L0KqD0TVYSppInxNlr70uLwCYVtW8ijJMBiPmeBEUvNHbyCOPI= X-Received: by 2002:a17:90a:be10:: with SMTP id a16mr6742433pjs.133.1638966070752; Wed, 08 Dec 2021 04:21:10 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 8 Dec 2021 13:21:10 +0100 Received-SPF: pass client-ip=209.85.216.47; envelope-from=stefankangas@gmail.com; helo=mail-pj1-f47.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action 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:221920 Archived-At: Run emacs -Q, type `M-x re-builder RET' and then `C-c C-q': Now evaluate: (lookup-key reb-mode-map "\C-c") => (keymap (21 . reb-force-update) (2 . reb-change-target-buffer) ...) Compare this to: (keymap-lookup reb-mode-map "C-c") => nil Is the second result expected, or is it a bug?