From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauro Aranda Newsgroups: gmane.emacs.bugs Subject: bug#44764: 28.0.50; Wrong menu binding for file in tree fileset Date: Tue, 24 Nov 2020 08:51:24 -0300 Message-ID: <5fbcf3c0.1c69fb81.9c320.fb14@mx.google.com> References: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5339"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44764@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 24 12:52:57 2020 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 1khWsQ-0001Eo-6z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Nov 2020 12:52:54 +0100 Original-Received: from localhost ([::1]:36084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khWsO-0005wd-Lu for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 24 Nov 2020 06:52:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52076) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khWra-0005hQ-2V for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 06:52:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46317) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khWrZ-0008R6-RI for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 06:52:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khWrZ-0001Gd-P9 for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2020 06:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mauro Aranda Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Nov 2020 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44764 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 44764-submit@debbugs.gnu.org id=B44764.16062187014833 (code B ref 44764); Tue, 24 Nov 2020 11:52:01 +0000 Original-Received: (at 44764) by debbugs.gnu.org; 24 Nov 2020 11:51:41 +0000 Original-Received: from localhost ([127.0.0.1]:57858 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khWrE-0001Fs-WB for submit@debbugs.gnu.org; Tue, 24 Nov 2020 06:51:41 -0500 Original-Received: from mail-qk1-f179.google.com ([209.85.222.179]:44971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khWr9-0001FR-6a; Tue, 24 Nov 2020 06:51:35 -0500 Original-Received: by mail-qk1-f179.google.com with SMTP id y18so3739254qki.11; Tue, 24 Nov 2020 03:51:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:from:to:cc:subject:in-reply-to:date:mime-version; bh=NYerKx4yNnfbcPPnFcWc2z2XUbamgNrCvC7DQoe+I44=; b=WPbTvZszN745uZN8s54r4bKUS2MUV2EQTdjMRefFkaOmNw5AH8PZPaiMxMQpT1wZev GPLX+wPVQ8baH4Kv+OM7qSsySikfa6fDbtzhxFx0ZQXdvzKBDAbME15pVctzEvSuYXLw JDWRZTH+ax9tlO+Bh7vCiOMWwrlmYDT0jNgoWf/DbcsDIAOmZOpNfwtZ4lsxgsMCfWX7 F4HWDcWwvLM53a1E0vATmM+4cE/bVOQkTbEBjNT/iTWMIngn5hyAzHnnyFo4JeQYpOtj SKFl093u/nPFNjNw5eiW0MsFZTN2fsNBVoNatpecXRJqo3v/nAE2z79zEBeKJ5ChP3pF 3WFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:from:to:cc:subject:in-reply-to:date :mime-version; bh=NYerKx4yNnfbcPPnFcWc2z2XUbamgNrCvC7DQoe+I44=; b=o8Ff016BacuY8kjKTRVF4eyBx4AKl3scj/NjU60Qx72jmost699RTLmoa6YDIkFiiS ySRfRRkvsSNWZVQGfDGRjynSZQM5wKHSUx/OlA7UNpyM8L++c2r8uvrZ1+e3dKkJEGdA q7WSX/YcOjMVrmDGTz8DKZlRI6vRh96MUJIdXeDJ5dPOIwM9rW1mNsPnzxA675L4BBja 3/eOqP9AXJl4zj0edkauiATvuqxX7GtaCimWql8stsQMf3Y777Nbv9WpW/yj1zI/TTGT 93P6g/tDSP/K7fCCIHSVnFuZ0denZPE08GjbY2AzWV9XglC+jyrEghGhCFFFNVJVHgnD HtjQ== X-Gm-Message-State: AOAM5324d4ePMGdMa/4ZmBHwyc8agw6NWj0bVh9XBhgvFYS8P1K9lkpI 0QXZYTQIkC0CAYyBCplYXWocqsveWwTuNQ== X-Google-Smtp-Source: ABdhPJz2yTs2w3PfDBX5G7xsDukCM5SPoknUzpISaLRfohvJp804NQovhsgSdo/JjoDpb+mTYebtyg== X-Received: by 2002:ae9:c306:: with SMTP id n6mr4095208qkg.77.1606218689033; Tue, 24 Nov 2020 03:51:29 -0800 (PST) Original-Received: from tbb-desktop ([201.213.132.172]) by smtp.gmail.com with ESMTPSA id a42sm3936650qtk.64.2020.11.24.03.51.26 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 24 Nov 2020 03:51:28 -0800 (PST) X-Google-Original-Message-ID: <87o8jngegz.fsf@maurooaranda@gmail.com> In-Reply-To: <87h7pf9rt4.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 24 Nov 2020 07:45:11 +0100) 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:194067 Archived-At: tags 44764 fixed close 44764 quit Lars Ingebrigtsen writes: > Mauro Aranda writes: >> - (apply 'vector (list name (cdr (append submenu nil))))))) >> -; (vconcat `[,name] (subseq submenu 1))))) >> + (apply 'vector (list name (cadr (append submenu nil))))))) > > I'm not very familiar with the filesets code, but I think this makes > sense. I wonder slightly about that commented-out code, but it's been > there since the file was added to Emacs, so I guess we won't find out > what that's about. I think it's an attempt to do the same operation, but using subseq, or cl-subseq nowadays. It's not a big deal, so I kept that commented out code, in case someone wants to take a look at that someday.