From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nick Helm Newsgroups: gmane.emacs.bugs Subject: bug#28843: 26.0.90; gnus kills unsaved message buffer Date: Sat, 14 Apr 2018 15:11:26 +1200 Message-ID: References: <877ev1xzjf.fsf@ericabrahamsen.net> <87po35xwcn.fsf@mouse.gnus.org> <87r2nksllc.fsf@mouse.gnus.org> 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 1523675414 16999 195.159.176.226 (14 Apr 2018 03:10:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 14 Apr 2018 03:10:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cc: Eric Abrahamsen , 28843@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 14 05:10:09 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1f7BZp-0004KY-IF for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Apr 2018 05:10:09 +0200 Original-Received: from localhost ([::1]:51026 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7Bbw-0005PB-7w for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Apr 2018 23:12:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f7Bbl-0005OT-Bt for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2018 23:12:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f7Bbg-0006Ak-D6 for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2018 23:12:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43307) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f7Bbg-0006AO-5I for bug-gnu-emacs@gnu.org; Fri, 13 Apr 2018 23:12:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1f7Bbe-0001kV-8t; Fri, 13 Apr 2018 23:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Nick Helm Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bugs@gnus.org Resent-Date: Sat, 14 Apr 2018 03:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28843 X-GNU-PR-Package: emacs,gnus X-GNU-PR-Keywords: Original-Received: via spool by 28843-submit@debbugs.gnu.org id=B28843.15236755026696 (code B ref 28843); Sat, 14 Apr 2018 03:12:02 +0000 Original-Received: (at 28843) by debbugs.gnu.org; 14 Apr 2018 03:11:42 +0000 Original-Received: from localhost ([127.0.0.1]:51204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7BbK-0001jw-9B for submit@debbugs.gnu.org; Fri, 13 Apr 2018 23:11:42 -0400 Original-Received: from mail-sy3aus01on0125.outbound.protection.outlook.com ([104.47.117.125]:33472 helo=AUS01-SY3-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f7BbH-0001ji-Ju for 28843@debbugs.gnu.org; Fri, 13 Apr 2018 23:11:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=zNbpYVGJBcuzTtjlLZNJRCPxsti7AaKl657fb0q8ew4=; b=Ii8itrC72rxUr0I36xII8ky4Y6NtKxLjeyWWy4mni8HpMNBAoZS/fd72FFyGiQGZLMpyjD5G6rJbBs1tbYCsYVbY1KodGe04ykPw3EPJOkdo8W5SZX6G3bqjOzZmwQ93nrGjLI4uM98ZsK/La0LhkFVSm80SB1/5iOPgv5ytrbs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nick@tenpoint.co.nz; Original-Received: from jupiter.local (125.239.174.80) by SYAPR01MB2911.ausprd01.prod.outlook.com (2603:10c6:1:11::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.10; Sat, 14 Apr 2018 03:11:30 +0000 In-Reply-To: <87r2nksllc.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Thu, 12 Apr 2018 13:36:15 +0200") X-Originating-IP: [125.239.174.80] X-ClientProxiedBy: SY3PR01CA0117.ausprd01.prod.outlook.com (2603:10c6:0:1a::26) To SYAPR01MB2911.ausprd01.prod.outlook.com (2603:10c6:1:11::11) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(5600026)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(2017052603328)(7153060)(7193020); SRVR:SYAPR01MB2911; X-Microsoft-Exchange-Diagnostics: 1; SYAPR01MB2911; 3:1uPiC+Hu0UlnMfEmLmEP88b6HdQn/TmMQlmihLeJWwpm2ru+fQMggdxUgjRafHp7cTdkijGUkyHpSs0St/9BvmG+607nfosl3jq8pk6vx9EC8oOfoFLZBH08IgF4+tTl8DQHbmRhyj6r9xwBTYYQQXi6eF33LMjvyFdaBlp4acV3usJ8V/6VUWMz50ai34RLIu+vpzuqyxCvax6kdT4pdpH34wg9Ja+TTzMk/z/UvMUrjGj/BQC9SjaN7nIfRnzy; 25:u8Ytx7Xu4HUFDrdxxrBt51UBhY2qQKDA7rSEE9YJhkWDv11BeAXukXwwV0e9osavBjC/AePwN5dq9xRbaiDV00b5Cah9omk2dL865gE2EWyouRiS0wAlqKlWlt4FOs8+zSbR1XAlaUOFKliBkB8iNhUSKCfakXmbR6y2dhiuPpcS8S00OIlFUIUYcwH1bpX0xXO4T4WzdbJKoojabCf50Hg9hsFh7ibCrijcfHvZB1cm3e2t3HVqbFjzzyWmznCqzi4yWW9b4zfZ/4BbXmHCC4LHqVrX59SfxIKxSkAJaGRnHpUpuXrl0f15YGYtPVgIaHH8BVtxGCloJwbzTg4Wgw==; 31:OV7B4e9/n7jKNnppZYDuPjdI+7CUEWKhqcutUOFjm2cLex5Aoi5Q7ZKli5htc3Vdc9+I7o55u7C0/oLgIG6xR+UI78qjyFRA+CAG7TFTihFfo72mEFeS+1e3uhA6LXg1XOpZrdcQ0bWNqyGChZTi7AIaeN5kX2AUceBjv2B3Gqo8lZnkNkLW5nlFSsfF020SJG3I2VGeDM3CevYgk+ripeoCGPq7GXpn8NU3TXDZ5 X-MS-TrafficTypeDiagnostic: SYAPR01MB2911: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(93006095)(93001095)(3231232)(944501327)(52105095)(10201501046)(6041310)(20161123564045)(20161123558120)(20161123562045)(20161123560045)(2016111802025)(6043046)(6072148)(201708071742011); SRVR:SYAPR01MB2911; BCL:0; PCL:0; RULEID:; SRVR:SYAPR01MB2911; X-Microsoft-Exchange-Diagnostics: 1; SYAPR01MB2911; 4:yRXuul3JPi5pLL9qDYuXzXrnXLMHcswh++3qdiSnUzhBIRRYeb9bSzwmQ1VGq1sGCZNxLKhFx7HNdm444Wz1dyarZ1U54YgwNzeXHfIh62WdO1ov9o2UaIoPAEJfoCyialUSTpcd7wsWL+kI4VUi92v7Rw947JLfwdR+qqg5uS9l5L2yn3nRDWQNMPTCt/MftKNda9qjCVO+bU2HxL/S41JEhe8YYPIidCupXIJv/1cbDd1O32RI/gDZf4bY6vjeD19XOLsQVc3ysivOcNkDAg== X-Forefront-PRVS: 0642A5E7BA X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(39380400002)(366004)(376002)(396003)(39830400003)(346002)(199004)(189003)(486006)(23676004)(186003)(6506007)(386003)(53936002)(50466002)(6246003)(52116002)(76176011)(52146003)(2486003)(93886005)(4326008)(58126008)(316002)(81166006)(8676002)(8746002)(476003)(305945005)(6666003)(8936002)(2616005)(956004)(6512007)(5660300001)(81156014)(86362001)(16526019)(26005)(446003)(11346002)(6916009)(7736002)(6486002)(229853002)(97736004)(2906002)(68736007)(36756003)(66066001)(105586002)(47776003)(478600001)(3846002)(6116002)(25786009)(74482002)(15650500001)(106356001); DIR:OUT; SFP:1102; SCL:1; SRVR:SYAPR01MB2911; H:jupiter.local; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: 1; SYAPR01MB2911; 23:R2reOQ5I2mOWrTF2hmwWQahRLZYyIjcu07DzYb+Sz7l2SEIAkd+dNvJJU2mQtnpnd/9WSokxAqrQ+i0coCL6gc9c8PJD70Z76RmWrxCXcmUoz83Wu/DW/VIIAT8OQrH0RRzOdWIhVJyxg680m/+reJRivZaOYs/5hHJVhkVP6Sy+mzQvUdMFUzCzfTC17fkE4oy8vQItRpWOcX7SMAaukWba7XU4Z5bTzD/lIpAIeGTOyfQemv6MjwAGABAi9SA8SiRqxJgz1gl9m/dKGGKPu6EsOB46eelw7AY1La46Nfvjqz80GbWmnnsSKc7EC1/VY4Y1NnEtMO8kC15o7OXRVwP7J1MyaL/flqphAqP95dRTU6QulbivAoPqIFJLXNnVbPdMXuwAJN3utwMN8edm/+phyCN+tZoEJLg9sSzu+p/ZIdnZPcqa8+Zit3ulFAifoia+tXlsqV9Te8katiNBTb0kTVpj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mS+/KbiPQJgZeqOM7HDNMYw==; 5:wPp2tpbslBGIbOg9wMw+AsvFrfln7PO3p07ua1cdi4QyPPTCK8512E5RiMkg1K30m+ZN2+vl3SpYYVPH5St6wLsvT883fbQfTQVRUNic41gVKFFU8Uwrn00KlAbLtDHZ5+WA1SGF/3viacAxs4QGNT17KtC16nxM9eWpJoivT6A=; 24:oSjKcyyim1hM8N15ecoSLV+CRuULtMCX1mXJmtJUUtQ5ASAu5qtFQgo9FLK0/VDOYf4oq8myqlkMOfNfosp7A3hHMtLsX+7mwQltwIB1dso= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SYAPR01MB2911; 7:G1lHL/jbeWuMK/WpoqPQl3VIDh+h/YDJhpWnJooQAe7XJNDnjwvPVXH0oPDleta9Rl9JVVPgeJ49ew13KwW3Vep1SgokkdqVZYWl8aN7j7SxQEJSikahfR2mhaGl1VJeZuSoSUF+it2xmbhuafKLMtHarqiAFnaDwGQqH7s5yzd79JtBBJPm0EXXoLbHdZbn3RFTGaN0o/o7l1HT6upJeKrCoc5i+VfVElOguezIQ1cbWzp70OmrST0RjFVaiU+B X-MS-Office365-Filtering-Correlation-Id: 72142e13-6199-47d7-bc59-08d5a1b56baf X-OriginatorOrg: tenpoint.co.nz X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Apr 2018 03:11:30.7812 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 72142e13-6199-47d7-bc59-08d5a1b56baf X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf X-MS-Exchange-Transport-CrossTenantHeadersStamped: SYAPR01MB2911 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:145319 Archived-At: On Thu, 12 Apr 2018 at 23:36:15 +1200, Lars Ingebrigtsen wrote: > Yeah, the Messsage buffers are kinda special, I guess, in that they're > basically the only Gnus buffers what aren't generated somehow. > > So handling them the same way as Emacs does on shutdown does make some > sense... On the other hand, even if we prompt the user, they're still > saved to a pretty obscure place (i.e., the drafts group), so I'm not > sure we're gaining anything by prompting the user. Personally, I think prompting gains us quite a bit. Most importantly, it can remind users that an un-dealt-with message exists. Maybe they intended to send it, but forgot, or mis-keyed? Or perhaps it contains sensitive info that shouldn't be kept? By silently saving (to a pretty obscure place) the user may never know about it. Prompting can also give them immediate control over what to do =E2=80=93 se= nd, save, discard? If they decide to save, they know to look for a draft later. We could even pop up a message telling them where to look. BTW, if auto-save is customized (say by changing make-auto-save-file-name) can we always guarantee the current behaviour will work?