From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Save current buffer per 5 miniutes Date: Mon, 01 Aug 2016 17:16:08 +0300 Message-ID: <83h9b4o9qv.fsf@gnu.org> References: <87eg6823wp.fsf@alex.chromebook> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1470061051 12264 80.91.229.8 (1 Aug 2016 14:17:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 1 Aug 2016 14:17:31 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Aug 01 16:17:17 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUE1t-0002qg-7l for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Aug 2016 16:17:17 +0200 Original-Received: from localhost ([::1]:50604 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUE1p-0001s4-3s for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Aug 2016 10:17:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53162) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUE17-0001pD-Hn for help-gnu-emacs@gnu.org; Mon, 01 Aug 2016 10:16:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUE12-0001DG-Al for help-gnu-emacs@gnu.org; Mon, 01 Aug 2016 10:16:28 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUE12-0001D5-7c for help-gnu-emacs@gnu.org; Mon, 01 Aug 2016 10:16:24 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4814 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bUE11-0007NH-FZ for help-gnu-emacs@gnu.org; Mon, 01 Aug 2016 10:16:23 -0400 In-reply-to: <87eg6823wp.fsf@alex.chromebook> (soyeomul@doraji.xyz) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111032 Archived-At: > From: "Byung-Hee HWANG (황병희)" > Date: Mon, 01 Aug 2016 19:13:10 +0900 > > Well i'm affraid to lost my works. Because my ubuntu's X is freeze > sometimes. So i start to search save current buffer by auto per 5 > miniutes. However i failed. Could you please give me some hints? Set the variable auto-save-timeout to the value you want, in seconds. However, the default value is 30 sec, which is less than your 5 minutes. So the default should be good for you. You may wish to make the value of auto-save-interval smaller -- it is the number of keystrokes after which Emacs will auto-save. The default is 300. Read about auto saving in the Emacs manual.