From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#52507: [PATCH] Option for vc-delete-file to keep file on disk Date: Sun, 26 Dec 2021 17:38:22 +0200 Message-ID: References: <20211215095324.18195-1-ashwin@ashwink.com.np> <86a6h13j4i.fsf@mail.linkov.net> <85o85hsr3b.fsf@ashwink.com.np> <861r2dzqrj.fsf@mail.linkov.net> <85fsqt67y1.fsf@ashwink.com.np> <8535mt67k8.fsf@ashwink.com.np> <86k0g4a875.fsf@mail.linkov.net> <85czljcund.fsf@ashwink.com.np> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13011"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: 52507@debbugs.gnu.org To: Ashwin Kafle , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 26 16:40:35 2021 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 1n1VdS-0003Ex-V1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Dec 2021 16:40:34 +0100 Original-Received: from localhost ([::1]:36264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n1VdR-0007wV-5g for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Dec 2021 10:40:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57202) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n1Vd4-0007sm-W4 for bug-gnu-emacs@gnu.org; Sun, 26 Dec 2021 10:40:11 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58014) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n1Vcv-00082H-UT for bug-gnu-emacs@gnu.org; Sun, 26 Dec 2021 10:40:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n1Vcv-00010X-SS for bug-gnu-emacs@gnu.org; Sun, 26 Dec 2021 10:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Dec 2021 15:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 52507-submit@debbugs.gnu.org id=B52507.16405331813834 (code B ref 52507); Sun, 26 Dec 2021 15:40:01 +0000 Original-Received: (at 52507) by debbugs.gnu.org; 26 Dec 2021 15:39:41 +0000 Original-Received: from localhost ([127.0.0.1]:41327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1Vca-0000zm-OC for submit@debbugs.gnu.org; Sun, 26 Dec 2021 10:39:40 -0500 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:34740) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n1VcY-0000zX-TX for 52507@debbugs.gnu.org; Sun, 26 Dec 2021 10:39:39 -0500 Original-Received: by mail-wr1-f49.google.com with SMTP id s1so27585454wrg.1 for <52507@debbugs.gnu.org>; Sun, 26 Dec 2021 07:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=VRsEIb5AxbEq4/yr11kSzpz9pYL0BQcrkmOtHaVW/p4=; b=mKraOfdwmOZh4aZcPylg9brk9G6MeYxsJI2OXNQ/wlgzGagyYPDXWoc1rYdO6AfMOr Lp9mTy3APS7BXjMkg2WscBxKW6jgOTHX7eZVeYJ1pB4X2/lgl+l8BWysQGbSIRUtqqcy x8Ei9nbvzntgVlR6bb83hqxTd0yat6lCkOgxEHOXW+Dv+BPKJ1wVk7fs2P3GqWk2sqDf xc17Fb2cl9LzPFMyC6/U4YXNNqVNwmCmbhyzgP49tbt2LrAsn9ieN6d4/ScpnYihSdX+ NRIoxpSRVff6yOQXxigFSQ4y5H3+mywYJ/tTf7nxHcizckD1rNzYmPoK0F3TO0dyC3eM uzMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=VRsEIb5AxbEq4/yr11kSzpz9pYL0BQcrkmOtHaVW/p4=; b=CyN7jue0sDZeXTDSo4ZiGzTsNLImaAvR3iC4QQ/GHL7NtqjpCad7EvMTHW8AfaZqe/ j3iGzqzscNlqf44cq+FXHgJ53J2qrYB7hZtDCHXB4KEIxzVItish/Ld7GOQg2r9rniqG C+X29j1ICukRIKXu+UDxSs6kA66pyM4zjmCrD41vbjhp81ualKaBzz0unNJ9snfo+V3t NIQy4mGivOjW3krIqTIP6ZZody3CoWBWN/wNKSt0VwiKEDS0f9webdtpcVpqt7JkYGP1 zZcjEY9MrlBpUAfvMZ8AYiktGbE68Yrtrc350Srkww43kY6XE11ZRWHE7yUK6984WNA7 bG4Q== X-Gm-Message-State: AOAM531DmR1WjsyzoIkWZVwS4RuuZ9pb22eAiNH3gawWsy8OFhIAUqg/ GC6tsMdbEH/oHLiuZXg8LuTvKefaOffmWg== X-Google-Smtp-Source: ABdhPJyIP6sx7q0rpLGy9YlfgnYRB7GLxPiYzY6g23EfN4s5rpp5X2X/JpRuRxxpfTPxkVC8ChMOCw== X-Received: by 2002:a05:6000:91:: with SMTP id m17mr10073707wrx.250.1640533173288; Sun, 26 Dec 2021 07:39:33 -0800 (PST) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id p13sm3033070wrs.54.2021.12.26.07.39.32 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 26 Dec 2021 07:39:32 -0800 (PST) In-Reply-To: <85czljcund.fsf@ashwink.com.np> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:223147 Archived-At: On 26.12.2021 17:23, Ashwin Kafle wrote: > Say you use the current vc-delete-file and then immediately restore it > from backup (before commiting). VC will show the file as unregistered. > I think this behavior of vc should be fixed instead. What would you have it do instead?