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: Mon, 21 Mar 2022 14:22:38 +0200 Message-ID: <8335jbfqb5.fsf@gnu.org> References: <87wngsmdwp.fsf@web.de> <9f32ac59eb1bc186b015c0b6c5b94822e70d4135.camel@adminart.net> <87y2164u5p.fsf@web.de> <9c3935a33573d50e595f37103434db5e29c21063.camel@adminart.net> <87ilsa61tn.fsf@web.de> <37e890d9c251b30d0caf83aa590bca1ad92ec5d4.camel@adminart.net> <87wngqclgk.fsf@gmx.de> <95f0e96687187c20086bf9f85a031a7271401407.camel@adminart.net> <4486cbd26d1c5c4587507212bfbb7ca34c5d92ea.camel@adminart.net> <2555abdd3813f67d08230e809526bc4c6f45087b.camel@adminart.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2309"; 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 Mon Mar 21 13:31:05 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 1nWHBg-0000Nr-B3 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 13:31:04 +0100 Original-Received: from localhost ([::1]:35370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nWHBf-0005Yu-2V for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 21 Mar 2022 08:31:03 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42510) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nWH3m-0001xz-AU for help-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:22:54 -0400 Original-Received: from [2001:470:142:3::e] (port=40990 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 1nWH3m-0007oq-1Q for help-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:22:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=L0Fx+8AAhYoNqrE7OgiFVyt+zv2oelouWVbpjG09ffc=; b=fnDibn87Hdaf9+HE/AEi tliTNcrECLSdcaSrXqVEpDYmdoTuwj9M/SoomArkLlDCZL9KUuNkak26ZSG5H2Cef1RTijxNFfs5h qeRK8SrhkO9Vk5LquN8Wx63rHCpK3R9Q190a8I93VdDU9UsY4l2KU1GSeE3Qv7rF2BJNZc6ZLluRu Ps4HdRnFXLIle6tHRatTepL5g5NODXe28ydNzux/edXjzfCR30arRrUIYS1nOcTW4ZYAjs1486CGl 1SewpOQzRYnUeh2Lwd35MHhEB/x1lljXRabjJ4DeRTeIAL6n/62fHG8cppycj7bp596A62rJxZdXR AuO0HxUBX3AKLA==; Original-Received: from [87.69.77.57] (port=3495 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 1nWH3l-0006AT-HO for help-gnu-emacs@gnu.org; Mon, 21 Mar 2022 08:22:53 -0400 In-Reply-To: <2555abdd3813f67d08230e809526bc4c6f45087b.camel@adminart.net> (message from hw on Mon, 21 Mar 2022 04:55:22 +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:136704 Archived-At: > From: hw > Date: Mon, 21 Mar 2022 04:55:22 +0100 > > > > > > Its value is > > > > > (("\\`/[^/]*:\\([^/]*/\\)*\\([^/]*\\)\\'" "/tmp/\\2" t)) > > > > [...] > > > > > Yes --- I didn't see that because that expression is so unreadable. > > > > To some it is readable, to some not. It takes some practice. > > I'm sure there are 5 people for whom it's easily readable. For others, > it would be helpful if the description would explain what the default > is supposed to match and if it would have same useful examples. The doc string already does that: The default value is set up to put the auto-save file into the temporary directory (see the variable ‘temporary-file-directory’) for editing a remote file. I think this is pretty easy to understand, don't you agree?