From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: how to force auto-save of buffers not visiting files, right now? Date: Tue, 15 Mar 2022 16:07:20 +0200 Message-ID: <83wngvia1z.fsf@gnu.org> References: <019b7e509c29caa462ff1c30079ce9bfb8cdc668.camel@adminart.net> <8335jklmyf.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30743"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 15 15:08:14 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 1nU7qP-0007ql-4R for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 15 Mar 2022 15:08:13 +0100 Original-Received: from localhost ([::1]:53830 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nU7qO-0007Fd-4Z for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 15 Mar 2022 10:08:12 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU7pj-0007CO-9Z for help-gnu-emacs@gnu.org; Tue, 15 Mar 2022 10:07:33 -0400 Original-Received: from [2001:470:142:3::e] (port=38138 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU7pj-0004EL-1G for help-gnu-emacs@gnu.org; Tue, 15 Mar 2022 10:07:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=KuLZNpe3Nt6B///kxs/v2xinE/iPue5ie4R/gXbQZ8M=; b=mfayUf85SIpe V54hBH5BJpD+e9r6COz8a5b3YQRzo/cyPY3wffnNJq+3U6qU9DhSA+X2fxTDYZgBzE2eb2oK++QuM LP4DsFmmctNQcZLFrEvooFSf748426FfO4o/z962uhjCpmQFqo4rrd1sWXSxnsYVYkSt4GaUdgiNZ Ycu1dG0YOpJKoFY6dhQpPn14Jhu5DMukNVe3kubB2nE2XyPqILcIDZPqsUF+0ebiCpFZnpGxoOs1Q iYmvNOApPXP4nRpvIT1egKzaswglf396CFco4Y72fV18zpawHigQgVuP3nBFMME77cU/sOETWgvyS q1W/7zq4ZihOGDxV4r5wcQ==; Original-Received: from [87.69.77.57] (port=1596 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nU7pi-0006lv-Gw for help-gnu-emacs@gnu.org; Tue, 15 Mar 2022 10:07:30 -0400 In-Reply-To: (message from hw on Tue, 15 Mar 2022 06:20:41 +0100) 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:136577 Archived-At: > From: hw > Date: Tue, 15 Mar 2022 06:20:41 +0100 > > On Mon, 2022-03-14 at 14:48 +0200, Eli Zaretskii wrote: > > > From: hw > > > Date: Mon, 14 Mar 2022 05:55:34 +0100 > > > > > > how do I force auto-saving of a particular buffer, or of all buffers, > > > that are not visiting a file, right now? > > > > "M-x do-auto-save RET" > > > > As for buffers not visiting files: you should set that up separately, > > e.g. by turning on the auto-save-mode in those buffers (manually or > > otherwise). > > > > Yes, and how do I make it so that a buffer not visiting a file is > being auto-saved without delay once the auto-save-mode has been > enabled? Or can I make it auto-save once before enabling auto-save > mode? Not before, _after_.