From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jonas Bernoulli Newsgroups: gmane.emacs.devel Subject: Re: master 4803fba487 1/2: 'C-x v v' on a diff buffer commits it as a patch (bug#52349) Date: Wed, 31 Aug 2022 17:48:15 +0200 Message-ID: <8735dc9zy8.fsf@bernoul.li> References: <166171593185.16640.41619657947456727@vcs2.savannah.gnu.org> <20220828194533.23A6BC00889@vcs2.savannah.gnu.org> <87r10znm0y.fsf@gnus.org> <83fshfvvyn.fsf@gnu.org> <865yia2opx.fsf@mail.linkov.net> <83k06quetz.fsf@gnu.org> <87edwxwzu3.fsf@melete.silentflame.com> <83tu5tu1by.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24930"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@jurta.org, dgutov@yandex.ru, larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii , Sean Whitton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 31 18:08:56 2022 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 1oTQGt-0006E9-Ph for ged-emacs-devel@m.gmane-mx.org; Wed, 31 Aug 2022 18:08:55 +0200 Original-Received: from localhost ([::1]:36782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTQGq-00056J-TE for ged-emacs-devel@m.gmane-mx.org; Wed, 31 Aug 2022 12:08:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTPx5-0004Mf-Hh for emacs-devel@gnu.org; Wed, 31 Aug 2022 11:48:28 -0400 Original-Received: from mail.hostpark.net ([212.243.197.30]:55598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTPx3-0003Ta-8u; Wed, 31 Aug 2022 11:48:27 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id C306016609; Wed, 31 Aug 2022 17:48:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bernoul.li; h= content-type:content-type:mime-version:message-id:date:date :references:in-reply-to:subject:subject:from:from:received :received; s=sel2011a; t=1661960896; bh=ylAy9hy9/aelAPnGyoqLDWJe WMBw0MmGovtlr+prvY0=; b=uKUGc/9G4kDRipLUpWWEWlHGUlifXWYfePbOzEQL umPcqRztDhnGvJAvvfm6Dyv/qldwiJJsTi/wopXu6z3ups3BZHcb0KFDcvuokLho WIzJb8s/RpdYWYa0cvtPmbtSNPaPv5apkOOe/biFOJQUuYV+1rsiKQeF02GhJWzB RgM= X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Original-Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10224) with ESMTP id 5PSSHo0iab0I; Wed, 31 Aug 2022 17:48:16 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 7F5E316591; Wed, 31 Aug 2022 17:48:16 +0200 (CEST) In-Reply-To: <83tu5tu1by.fsf@gnu.org> Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 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, GAPPY_SUBJECT=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:294436 Archived-At: Eli Zaretskii writes: >> VC is far more flexible and Emacs-y than Magit in how it handles >> buffers. > > I'm sure frequent users of Magit disagree. Maybe, but as its maintainer, I increasingly agree. ;) A quick hack to make it use more buffers: (add-hook 'magit-create-buffer-hook 'magit-create-buffer-lock) (defun magit-create-buffer-lock () (and (magit-buffer-value) (magit-toggle-buffer-lock))) (I wrote that just now and didn't test much. Things might blow up.)