From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arthur Miller Newsgroups: gmane.emacs.devel Subject: Re: On the adoption of transient.el Date: Sat, 14 Aug 2021 05:17:27 +0200 Message-ID: References: <877di4on3d.fsf@posteo.net> <87im1oy6mw.fsf@posteo.net> <87czquisme.fsf@bernoul.li> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15667"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Emacs developers To: Jonas Bernoulli Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 14 05:18:26 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 1mEkBk-0003r2-KO for ged-emacs-devel@m.gmane-mx.org; Sat, 14 Aug 2021 05:18:25 +0200 Original-Received: from localhost ([::1]:33408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEkBi-0004oQ-IJ for ged-emacs-devel@m.gmane-mx.org; Fri, 13 Aug 2021 23:18:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48300) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEkAx-00048P-Ma for emacs-devel@gnu.org; Fri, 13 Aug 2021 23:17:36 -0400 Original-Received: from mail-oln040092068039.outbound.protection.outlook.com ([40.92.68.39]:45186 helo=EUR02-HE1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEkAu-0004St-BB for emacs-devel@gnu.org; Fri, 13 Aug 2021 23:17:34 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HWv2QIZaSZOZcr9BKBsNGz29R4QFAgFuxMPvMsG3C9iXG/YKWdZ4qSL7rVnG9Hwz0xoMJYKA38sLbwN6wZZ80/eUxNcVYyLkntk9xT9BCpbv7KDE4LF7uQ9IXHLLKsq3r7Exu1YeQdyJt8tHZakDdIVyr47hnCHj1GqlcA1v4X5PQRntOsqCnyFsKe6YKgSNmagrl1/UU5I+qreSIVjKQhkRP9YER/DGzWqoYMTYnpyxSubR7zE+AQ4ifbNerhcS7tpArN26RPLTWXoEx7NEHq0GLLFEgDxMgY38nZHTiTHH/WiaIx+8+iqx5ilVKgjMn+ZUckh0S3yPkxK9XsFSEw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X870OeovvmJQ9d1zPECkTlrhVKaNppIctmk04z2LTPo=; b=hCQM+jqIRC90hXoNsY/qdXNlLqTNuyvXtca83xRewBHzdACrI51Nhe+uFCCjtFYYLgAiRV8jxJSrf3iRtvvEqpR5YgkHSEabYJJfB6hCazO2jhjEZr3UxVDdj5VVQAX4GThtaJ/VWEN1OWDjm05N2gK4XndEFQbfECWVjzsybNSWcEFdcwPOzjjOofhQ4Xxo4zdP1AW0GoE/SxBSIsxihLx1h/9hfGG4CY06vAzsqQs54owXwvfNqAEFeEYlw75BvfIbiSPenZgFOVF2RtYzt27fx4JIYs//GekV1qUHBRevAD/D2swQhJPzTpVe2fQoWdQtcNLuyV6g9Q7n14fTAw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=live.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=X870OeovvmJQ9d1zPECkTlrhVKaNppIctmk04z2LTPo=; b=BhzZhfLOtmpwlSsDFtpzesEIAfHlu7FAClXPELLJuu7OrDWfFrCuXhfZZrYKql1Kse9YP/e9S/+2Lm1Stbpr0w/TdPK1zhO8b/1O/l3WSiV8vl7aSqYvAauXLh9UGMfqBRlSEh2KujGTn0uks1Gt5S20HU43MWzkO1qIfg3qcP84RhnHxlOjnTPgdsBxtpGG1xcxJMFQEAoRZNJmIJCmWsx5NKq2g/SwttI6W9oUwJq7aNY4WXq5ANhKpFn17VYwHzajvHO/2PXIhhnfIa/iW4/fFv3b9b79FP8FcaaZP7F0x6hIZXBGTRNhau/qYVU1eSfDJK1xseKzhhG4s4DQVA== Original-Received: from VE1EUR02FT013.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1e::53) by VE1EUR02HT183.eop-EUR02.prod.protection.outlook.com (2a01:111:e400:7e1e::364) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.16; Sat, 14 Aug 2021 03:17:28 +0000 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com (2a01:111:e400:7e1e::53) by VE1EUR02FT013.mail.protection.outlook.com (2a01:111:e400:7e1e::142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.16 via Frontend Transport; Sat, 14 Aug 2021 03:17:28 +0000 X-IncomingTopHeaderMarker: OriginalChecksum:E69891605C3298FF0AA3882CDBF6333EF842CD21B5569FC968E6C4407AF1FDA3; UpperCasedChecksum:75BA0D60177B7EF93F17495A6BAFCAEB40C51322249C7617E7789F6CBB8CB615; SizeAsReceived:7706; Count:46 Original-Received: from AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6558:f201:6d1a:3f39]) by AM9PR09MB4977.eurprd09.prod.outlook.com ([fe80::6558:f201:6d1a:3f39%2]) with mapi id 15.20.4415.021; Sat, 14 Aug 2021 03:17:28 +0000 In-Reply-To: <87czquisme.fsf@bernoul.li> (Jonas Bernoulli's message of "Tue, 03 Aug 2021 15:07:37 +0200") X-TMN: [AQ+RfoZWB5VgkoDl+/wBrvAzgtIa6tdK] X-ClientProxiedBy: AM6PR0502CA0054.eurprd05.prod.outlook.com (2603:10a6:20b:56::31) To AM9PR09MB4977.eurprd09.prod.outlook.com (2603:10a6:20b:304::20) X-Microsoft-Original-Message-ID: <874kbs7m0o.fsf@live.com> X-MS-Exchange-MessageSentRepresentingType: 1 Original-Received: from pascal.homepc (81.232.177.30) by AM6PR0502CA0054.eurprd05.prod.outlook.com (2603:10a6:20b:56::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.13 via Frontend Transport; Sat, 14 Aug 2021 03:17:28 +0000 X-MS-PublicTrafficType: Email X-IncomingHeaderCount: 46 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-Correlation-Id: aa0bb435-ea4b-4b44-87a2-08d95ed20ba1 X-MS-TrafficTypeDiagnostic: VE1EUR02HT183: X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: u1E/c4tsE13eymy3r8aWnTPkdh8aXjHjJ0OvWfiYdnT11OHH7nh+iVHeG8e0qnA18Y5f4m3oR3Ur40RFD6iRHTONSgkwB7Cqsi8zk8P0KPfigj+xOk8risFR3CkbWooWthSM4f1R1Vfeh41WTL19pbIIgn98xLRQpKNb3mBGKZ4JeUpQxYvXDzT6sPiYHQ618e6h4plyoTf9aacqRZ4UAro+VDdth6Yj1X4/VisCR02s6ZbxXFz0EKAHMzr5W7z8OQyRt6yGdqJnh8kNzZAW6V3011fSRr8PsWBnHiYlDhSD4R+uWsfkzfOszgM36oMZnnDihDl8c5lh+uKEBa9N/LHYOc5e65R0hxzLTDSrXovUmu7xRcnm+tL18eGVbW7xrfD0iX73rvO/DQGIGoH+AY3PjXvxrbGE3nqtC7FXqvRjnEqivDIqMtpV9Xdrl/9R X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: L+uqM3YiGb8oy2cUW73QHVa1QZX7ItASiiOoNGquORIp2+P600VVZANkXzfxS1DKD/SjlGJO+BpnayKSh3r5e20KJpBr8iIytLvoULVMPfVXFQpJ3pZOsGz8OjNWEroJOy0x9ZVOluHsn6lJ6zlMRw== X-OriginatorOrg: live.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa0bb435-ea4b-4b44-87a2-08d95ed20ba1 X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Aug 2021 03:17:28.3871 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-CrossTenant-AuthSource: VE1EUR02FT013.eop-EUR02.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: Internet X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1EUR02HT183 Received-SPF: pass client-ip=40.92.68.39; envelope-from=arthur.miller@live.com; helo=EUR02-HE1-obe.outbound.protection.outlook.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MSGID_FROM_MTA_HEADER=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:272376 Archived-At: Jonas Bernoulli writes: >> I have to run Magit than bb and than Magit will offer a completing >> read which will pop the asked Helm interface. To me this is not a >> straightforward enough > > (global-set-key [f1] 'magit-checkout) > > Also you generally don't have to "run Magit" and can just use "C-x M-g" > and in file-visiting buffers also "C-c M-g". Hi Jonas, I have tried your magit-checkout now. It does not really do what I had in mind. It seems to just be a wrapper around git checkout, and similar to git checkout gives error if there are unstaged changes. What I wanted was a fast straightforward branch switcher, no questions asked. The strategy is to stash save all buffers belonging to the project, stash everything, inclusive untracked files, and than checkout to the other branch. When checked back, the stash is applied back. I don't know if you have something like that in magit or if it is something generally desirable, but I always wanted something simple and dirty to be able to switch fast when I need it.