From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40725: 27.0.91; Tutorial reports false positive key rebindings Date: Sat, 25 Apr 2020 09:20:54 +0300 Message-ID: <83zhb084s9.fsf@gnu.org> References: <187E7752-27CA-4304-8BBB-695B9588DEC2@acm.org> <83d07xb2wp.fsf@gnu.org> <569DDA5E-28F0-4329-86B2-C9AE3AC4427F@acm.org> <831rodb035.fsf@gnu.org> <37969D02-FD67-4563-BD01-A2F483999D79@acm.org> <83v9lp9j41.fsf@gnu.org> <654FEBD4-BA27-4060-9CFD-0CF67F6000BB@acm.org> <83pnbx9fgv.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="120008"; mail-complaints-to="usenet@ciao.gmane.io" Cc: contovob@tcd.ie, mattiase@acm.org, 40725@debbugs.gnu.org, juri@linkov.net To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 25 08:22:10 2020 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 1jSECX-000V7s-Ql for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Apr 2020 08:22:09 +0200 Original-Received: from localhost ([::1]:59108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSECW-000459-Dj for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Apr 2020 02:22:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50928) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSECR-000452-Cz for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 02:22:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jSECQ-00074Z-UI for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 02:22:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46835) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jSECQ-00074U-Ir for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 02:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jSECQ-0000Bi-FT for bug-gnu-emacs@gnu.org; Sat, 25 Apr 2020 02:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Apr 2020 06:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40725 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40725-submit@debbugs.gnu.org id=B40725.1587795682666 (code B ref 40725); Sat, 25 Apr 2020 06:22:02 +0000 Original-Received: (at 40725) by debbugs.gnu.org; 25 Apr 2020 06:21:22 +0000 Original-Received: from localhost ([127.0.0.1]:58381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSEBm-0000Ag-AO for submit@debbugs.gnu.org; Sat, 25 Apr 2020 02:21:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:47600) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jSEBj-0000AQ-Dq for 40725@debbugs.gnu.org; Sat, 25 Apr 2020 02:21:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49525) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jSEBc-0005cb-Rc; Sat, 25 Apr 2020 02:21:12 -0400 Original-Received: from [176.228.60.248] (port=2835 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jSEBV-0004O5-3P; Sat, 25 Apr 2020 02:21:05 -0400 In-Reply-To: (message from Richard Stallman on Fri, 24 Apr 2020 23:33:22 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178968 Archived-At: > From: Richard Stallman > Cc: mattiase@acm.org, contovob@tcd.ie, 40725@debbugs.gnu.org, > juri@linkov.net > Date: Fri, 24 Apr 2020 23:33:22 -0400 > > > > You are making a mountain out of a molehill. > > > It isn't a molehill for me. I need to search VCS history quite a lot. > > If we rename a file, can't we rename its master file too, so that the > history before the rename is include in what you search? With Git (and most modern VCS) there's no master file, as there were with RCS and CVS. Changes are tracked on the entire tree level, and stored as binary blobs in a special subdirectory (under the .git directory in the case of Git). I don't think it's possible to "edit" those blobs post-mortem to do the equivalent of the renaming you mention, but even if it were possible, it's a bad idea, because of at least 2 reasons: (a) it changes history, i.e. pretends that this file was always called by that new name; and (b) in modern VCS systems each commit's changeset is hashed and its hash is stored, so changing even one byte of that would cause the hash be incorrect, and the result will be a corrupted repository, AFAIU. So I think this kind of history rewriting is impossible, let alone not a good idea.