From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: desktop-auto-save-timeout Date: Thu, 29 May 2014 21:24:01 +0300 Message-ID: <838upkh29q.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1401387858 20135 80.91.229.3 (29 May 2014 18:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 29 May 2014 18:24:18 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 29 20:24:11 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wq4zr-0002An-0s for ged-emacs-devel@m.gmane.org; Thu, 29 May 2014 20:24:11 +0200 Original-Received: from localhost ([::1]:49668 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq4zq-0003iF-Jy for ged-emacs-devel@m.gmane.org; Thu, 29 May 2014 14:24:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57690) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq4zf-0003XG-Az for emacs-devel@gnu.org; Thu, 29 May 2014 14:24:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wq4zW-0005Aa-UR for emacs-devel@gnu.org; Thu, 29 May 2014 14:23:59 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:36850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wq4zW-0005A8-Fn for emacs-devel@gnu.org; Thu, 29 May 2014 14:23:50 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N6C00700LKZ1H00@mtaout29.012.net.il> for emacs-devel@gnu.org; Thu, 29 May 2014 21:24:22 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N6C005PJLSMEJ20@mtaout29.012.net.il>; Thu, 29 May 2014 21:24:22 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.185 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:172178 Archived-At: 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?