From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#49980: 28.0.50; [PATCH] Should we have project-save-buffers? Date: Mon, 16 Aug 2021 06:06:23 +0300 Message-ID: <5965bcdd-d09a-0fef-18ba-c75de3200845@yandex.ru> References: <87czqlodpl.fsf@gmail.com> <871r70lnyi.fsf@mail.linkov.net> <87y297azuu.fsf@mail.linkov.net> <3ea58870-6b9a-41b9-c06e-d045ff9764b9@yandex.ru> <5fc1339b-5e18-f353-47bb-1123bf443710@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="982"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 Cc: Giap Tran , 49980@debbugs.gnu.org, Juri Linkov To: Arthur Miller Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 16 05:07:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mFSxx-00006c-W7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Aug 2021 05:07:10 +0200 Original-Received: from localhost ([::1]:57790 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFSxw-0000Zm-BZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Aug 2021 23:07:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFSxq-0000YN-LP for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 23:07:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mFSxq-00060Z-FN for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 23:07:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mFSxq-00072X-2G for bug-gnu-emacs@gnu.org; Sun, 15 Aug 2021 23:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 16 Aug 2021 03:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49980 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed Original-Received: via spool by 49980-submit@debbugs.gnu.org id=B49980.162908319327024 (code B ref 49980); Mon, 16 Aug 2021 03:07:02 +0000 Original-Received: (at 49980) by debbugs.gnu.org; 16 Aug 2021 03:06:33 +0000 Original-Received: from localhost ([127.0.0.1]:48037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFSxN-00071o-2H for submit@debbugs.gnu.org; Sun, 15 Aug 2021 23:06:33 -0400 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:37479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mFSxL-00071X-8u for 49980@debbugs.gnu.org; Sun, 15 Aug 2021 23:06:31 -0400 Original-Received: by mail-wr1-f49.google.com with SMTP id r6so21547367wrt.4 for <49980@debbugs.gnu.org>; Sun, 15 Aug 2021 20:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=DhnFduby1R9wjUiRWQ+TawDrlMc8a/vnQuJxBunHDPQ=; b=eFNkvMA53YSD6EHPnFkZJW93qUK6QrIn73DO/nqwnNxKtYOxAx+s85IvbOzrJUjH40 Nk7FQ+/0tN4c6cGbO0APlG6jjprT863BKVs8KXE4SSar1JPZcr1TP1oFDU4LMuNkgbbC 8XtrNiKzvoPXuhPHsefSZx9pK5Hm+KzbjrpLsQrxTUfEXY7Cwoj4IHU/1LfOveB0Cmm3 zmBRIzVczfrFwV/PDlauUQr08Np9AAlmBtafVq+7uTEC8GimsJ5577k3nkoMG2EwV9s7 kuO6bdY0Cel/nsoBXOSulslYSD7RPIRhqGZK3KHxnGOdjXfJn1PShUHgX10jms1gMrOI QOgw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=DhnFduby1R9wjUiRWQ+TawDrlMc8a/vnQuJxBunHDPQ=; b=jvOplu0Mwjoudu2c7OsX2DWPwC9alviXExLOWOzhsJPgqgkeLlI4ZBtHRgdQy3LhSQ JBZGLiE9vD6dZpsdMS5eASo5GFCx8N9DDszTEnnA/TWUayLJ1lkaFpL9Wv3XaHi69MsY XE5rNnkorAkYf4U220sKEoMCeyeMBPaSeHIps8sx+8dSOurAnP/EO2n1yS1ty1DjN6aa dysZTGZl6/QDoicp/cB93BUPV1obIBDq3dLAMvFYI4q2/P48oMUzf2kETRsHnEPuEsnB 8yJHrRxWx0YUWPsyr3QnIwmeYvICL50LCVKCgWPp1Msarf+hY7qlSEXF1cv5hNuQiJ4m P12Q== X-Gm-Message-State: AOAM5333I9nk7TFkXyx0CXrJj1c9gkQRKzF062PIwqX9Vwg/Z++wDqlR Xt8rD+RD7OgtsMP+2D/fH6axn1fWiCg= X-Google-Smtp-Source: ABdhPJzQ8h/dtYTwbw3Y8XItl0H0f/RG3UjqRhnsjOapfm1oBWcQx7bKF9G9C/Vl/P3/0peVhcUjzA== X-Received: by 2002:a5d:638b:: with SMTP id p11mr15692068wru.257.1629083185553; Sun, 15 Aug 2021 20:06:25 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id i3sm8862507wmb.17.2021.08.15.20.06.24 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 Aug 2021 20:06:24 -0700 (PDT) In-Reply-To: Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211955 Archived-At: On 16.08.2021 04:19, Arthur Miller wrote: > What do you think about checking out, between multiple different > branches? Switching two branches back and forth is no brainer, it should > always work fine, but switching multiple branches can lead to mess since > stashes are applied automatically. Any good strategy to automate this > case? I don't know. You're automating a case I have been handling manually (and hadn't been bothered by that, thus far). You will most likely encounter some edge cases where the automation breaks, but it's hard to predict those in advance. > Honestly, I don't see much difference than doing it manually, but I am a > bit affraid of auto applying stashes. As long as they're named ones (and thus you won't miss and accidentally pop an unrelated one), this should work fine.