From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Emanuel Berg via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re: how to force auto-save of buffers not visiting files, right now? Date: Sun, 20 Mar 2022 07:26:36 +0100 Message-ID: <87o821qgv7.fsf@zoho.eu> References: <019b7e509c29caa462ff1c30079ce9bfb8cdc668.camel@adminart.net> <87zglq200a.fsf@web.de> <8fffdb6b532a1fc1805229acfcf9510c3afe18ec.camel@adminart.net> <87wngsmdwp.fsf@web.de> <9f32ac59eb1bc186b015c0b6c5b94822e70d4135.camel@adminart.net> <87y2164u5p.fsf@web.de> <9c3935a33573d50e595f37103434db5e29c21063.camel@adminart.net> <87ilsa61tn.fsf@web.de> <37e890d9c251b30d0caf83aa590bca1ad92ec5d4.camel@adminart.net> <874k3utm67.fsf@zoho.eu> <21818a789014efb2f9946bcdc8cd4adae560399b.camel@adminart.net> Reply-To: Emanuel Berg Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16681"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:dxPBJvvCzrtiByvWnEL2S5bwzuo= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 21 17:10:07 2022 Return-path: Envelope-to: geh-help-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 1nWKbf-00042D-D8 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 17:10:07 +0100 Original-Received: from localhost ([::1]:46078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWKbd-0007j6-PP for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 12:10:05 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVp1f-0006Gf-Gm for help-gnu-emacs@gnu.org; Sun, 20 Mar 2022 02:26:53 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:37188) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nVp1c-0004Ib-Jj for help-gnu-emacs@gnu.org; Sun, 20 Mar 2022 02:26:50 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1nVp1Y-0001Jk-3f for help-gnu-emacs@gnu.org; Sun, 20 Mar 2022 07:26:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Mail-Copies-To: never Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 21 Mar 2022 12:05:38 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:136709 Archived-At: hw wrote: >>>> Why not just use normal backup files? >>> >>> Because I would need to delete them eventually, and IIRC, >>> tramp doesn't necessarily delete them. >> >> 1) No :) >> >> 2) And this command is better: >> >> du -hc ~/**/*~ | tail -1 | cut -f 1 > > Better how for what? The previous greped for total, but that can appear in filenames, so this use of tail(1) is _much_ better actually :) > I took so long to run that I interrupted it before it > produced any output, after like 20 seconds. ? But what did you run it on, not your Game Boy right? Here it runs on 0.13s (0.57s) on zsh (time) and on (+ 0.008 0.006 0.003) ; 0.17s in bash (again 'time', but not the same). Timeline? This is no time to talk about time. We don't have the time! ... -- Cmdr Deanna Troi (First Contact, 1994) -- underground experts united https://dataswamp.org/~incal