From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "R. Diez" Newsgroups: gmane.emacs.devel Subject: kill-matching-buffers without confirmation Date: Mon, 22 May 2017 16:28:10 +0000 (UTC) Message-ID: <537757403.6158992.1495470490914@mail.yahoo.com> References: <537757403.6158992.1495470490914.ref@mail.yahoo.com> Reply-To: "R. Diez" NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495476682 8138 195.159.176.226 (22 May 2017 18:11:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 22 May 2017 18:11:22 +0000 (UTC) To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 22 20:11:17 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 1dCrnY-0001zB-E7 for ged-emacs-devel@m.gmane.org; Mon, 22 May 2017 20:11:16 +0200 Original-Received: from localhost ([::1]:44256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCrnd-00085A-Tt for ged-emacs-devel@m.gmane.org; Mon, 22 May 2017 14:11:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCqBt-0007dD-85 for emacs-devel@gnu.org; Mon, 22 May 2017 12:28:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dCqBq-0004zj-4A for emacs-devel@gnu.org; Mon, 22 May 2017 12:28:17 -0400 Original-Received: from sonic319-29.consmr.mail.ir2.yahoo.com ([77.238.179.44]:44834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dCqBp-0004zU-TV for emacs-devel@gnu.org; Mon, 22 May 2017 12:28:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.de; s=s2048; t=1495470491; bh=6+EdgNkxHE94mYmuKG1G0sFLH91Xak7q6+g2Gt67SXA=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=GxTyMbh72Hm7dNHDWlFQfWoNLZYhKyEzrgd/VVfSC2kqK5M+haICcrfDc7bXtJ01z3DS4+z3sPzuqk/o+n5L5J0MEv2lU7bX5Xk2oAUS94A4FhE9fOPTULmiScmiOC2qImqT3yikeUxEduGZ6q2nIufniI5l4q/205dyhXQjhEWwGBkS1ALsNBLRTyvvL6Eiq9QUBfsZQ7xwTQSxVIZ70R/UqCE6Ni8AWEMHd9EM6wO25qaeatHeZ02qDqAZr6H5sOm5r5C03GAAyPEbhH29ZnjhAPlNr1A8EH8Xe4MrKi6CKpBcsJfMmNwGAywPWtQAR1FxyRuP7mYWjC7q5DGLeQ== X-YMail-OSG: igmW66YVM1n26sgudQ6FC7pcllzdCG7plRTETicfxdwj.KWNbkO.TgwK0WDpwWH EZPnMYRQFFjqBJBHrpqp4GdgodwUENtkA6uTqqc9GiMny5GKwR83jJpouMtfsiUPZakaVJPxYC5U EN6NAo86o55mH1QepaGUg7tQTshAjAEvYdZWIWHDW_5axe.9svAfTRSs41CmJ.04rHTX9e5X7t0u hseU6KA0ueAGDc5fLFrYYXsk9771mUPjtn__FRfpttAp5k68.5pvF0JsN9mhGpbN.DSfpKPLI0rZ OkltlqDw.4s0cOsRIcIne2GfwUy_daYb6nlrewFe902uye0lX5gmeTk5hz6BdB0Z.6Bt76wMTEtj f0cgAbhrhKAsovrgzbh8piE2597vUPNeiTNDhYBhnCCnQ6wTioz3.q4wS5P53zDmlvEjSJ5j3hX4 msVcz8pNGI9tRcTXHmPN5tP3sMblSq9NR.Lxd5QuipNeD9ByE6e.rHiwxDcgTP6hjz8EDUMbm6or trF.Rh_Aau5Y.aezMSekp71jNwI.hU74PiEd3fD314DiV4xfd6w-- Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic319.consmr.mail.ir2.yahoo.com with HTTP; Mon, 22 May 2017 16:28:11 +0000 X-Mailer: WebService/1.1.9679 YahooMailNeo Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:53.0) Gecko/20100101 Firefox/53.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 77.238.179.44 X-Mailman-Approved-At: Mon, 22 May 2017 14:11:14 -0400 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:215092 Archived-At: Hallo all: Could someone please add a clean way for 'kill-matching-buffers' to not ask= for confirmation? Apparently, I am not the only once that has hit this nag= : https://stackoverflow.com/questions/10929915/how-do-i-answer-y-automaticall= y-kill-matching-buffers-asks-if-i-should-kill-a-m I am tired of overriding 'kill-buffer-ask' with flet as suggested there, an= d then seeing this warning: Warning (bytecomp): =E2=80=98flet=E2=80=99 is an obsolete macro (as of 24.3= ); use either =E2=80=98cl-flet=E2=80=99 or =E2=80=98cl-letf=E2=80=99. And then remembering that cl-flet does not work, and it gets complicated wi= th Lisp macros, dynamic something, etc. I am no Elisp expert. I am sending this e-mail to this mailing list because that function lives i= n files.el, which states at the top: ;; Maintainer: emacs-devel@gnu.org ;; Package: emacs Please copy me on the answer, as I am not subscribed to the list. Regards, rdiez