From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Cl=c3=a9ment_Pit-Claudel?= Newsgroups: gmane.emacs.devel Subject: Re: kill-matching-buffers without confirmation Date: Mon, 22 May 2017 14:45:47 -0400 Message-ID: <126b99e9-6af4-0ed7-2f8b-aee7e04c3022@gmail.com> References: <537757403.6158992.1495470490914.ref@mail.yahoo.com> <537757403.6158992.1495470490914@mail.yahoo.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1495478758 21169 195.159.176.226 (22 May 2017 18:45:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 May 2017 18:45:58 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 To: Kaushal Modi , "R. Diez" , Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 22 20:45:54 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dCsL3-0005PA-Su for ged-emacs-devel@m.gmane.org; Mon, 22 May 2017 20:45:54 +0200 Original-Received: from localhost ([::1]:44390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCsL9-0001pD-JL for ged-emacs-devel@m.gmane.org; Mon, 22 May 2017 14:45:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54495) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCsL3-0001p6-6v for emacs-devel@gnu.org; Mon, 22 May 2017 14:45:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCsL0-0005MX-3j for emacs-devel@gnu.org; Mon, 22 May 2017 14:45:53 -0400 Original-Received: from mail-qk0-x22f.google.com ([2607:f8b0:400d:c09::22f]:32945) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dCsKz-0005M9-VY for emacs-devel@gnu.org; Mon, 22 May 2017 14:45:50 -0400 Original-Received: by mail-qk0-x22f.google.com with SMTP id y201so113664431qka.0 for ; Mon, 22 May 2017 11:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=CBomXihY5WKf8U0kyU9tflTsABjiXR7FnI1VA2wfrHM=; b=mHjHB8RZJLlqlpDRbYqfOM7srxc8yevSMVZqwiQW0+NypDeyCQPMp/FWk26a7j301M VT5ga1Qjf8PWWmQHVwyV9h6G/OMtnZQWO03sH113oPHi8hWJV9wKX/5NZRhgIwoEe+lQ 3ZctUYPRd1wPfjMVoFJNhkSVHM/c3yFOt0Q11vXgtz8E2Wfw+JUutGfqHMD46vTEHt5i 64MRCO9At+fiJHlgUZrBbOxMZrbJb5R7+9/xsRT3TtOZOsSn0gwo3zK+vCOjwpOTEAi1 +XsGqmkr+3AYKNhfp0O/RPWq8IiRDdMJUzf3YBMYhAJGVBeW1yEwfacLqisAuCt48sFw TrRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=CBomXihY5WKf8U0kyU9tflTsABjiXR7FnI1VA2wfrHM=; b=SiLUNx5LoJNy8ZOkwIZVZO11Hz41p0ostW1hjP8bvlwc+F+u72w/DFmAIjlktQpKaD awHTc6Ax8kC8Wc3FFbeMAsH/pLW0eOkVeimy59wrtpsnLnLtiNYCHvj0A6MnEs8+4KIQ 1OJt55PO9EP04Rz+pmnGGf/zy+LdO3s85l9oIjoxEBq3JnzrceWGu9hATfxNq0Calw1H CPoubSThcDqfeBScN/XSg+/db4ZXgLNs04sGtaU8y542pTKnHtCEzGzozgmiCANdSt6R qXfxb+MaQuCHosvPfqIPtdZ3VGTHIy/Q29VYfzAFMTkK2z8f3cKXCW9ho/H7GeEaqg4I cR+A== X-Gm-Message-State: AODbwcCTp/9HwJcCgbn1zpt9FxgzefIogrobbccLfTO3J1Fm/WXDeO4p Q2MlrzM+GRCm1g== X-Received: by 10.55.98.147 with SMTP id w141mr21631743qkb.90.1495478749340; Mon, 22 May 2017 11:45:49 -0700 (PDT) Original-Received: from [128.30.9.236] (30-9-236.wireless.csail.mit.edu. [128.30.9.236]) by smtp.gmail.com with ESMTPSA id h3sm12489611qte.11.2017.05.22.11.45.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 22 May 2017 11:45:49 -0700 (PDT) In-Reply-To: Content-Language: en-GB X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c09::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215098 Archived-At: On 2017-05-22 14:42, Kaushal Modi wrote: >> (Your workaround works, but the OP was about a clean way to do that, and a new defun + an flet is relatively heavy) > I found the cl-left approach very concise. But yes, if this is a feature request, then may be add another optional argument? Or a defcustom, since it seems that the usual approach is to override the behavior unconditionally.