From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Yates Newsgroups: gmane.emacs.devel Subject: Re: A vc wish: vc-timemachine Date: Mon, 17 Oct 2022 17:51:16 -0400 Message-ID: References: <83a65w5o91.fsf@gnu.org> <15d84e08-dd58-a406-4923-52140f642aa6@yandex.ru> <86pmeq9u8q.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26015"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , Eli Zaretskii , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 17 23:52:50 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 1okY2U-0006WL-7u for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Oct 2022 23:52:50 +0200 Original-Received: from localhost ([::1]:37482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okY2T-0004AC-0t for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Oct 2022 17:52:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okY1D-00039g-LN for emacs-devel@gnu.org; Mon, 17 Oct 2022 17:51:31 -0400 Original-Received: from mail-pf1-f172.google.com ([209.85.210.172]:43687) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okY1B-0000Uo-UI; Mon, 17 Oct 2022 17:51:31 -0400 Original-Received: by mail-pf1-f172.google.com with SMTP id 204so12291838pfx.10; Mon, 17 Oct 2022 14:51:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=dLLiYOobpDgqNkGrbHHSMwIeIdFgkx/4FqjzvciNmv8=; b=djSdD6T+YCJbvXYKmO4FANGCudCtd4SxNiI0P1+W0rLNC8QkbuCJ2wCRAY0QdMq98T N+QoyQMRAlxjCB69BSz244t4G6z6M2gv33p7RMIa4PQy98luQaQKSR+3BspEa/Z13cQC NC0IicViSb1/R2115V8BUf4Gb12zs0yDZtS6v2nBzhH0eVi1PziJKxpN88DWuzdcR9QD IGi/MdAh5lH/mUbINKja8de62IuKWq5F0yxUXGMOZmRWDZ+lkSv6rYCVAlhaqRtvzQ+g 2RnM++nW+4UW1b/JzjsAw+nH/3mfjfnYtvhhSNf8Nukd8FvcLbsZv4GIEi6nofR/7H8o 31Fw== X-Gm-Message-State: ACrzQf0sepEKjM7fzaz23U0+yrJ0Al/g8syg1gs7g9L9ivvYdivr2eT2 DGMTTqXjhDMtPzsQgXcZic7KC5wzDsHxvRclfck= X-Google-Smtp-Source: AMsMyM68aEKoS3ceeGWdaYcMFefkU2IyJhncGBPL76AHh7QtohrjZMw5iIewJVz9RDKUbI0EkYVdMbAgywhN5kmGvbA= X-Received: by 2002:a62:ce8b:0:b0:562:9e5c:bb5 with SMTP id y133-20020a62ce8b000000b005629e5c0bb5mr14741454pfg.45.1666043487990; Mon, 17 Oct 2022 14:51:27 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=209.85.210.172; envelope-from=john.yates.sheets@gmail.com; helo=mail-pf1-f172.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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:297993 Archived-At: On Mon, Oct 17, 2022 at 5:03 PM John Yates wrote: > > That said, that optimization can be significant when looking for a revisi= on, if the subject code has been heavily edited. To make that more concrete... My backup scheme records an RCS revision everytime I save a file: https://github.com/jsyjr/bostr (A save is non-interaction and hence records no meaningful commit comment.) When something goes wrong I want to browse the various previous saved states, searching for one that "looks right". Here "looks right" is based on what I remember the code looking like at some point in the past. The image in my memory is emphatically not a diff, nor a blame display. Typically it was some prog-mode buffer with font-locking. Having to drive my search process from some alternate revision enumeration and having to separately bring up a view of each revision is just a painful amount of friction. Re: scratching my own itch... I am trying to prototype something based on Peter Stiernstr=C3=B6m's git-timemachine. Initially it will only support git, so, initially, not a solution for my itch. But it will help me get my feet wet with vc and will provide a means for others to "kick the ui tires".