Linux/Unix Acronyms...Answered by self!!!

John Jannotti jj at lcs.mit.edu
Tue Mar 7 12:21:27 EST 2000


Regarding emacs auto-save times, you can set auto-save-interval and
auto-save-timeout.  I use the following functions to adjust auto-save,
when, for instance, I am working on battery power and don't want my disk to
spin up.

interval - number of keyboard characters between saves
timeout - number of idle seconds before auto save

(defun auto-save-never ()
  (interactive)
  (setq auto-save-interval 0)
  (setq auto-save-timeout 0))

(defun auto-save-defaults ()
  (interactive)
  (setq auto-save-interval 300)
  (setq auto-save-timeout 960))

(defun auto-save-less ()
  (interactive)
  (setq auto-save-interval (* 2 auto-save-interval))
  (setq auto-save-timeout (* 2 auto-save-timeout)))

  jj
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list