unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Juanma Barranquero <lekktu@gmail.com>
Cc: emacs-devel@gnu.org
Subject: desktop-auto-save-timeout
Date: Thu, 29 May 2014 21:24:01 +0300	[thread overview]
Message-ID: <838upkh29q.fsf@gnu.org> (raw)

I wonder if the default value of this option (equal to
auto-save-timeout) is TRT.  The latter is used to auto-save our edits,
which are by definition precious, so people are likely to customize it
to small values (I have it at 15 sec).  By contrast, important desktop
changes are relatively rare, and even if some of them are lost, it's
not a disaster, at least not in general.

I've run Emacs 24.3.9x with the default value (which for me means
15sec) for some time, and the results are unpleasant: Emacs becomes
sluggish in its response whenever you look at the screen for more than
the timeout without typing anything.  E.g., start an I-search, then
make a pause to look at the text you found, then type C-s to continue
the search -- it takes a few seconds for Emacs to respond, probably
because the desktop's idle timer invokes desktop-save, which needs to
collect a non-trivial amount of data in a temp buffer, then run that
buffer through md5.  Very annoying.

Why not make the value of this variable nil by default, and let users
who think their desktop configuration is precious customize the
variable to some non-nil value?



             reply	other threads:[~2014-05-29 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-29 18:24 Eli Zaretskii [this message]
2014-06-04 22:49 ` desktop-auto-save-timeout Juri Linkov
2014-06-05  7:48   ` desktop-auto-save-timeout martin rudalics
2014-06-05 23:35     ` desktop-auto-save-timeout Juri Linkov
2014-06-06  6:33       ` desktop-auto-save-timeout Eli Zaretskii

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=838upkh29q.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).