From: Mark P <not@my.real.email>
Subject: simple question - temporarily disable autosave?
Date: Mon, 24 Jan 2005 16:56:16 -0800 [thread overview]
Message-ID: <ct45ff01tct@enews3.newsguy.com> (raw)
My emacs client normally auto-saves on a regular basis. Here are the
relevant bits from my .emacs that I'm sure I got from somewhere else:
;; auto-save stuff
(setq auto-save-interval 100)
(setq auto-save-timeout nil)
(setq auto-save-list-file-prefix ".saves/")
;; backup version stuff
(setq version-control t)
(setq kept-old-versions 3)
(setq kept-new-versions 5)
(setq delete-old-versions t)
The problem is when I'm in a read-only directory looking at a file and
emacs flashes repeated warning that it's unable to auto-save. I assume
I can M-x auto-save-mode to turn this off as needed, but is there any
way to make it automatically do this when I don't have write permission?
Better still, if I don't have write permission I'm not going to be
modifying the file; maybe it can wait till I've made a change to the
file before trying to auto-save?
Thanks for your help!
reply other threads:[~2005-01-25 0:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ct45ff01tct@enews3.newsguy.com \
--to=not@my.real.email \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.