From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nikolay Kudryavtsev Newsgroups: gmane.emacs.bugs Subject: bug#25340: Save-some-buffers gets called when installing packages. Date: Tue, 3 Jan 2017 01:42:13 +0300 Message-ID: <0467624a-368b-6b61-e08d-97a34c8c25fa@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------93BCAB13F5519AA90DBB0E77" X-Trace: blaine.gmane.org 1483397003 15502 195.159.176.226 (2 Jan 2017 22:43:23 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Jan 2017 22:43:23 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 To: 25340@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 02 23:43:19 2017 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 1cOBJu-0002aV-Qw for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Jan 2017 23:43:11 +0100 Original-Received: from localhost ([::1]:59299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOBJx-00043s-HY for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Jan 2017 17:43:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOBJp-00042U-Ar for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2017 17:43:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOBJm-0005Rn-7Q for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2017 17:43:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52636) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cOBJm-0005Ri-45 for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2017 17:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cOBJl-0004gv-U8 for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2017 17:43:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Nikolay Kudryavtsev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Jan 2017 22:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25340 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.148339695117995 (code B ref -1); Mon, 02 Jan 2017 22:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Jan 2017 22:42:31 +0000 Original-Received: from localhost ([127.0.0.1]:39802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cOBJH-0004gB-3j for submit@debbugs.gnu.org; Mon, 02 Jan 2017 17:42:31 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:36080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cOBJE-0004fy-SQ for submit@debbugs.gnu.org; Mon, 02 Jan 2017 17:42:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOBJ8-0005Hz-83 for submit@debbugs.gnu.org; Mon, 02 Jan 2017 17:42:23 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:53150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cOBJ8-0005Hv-4K for submit@debbugs.gnu.org; Mon, 02 Jan 2017 17:42:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOBJ6-00040u-1u for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2017 17:42:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOBJ2-0005Gp-Or for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2017 17:42:19 -0500 Original-Received: from mail-lf0-x22c.google.com ([2a00:1450:4010:c07::22c]:34598) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cOBJ2-0005Gc-DU for bug-gnu-emacs@gnu.org; Mon, 02 Jan 2017 17:42:16 -0500 Original-Received: by mail-lf0-x22c.google.com with SMTP id y21so276096044lfa.1 for ; Mon, 02 Jan 2017 14:42:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:message-id:date:user-agent:mime-version; bh=QtgEwfQgzQTi8kavneCLiwBIzk9NhgFzdegH+UvuHFQ=; b=JyHrrcHGykS1QGLDLUAu8PjOV7+nHC6biIgLC18MrkWwFAPN78/+WA3gI0XDhtUuuJ UUTuYxE69rzAzi9iw8T+8rx8GPTPGNyV5uEjiio/mRZ+pwUCjWmqQECMg9p37Zj1L3p7 isI0VAiG7nfsyU2cTQaEUyiSu9LxxNU9HAvKb/Q0lxwD5aXKZwfZNS1V37cjLJcn9m55 FOIVfiNTET8yF/tckxxc2aPYeHTBNslalkPxRnN29Bi4+HiDuyVplMRQ4tLcWZx+D2// YbVAcuVwN4xgPhlJmWZs8ZtiRw5cKpv7x701wdzuL2tiTMklj5B4y2LHYyQAM7xMRt3P ctrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:message-id:date:user-agent :mime-version; bh=QtgEwfQgzQTi8kavneCLiwBIzk9NhgFzdegH+UvuHFQ=; b=Z2V8oMVj4krojZVhpc8ax3AEjoSgyhxcS43Xa5B8HhU3+hOgT11Bb6e40xX1EuIgDB Dif9HrpkBaleKxupVx1g8OZbNLubvRFuRKXBf7201hkPab4wn65tvPoje0LqdKv1JNlt uzAK46h6FzJCpji4qe8mm4Wegxm0tEHbkAbw1Smh3OhFzXqCwAW5+mA2OSZ6dSNCMGBc 1UkwNhMpPXaDDd2ZCnj7UPakdNRrfjdejU7p8nYcgMa/GYmSYaqTrJ4vV/W/L+/z4HwU +irNRj8qdH3H5kS5DcFqEZMsocdRiQDyJEwi1QrEE7VZdKELnNbzb4DVn5YHoMKCKlbA mm0Q== X-Gm-Message-State: AIkVDXIys9JP5gyQCFMXh4psmbSosdlYnQ8cdFXQleD41VnyJq/F6+J79QhvvGVFVzYb1g== X-Received: by 10.46.0.4 with SMTP id 4mr16518376lja.34.1483396934601; Mon, 02 Jan 2017 14:42:14 -0800 (PST) Original-Received: from [192.168.199.6] (broadband-95-84-209-126.nationalcablenetworks.ru. [95.84.209.126]) by smtp.gmail.com with ESMTPSA id x75sm11142206lfi.16.2017.01.02.14.42.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Jan 2017 14:42:13 -0800 (PST) X-Google-Original-From: Nikolay Kudryavtsev X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:127690 Archived-At: This is a multi-part message in MIME format. --------------93BCAB13F5519AA90DBB0E77 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Every time you install a new package you get called to save your modified buffers one by one. So, whenever I update my packages I can get like 30 packages and I have to press q at least 30 times. This behavior is pointless and somewhat annoying. I've attached the laziest possible patch for this. -- Best Regards, Nikolay Kudryavtsev --------------93BCAB13F5519AA90DBB0E77 Content-Type: text/plain; charset=UTF-8; name="0001-Prevent-package-install-from-asking-to-save-buffers.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename*0="0001-Prevent-package-install-from-asking-to-save-buffers.pat"; filename*1="ch" RnJvbSBjNTY2OTc3NmIxYWJlYzk3OTI0OWZmOTIxOGJhODI1MTUwMGZjNzA0IE1vbiBTZXAg MTcgMDA6MDA6MDAgMjAwMQpGcm9tOiBOaWtvbGF5IEt1ZHJ5YXZ0c2V2IDxuaWtvbGF5Lmt1 ZHJ5YXZ0c2V2QGdtYWlsLmNvbT4KRGF0ZTogVHVlLCAzIEphbiAyMDE3IDAxOjIxOjE5ICsw MzAwClN1YmplY3Q6IFtQQVRDSF0gUHJldmVudCBwYWNrYWdlLWluc3RhbGwgZnJvbSBhc2tp bmcgdG8gc2F2ZSBidWZmZXJzCgogKiBsaXNwL2VtYWNzLWxpc3AvYnl0ZWNvbXAuZWwgKGJ5 dGUtcmVjb21waWxlLWRpcmVjdG9yeSk6IE5ldyBhcmd1bWVudAogYGlnbm9yZS1tb2RpZmll ZC1idWZmZXJzJyB0aGF0IHByZXZlbnRzIGBzYXZlLXNvbWUtYnVmZmVycycgZnJvbSBnZXR0 aW5nCiBjYWxsZWQuCiAqIGRvYy9saXNwcmVmL2NvbXBpbGUudGV4aTogRG9jdW1lbnRlZCBg aWdub3JlLW1vZGlmaWVkLWJ1ZmZlc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