From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#42386: Acknowledgement ([PATCH] Handle symbols in project-kill-buffers-ignores) Date: Mon, 20 Jul 2020 16:39:59 +0300 Message-ID: <920f6e5b-2ef6-3385-73cc-9e344e621c69@yandex.ru> References: <87pn8q9yp1.fsf@warpmail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14575"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 Cc: 42386@debbugs.gnu.org To: "Philip K." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 20 15:41:10 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 1jxW2Y-0003gS-CY for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jul 2020 15:41:10 +0200 Original-Received: from localhost ([::1]:38490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jxW2X-0002gm-50 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 20 Jul 2020 09:41:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40392) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxW2P-0002gO-Vj for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 09:41:01 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50931) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jxW2P-000588-NE for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 09:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jxW2P-0007QU-Kp for bug-gnu-emacs@gnu.org; Mon, 20 Jul 2020 09:41:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Jul 2020 13:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42386 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 42386-submit@debbugs.gnu.org id=B42386.159525241128482 (code B ref 42386); Mon, 20 Jul 2020 13:41:01 +0000 Original-Received: (at 42386) by debbugs.gnu.org; 20 Jul 2020 13:40:11 +0000 Original-Received: from localhost ([127.0.0.1]:34244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxW1a-0007PJ-Ji for submit@debbugs.gnu.org; Mon, 20 Jul 2020 09:40:10 -0400 Original-Received: from mail-ed1-f52.google.com ([209.85.208.52]:39139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jxW1X-0007Oz-JV for 42386@debbugs.gnu.org; Mon, 20 Jul 2020 09:40:09 -0400 Original-Received: by mail-ed1-f52.google.com with SMTP id d18so12793706edv.6 for <42386@debbugs.gnu.org>; Mon, 20 Jul 2020 06:40:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=4kvkAXqlYos0TStttRUG/t2TitX2azLgaWerEBLekSA=; b=CNir/Vypw5GVjGdKmRGBdKffuZ2yGdIsrNc10Y5WrAmz4MYMANuLLdVjd7MRcHAsav tZugGmOcVzgH5TmKrsjxqn+KWwJw0gCQfAyFjeXFbMri3VWJu6kArZjEeRJmoafQFnG+ a5V+iVuuzZNEqAoiSnKI9lCEqNb6ahgD3oh0xPZVmiBWb6qAKo3Y+GSGQfAKpUlX4VP7 uwHNV9arK1dHD+qk8M/fltXlywM3Nh6PPoYuwHe6TmP43hCRn7tdC0YWqe5Re0rlXzlt m7LJmQ/rLjXfJW4kI+zHD7geaw5uXK3U3TVzXevt/LO/w6K/cxtSILUfmAdzyf4VPVAn uU+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=4kvkAXqlYos0TStttRUG/t2TitX2azLgaWerEBLekSA=; b=TOpbEmuvI1mAOEhS4MC0jT6JBUM1w8VB4H/P1T16KYswBRIJaY/uvOmFYI0ZzrlzGm FG6n3teJae8D+rrfxBH4yhjnMDOR2TUTSVllUHl7V4rL335apWSCEkdoWSJDvxhEBJBJ 5PKY6lyfVUINtdCn+XhAL1TkZCArCyInCy5+eF4jKSqzncj/XjbU9KhqR/2Xfx+RyH6Y eyUe4a7b7aIy6H4wkyDhEQoERdm9veRj4u1oASQEJZmVsVfKL4OmkqgqLC0qVerpeT9z iynzUjNk1sq7QR8jR3IeBRY1NeMmwQA4OkQigOUN1O28Bt5kkkB9f0luYhmDhUsECpYL qQjw== X-Gm-Message-State: AOAM530JjcXV2nMZuwk+G1/6Bsm5JpIlYpJafALxBAu/EThfO6oV4ju4 BisWyjF7NdUbJaU9pQvBCND47dGk X-Google-Smtp-Source: ABdhPJwoeUsDE/MfbfTxk+yztBYb9en3xeIo8HiB5yXtAEsZsSW7jnsILK+tztyNZrfpvoHRoMoKmQ== X-Received: by 2002:a05:6402:21d3:: with SMTP id bi19mr22006310edb.56.1595252401255; Mon, 20 Jul 2020 06:40:01 -0700 (PDT) Original-Received: from [192.168.0.127] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id mf24sm14876273ejb.58.2020.07.20.06.40.00 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 20 Jul 2020 06:40:00 -0700 (PDT) In-Reply-To: <87pn8q9yp1.fsf@warpmail.net> Content-Language: en-US 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:183312 Archived-At: On 20.07.2020 15:07, Philip K. wrote: >>> + ((eq (car-safe c) 'or) >>> + (seq-some >>> + (apply-partially #'project--kill-buffer-check >>> + buf) >> I think we can simply recurse in this case. > I feel stupid for asking, but what do you mean? Am I not recursively > calling project--kill-buffer-check? Just (project--kill-buffer-check buf (cdr c)) instead of using apply-partially since we use the 'or' semantics by default already in there. It's not a big thing, and can be changed later anyway.