From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#16630: desktop-auto-save seems confusing Date: Mon, 03 Feb 2014 02:47:10 -0500 Message-ID: <24d2j4vds1.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1391413691 20867 80.91.229.3 (3 Feb 2014 07:48:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Feb 2014 07:48:11 +0000 (UTC) To: 16630@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 03 08:48:16 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WAEGN-00029a-DW for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Feb 2014 08:48:15 +0100 Original-Received: from localhost ([::1]:44653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAEGN-0006ml-1B for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Feb 2014 02:48:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAEGJ-0006mO-T4 for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2014 02:48:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAEGA-0006vA-M7 for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2014 02:48:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAEGA-0006ux-JJ for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2014 02:48:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WAEGA-0000Pr-8s for bug-gnu-emacs@gnu.org; Mon, 03 Feb 2014 02:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Feb 2014 07:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16630 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13914136371534 (code B ref -1); Mon, 03 Feb 2014 07:48:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Feb 2014 07:47:17 +0000 Original-Received: from localhost ([127.0.0.1]:47311 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAEFP-0000Of-Qg for submit@debbugs.gnu.org; Mon, 03 Feb 2014 02:47:16 -0500 Original-Received: from fencepost.gnu.org ([208.118.235.10]:37425) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAEFM-0000OT-TN for submit@debbugs.gnu.org; Mon, 03 Feb 2014 02:47:13 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WAEFL-0006I2-1r; Mon, 03 Feb 2014 02:47:11 -0500 X-Spook: subversive Soviet enforcers counter terrorism 22nd SAS X-Ran: Tj2||@Y=)v%XC&(q8[;Tz.3v=m:dVB=:o|OCF~{tdZ*]*>4yM0JG&J=;$#6l_ebwY.[szb X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84504 Archived-At: Package: emacs Version: 24.3.50 desktop-auto-save has what seems to me to be confusing, limited functionality. emacs -Q ; no existing desktop M-x desktop-save-mode C-h v desktop-auto-save-timer -> nil M-x customize-variable RET desktop-auto-save-timeout RET Set to 20, set for current session C-h v desktop-auto-save-timer -> no longer nil, but still does not auto-save anything, because desktop-owner returns nil Basically, it seems that the only way this feature does anything is if you enable (desktop-save-mode) in .emacs AND have a pre-existing desktop file when you start Emacs. Why doesn't enabling desktop-save-mode at any time just turn it on? Why does it require the desktop file to exist beforehand?