From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Alfred M. Szmidt" Newsgroups: gmane.emacs.devel Subject: Re: c library for handling backup files? Date: Wed, 21 Sep 2022 15:21:36 -0400 Message-ID: References: <837d1wvpff.fsf@gnu.org> <87r104y230.fsf@posteo.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31805"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eliz@gnu.org, emacs-devel@gnu.org To: Thierry Volpiatto Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 21 21:22:48 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 1ob5J1-00089N-R3 for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Sep 2022 21:22:48 +0200 Original-Received: from localhost ([::1]:39192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ob5J0-0006cp-UN for ged-emacs-devel@m.gmane-mx.org; Wed, 21 Sep 2022 15:22:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob5Hs-0005Qh-Iy for emacs-devel@gnu.org; Wed, 21 Sep 2022 15:21:36 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ob5Hs-000677-9T; Wed, 21 Sep 2022 15:21:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=a8e3tnSom1Kz7NKYEh1dOB8GhjN/OBKxtQeu8ejA71g=; b=q9lzG41QYpBC csuHRCbjjcxHxWizxhWk+Z+A7zzed1+dm0xfprTsZUzGRZ+1eRFxCkKeFaL3UoCg4A3PzcC3QsIjR FOIJ6F9FMNLzoDCDk5yBZtBSzoELq9DeQa4GSExe0zjftE32f6UFAsfIo1h+C4CV3ovr7fu3ZpBY8 uP9ew3FRgkQBusOK4DoO3PErlLLwlfziYme5h+xiTru5BX5j0tLtwhaYkiyBKbtl60J6Pj6SoJ+4G M8kmHGMLnAp3b4p1L4Bj/FP+P8qAr63EdCVUmuiWYMzeSY+UFZNRnlH+q1RBGwGmHl5ozDWDcM/TC kO6POF928eykaTTYfe+P+A==; Original-Received: from ams by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1ob5Hs-0007sl-1h; Wed, 21 Sep 2022 15:21:36 -0400 In-Reply-To: <87r104y230.fsf@posteo.net> (message from Thierry Volpiatto on Wed, 21 Sep 2022 19:11:47 +0000) 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:295946 Archived-At: >> From: "Alfred M. Szmidt" >> Date: Wed, 21 Sep 2022 08:34:35 -0400 >> >> Does anyone know of a C library for handling Emacs-like backup files? >> E.g., if writing a file, the function would do the right thing. > > Coreutils do that, no? E.g., "cp -b". dired-async.el provides a backup function similar to cp -f --backup=numbered from to. You might want to go to the optician, so you can Cee what you missed in my message ... ;-)