From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Variable for Confirming Killing a Buffer Date: Thu, 2 Dec 2021 14:41:23 -0800 Message-ID: References: <9EA40AE1-5B31-45D9-AF71-17BB3C6AB8A3@me.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32776"; mail-complaints-to="usenet@ciao.gmane.io" To: Oliver Taylor , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 02 23:42:29 2021 Return-path: Envelope-to: ged-emacs-devel@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 1msuma-0008KN-VT for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Dec 2021 23:42:28 +0100 Original-Received: from localhost ([::1]:36782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msumY-0004SV-W0 for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Dec 2021 17:42:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:40878) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msulb-0003i7-5U for emacs-devel@gnu.org; Thu, 02 Dec 2021 17:41:27 -0500 Original-Received: from [2607:f8b0:4864:20::42f] (port=42615 helo=mail-pf1-x42f.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msulY-0004NP-V1 for emacs-devel@gnu.org; Thu, 02 Dec 2021 17:41:26 -0500 Original-Received: by mail-pf1-x42f.google.com with SMTP id u80so968978pfc.9 for ; Thu, 02 Dec 2021 14:41:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :content-transfer-encoding; bh=kNf1/s1+2AmKjUTOwjgQgz1T5q0DZsqIXkmUMIRL1wU=; b=oIua92e5MG5j+9oYhEcAfJJX6z7Ciow/4uWb60fb/Sn2pWj4SsG0tN0Zx5zug7oQhR m/cM5ngjih0P+J/XDXiszmEkNvFN79FQ3ZwB98nHOvFMUxwTce6/CVVJUxrKwGITaeGX sC2V1Z1jqPWDUHI/JVP/B47W/o8F04+hrCbsNDao7bgSWxpd1CexI3Sa61LmR9meQM8+ rlSUm/FypfL+s8ABPVHTZqevfB9ZgWJMjXeMRZ9R36V1fdIO5uzF3kRdNhbPuz6WIw/w fEusEuD8UlTlv44uIUQsilju8ldwf94o1VLQUc7byKkhNHyaTwgWrXGJ+zk0dgPnpxYi EwSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:content-transfer-encoding; bh=kNf1/s1+2AmKjUTOwjgQgz1T5q0DZsqIXkmUMIRL1wU=; b=HnvMggknH6xXD8Xtj5nI5xrAqPpk1ywo8SmCIfBRKoy4JdhbTMI1bFfBLLsm+jgzCz nmCjOO4ePdphxWckvow0kCb99ORbC+gEGtu6vQ9dsm3sSPdF3IRXPoZx7oYKc7mYvbOf 51vzpkXbvOlRqCYotTUcXu75SF2fmggvIXlvH7xL1y9xgDFgH+Xrcfgsc5neRzW4sjVV fwuRFLZzIs5GsNtviaqVZAusdmoT2NpU3T+7lOm1Bqq+ygYZC70qcD8htO4zB0WvUOzz eWYAfJ8C2nicIIVasFWIU93gdh8o0HULTiwe+9Lf5/bvvLHnYOUVvWLwzQcQK2oxgsAT 9xEw== X-Gm-Message-State: AOAM531yZvNUAGJyzGIBad7zKlQDwwhxRDoKb92e3BmCaiI6dmz/Ywhq DIcBV2wM4ItNxWmmIn5Orj+x2L8KIyaOdkagk1xh3s7e X-Google-Smtp-Source: ABdhPJxbT+1bnWT2AsEpP40L8o8hZgqkzqehCMmgnh44+YEkcG6sNgTem2vISV+NZ/qyePx9BETnNXn9jJlVjDxrajU= X-Received: by 2002:a05:6a00:2444:b0:4ab:15b9:20e5 with SMTP id d4-20020a056a00244400b004ab15b920e5mr263869pfj.0.1638484883615; Thu, 02 Dec 2021 14:41:23 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 2 Dec 2021 14:41:23 -0800 In-Reply-To: <9EA40AE1-5B31-45D9-AF71-17BB3C6AB8A3@me.com> X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42f (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42f; envelope-from=stefankangas@gmail.com; helo=mail-pf1-x42f.google.com X-Spam_score_int: 6 X-Spam_score: 0.6 X-Spam_bar: / X-Spam_report: (0.6 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280795 Archived-At: Oliver Taylor writes: > Now, doing (setq-local buffer-confirm-kill t) will prevent accidental dat= a > loss. Could you describe the scenario(s) under which you have experienced accidental data loss in more detail? Which modes were you using? > I just had a new baby so I can=E2=80=99t promise to keep up with response= s to this > thread, Congratulations! Sounds like you'll have no trouble staying busy. :-)