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: Fri, 17 Jul 2020 18:43:44 +0300 Message-ID: <640d9aa4-01fb-23f4-b5e0-045e59233dea@yandex.ru> References: <878sfjkh8o.fsf@warpmail.net> <87sgdqduqb.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="16329"; 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." , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 17 17:44:29 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 1jwSXF-00048e-81 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jul 2020 17:44:29 +0200 Original-Received: from localhost ([::1]:49282 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwSXE-00049y-Aj for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Jul 2020 11:44:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwSWo-00047u-GZ for bug-gnu-emacs@gnu.org; Fri, 17 Jul 2020 11:44:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46360) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jwSWo-0001mE-6Z for bug-gnu-emacs@gnu.org; Fri, 17 Jul 2020 11:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jwSWo-0004XC-4N for bug-gnu-emacs@gnu.org; Fri, 17 Jul 2020 11:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Jul 2020 15:44:02 +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.159500063517408 (code B ref 42386); Fri, 17 Jul 2020 15:44:02 +0000 Original-Received: (at 42386) by debbugs.gnu.org; 17 Jul 2020 15:43:55 +0000 Original-Received: from localhost ([127.0.0.1]:57906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwSWh-0004Wi-J4 for submit@debbugs.gnu.org; Fri, 17 Jul 2020 11:43:55 -0400 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:44081) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jwSWe-0004WR-3H for 42386@debbugs.gnu.org; Fri, 17 Jul 2020 11:43:54 -0400 Original-Received: by mail-wr1-f51.google.com with SMTP id b6so11612890wrs.11 for <42386@debbugs.gnu.org>; Fri, 17 Jul 2020 08:43:51 -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=8fQqWyaLNN7R6ZXoboy9GsvKg+DhUSvAbzVuzdZvlH8=; b=B1usOebO4gKIspCtMYFOqS9075y8L98poNzB8uJgniwBbBzmbhjzMCfQmrc97hzqAE 5ZtuGa20AByEbo2qXiyXlIwd7kjWoIOAEWf7GyTD28uVu1XbjqMJ3J0eZH/7FGKHXGTJ nn2r86b+2pj7UMU0hgqbSzEIMkaalRLG6g9BLXsZPekmAYFg/lYU4SGy+BsgxJ9CWMFV /r8LDAWsvLUIr2HgXwHw639I5MPCl/Q4EhlGqppxXuCavj/ztCk77r7cQCRuOZjHY9hb HcdHIbqmbdL2dGvRashdc5Typu6d9XjSpTo473bHNJoEkf321OtUNqq4xkezQFtCTjq6 hCsw== 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=8fQqWyaLNN7R6ZXoboy9GsvKg+DhUSvAbzVuzdZvlH8=; b=l2HFtkNp0072BjmVbN25ZH/o39kQrj4W+QrnbJgpC3tI3bVFUj/LKRF8k9+n8XR0cp nTGn/5lHbmEm01kLbUCNRSXO2CLDvFL4EJBuiPrVLGgsk6j6IC1NJPT3PHVk3oGvNVOJ yhd3n8UzcmhNVvuHYvN/GeXHerDyyitCxcg0Q4fznXzH6aRpkcRtU93fcwBape00rT9I dlyDJi9ych8vVEpyCoG5gQiHPvZtHM+O4MbcFPD1SCQmS9Eg/d3dwQPKOkFCeZpaI9vv OEStXFTKawdZmjlFEMBKkrJU9adt5RWyN/v+we401/Ak8LNHumQq3io2vs7q6lZKmCG4 /O4A== X-Gm-Message-State: AOAM533FUVLP4O2osRJNCCxe9mEQ5g0ZlIOUEEG4skl2d+UmXUNcnGUQ 3yoJllFtVOg3Uwh3HrxRgyYK28I6 X-Google-Smtp-Source: ABdhPJxNEK36ZU1ZxWkPQxGqvgut3mUmkLUWmiLRadlAXSpjEmyQjK8flOOzJDC9IhReyTkSBoRV9g== X-Received: by 2002:adf:9525:: with SMTP id 34mr11614540wrs.313.1595000625821; Fri, 17 Jul 2020 08:43:45 -0700 (PDT) Original-Received: from [192.168.0.6] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id k126sm15176907wmf.3.2020.07.17.08.43.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Jul 2020 08:43:45 -0700 (PDT) In-Reply-To: <87sgdqduqb.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:183155 Archived-At: On 17.07.2020 18:30, Philip K. wrote: > (defcustom project-kill-buffers-ignores > '("\\*Help\\*") You might as well update the default value. > +- a cons-cell, where the car describes how to interpret the cdr. > + If the car contains `major-mode', the cdr has to be the symbol > + of a major mode, that should never be killed. ...and its derivatives? Or I wonder if you should just use memq in the implementation. Both font-lock-global-modes and desktop-modes-not-to-save are not applied to derivatives.