From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Move shorthands.el to lisp/emacs-lisp/? Date: Fri, 29 Oct 2021 13:41:31 +0300 Message-ID: <83r1c4qfj8.fsf@gnu.org> References: <87cznths5j.fsf@gnus.org> <87ee87cwju.fsf@gnus.org> <83sfwmwubd.fsf@gnu.org> <875ytid54b.fsf@gnus.org> <87cznq8oib.fsf@gnus.org> <871r444z59.fsf@gnus.org> <83cznos8gc.fsf@gnu.org> <83tuh0qgzn.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2970"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org, joaotavora@gmail.com, stefankangas@gmail.com To: Yuri Khan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 29 12:51:20 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 1mgPTj-0000Xz-N9 for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Oct 2021 12:51:19 +0200 Original-Received: from localhost ([::1]:33532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgPTh-00046C-FK for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Oct 2021 06:51:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgPKV-0002f0-BH for emacs-devel@gnu.org; Fri, 29 Oct 2021 06:41:47 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46932) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgPKU-0006Go-Vb; Fri, 29 Oct 2021 06:41:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=bYCf3d+1B28MdQ/cgkCu1+y3d189HsiZ1+BSbNwgFgM=; b=M23z5tispF2VYE2Zgtnb OAAbUeQlK4F0afqeRybiUL0dhPY9z8PmUPrzjQME+DTb7QfBprUcuLXsYCE/W0L1z/Tl5LJWYZF7B DzKsoAaDN0x6ttRi5gHlfAymGD7TbrDka1aQyxI+XcH9aTzNU/mwA+5AFnL8kbupfFlxmDC9Qq5Ib eIU/GEuYecrP8f2ZTUorVSdF/3Gy+Ne2q4GDzm/W4hPCuCixw1KeEmoWxkB2pIhSgikTIbu0bhQkX uLN5S92exKrXFPxAGmPUjKfavIC5fogme3Q0I8lnqy45M400Ep38tj3sY5NqlhNXrxA5IpncuzFZS wFZKGpG4XcEy3w==; Original-Received: from [87.69.77.57] (port=4495 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgPKU-0004O4-FU; Fri, 29 Oct 2021 06:41:46 -0400 In-Reply-To: (message from Yuri Khan on Fri, 29 Oct 2021 17:31:07 +0700) 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:278181 Archived-At: > From: Yuri Khan > Date: Fri, 29 Oct 2021 17:31:07 +0700 > Cc: Lars Magne Ingebrigtsen , João Távora , > Stefan Kangas , Emacs developers > > > P.S. And I don't actually understand why you decided to chime in: > > would something I said cause sub-optimal results? > > Just trying to dispel myths. There are a lot of those around Git, and > I find that suboptimal. Nothing personal and I’m sorry if you perceive > it as nitpicking on you. I don't perceive it as nitpicking, I perceive it as raising the noise level here, something we hardly need. > People may acquire an anxiety like “if you meant to ‘git mv’ a file > but you just did an F6 Enter in a file manager, you have to move it > back and do it correctly”. That is not the case; one just needs to > stage both the deletion and the addition. > > Alternatively, they may get an idea that “as long as you use ‘git mv’, > Git will track the rename”. This is also not the case; if one modifies > the moved file before committing the move, exact move detection will > not work and Git will fall back to heuristic-based move detection. All I asked was to use "git mv", which AFAIK is _the_ recommended method of renaming files under Git. Any thoughts about Git-related anxieties are neither intended nor implied. This is not a Git mailing list, so we don't really need to discuss every possible way of doing an operation with Git. One that works is enough.