unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Save current buffer per 5 miniutes
Date: Mon, 01 Aug 2016 17:16:08 +0300	[thread overview]
Message-ID: <83h9b4o9qv.fsf@gnu.org> (raw)
In-Reply-To: <87eg6823wp.fsf@alex.chromebook> (soyeomul@doraji.xyz)

> From: "Byung-Hee HWANG (황병희)" <soyeomul@doraji.xyz>
> 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.



  reply	other threads:[~2016-08-01 14:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 10:13 Save current buffer per 5 miniutes Byung-Hee HWANG (황병희)
2016-08-01 14:16 ` Eli Zaretskii [this message]
2016-08-01 14:20 ` Pascal J. Bourguignon
2016-08-01 14:23 ` Óscar Fuentes
2016-08-01 15:24   ` Byung-Hee HWANG (황병희)
2016-08-02  0:04     ` Emanuel Berg
2016-08-02  9:17       ` Byung-Hee HWANG (황병희)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83h9b4o9qv.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).