From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3833: 23.0.96; Default for desktop-buffers-not-to-save omits files Date: Sun, 12 Jul 2009 21:06:34 +0300 Message-ID: <83bpnpsrmd.fsf@gnu.org> Reply-To: Eli Zaretskii , 3833@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247422703 5672 80.91.229.12 (12 Jul 2009 18:18:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2009 18:18:23 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 12 20:18:16 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MQ3ct-0001WY-IS for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 20:18:15 +0200 Original-Received: from localhost ([127.0.0.1]:54014 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ3cs-0000F7-RH for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 14:18:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQ3cD-00086j-Pb for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 14:17:33 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQ3cA-00082m-3T for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 14:17:33 -0400 Original-Received: from [199.232.76.173] (port=54210 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ3c9-00082h-P9 for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 14:17:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46336) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQ3c9-0000vo-8F for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 14:17:29 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6CIHRWo008265; Sun, 12 Jul 2009 11:17:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6CIF4TV007618; Sun, 12 Jul 2009 11:15:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 12 Jul 2009 18:15:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3833 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12474220246700 (code B ref -1); Sun, 12 Jul 2009 18:15:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Jul 2009 18:07:04 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6CI70A8006694 for ; Sun, 12 Jul 2009 11:07:01 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:50592) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MQ3Rz-0004UA-Lt for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 14:06:59 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MQ3Ry-0007ms-LE for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 14:06:59 -0400 Original-Received: from mtaout4.012.net.il ([84.95.2.10]:17702 helo=mtaout3.012.net.il) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQ3Rg-0007jL-39 for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 14:06:58 -0400 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KMO00D00KYOVL00@i_mtaout3.012.net.il> for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 21:06:34 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.66.189]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KMO005OQKYY8880@i_mtaout3.012.net.il> for emacs-pretest-bug@gnu.org; Sun, 12 Jul 2009 21:06:34 +0300 (IDT) X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 12 Jul 2009 14:17:33 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29361 gmane.emacs.pretest.bugs:24781 Archived-At: I restarted Emacs today on one of my machines (because I built a new version), and suddenly some of the files I worked on in the previous session were not visited by Emacs. It took time for me to find which files I was working on, because I don't keep records of all of the files I have in my session: I trust desktop.el to do that. Looking in desktop.el, I see that desktop-buffers-not-to-save intentionally omits buffers whose names end in ".log" and a couple others. Sure thing, the files that were not visited after restarting ended in ".log". I think that variable's default should be nil. I think it is up to the user to decide that she doesn't want to record some of the buffers/files. It is no business of desktop.el to decide for the user. Especially since there is no way of telling desktop.el to override the value of desktop-buffers-not-to-save for some specific buffer, short of renaming the buffer. Similarly with desktop-files-not-to-save: its default should be nil, IMO. In GNU Emacs 23.0.96.1 (i386-mingw-nt5.1.2600) of 2009-07-11 on HOME-C4E4A596F7 Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENU value of $XMODIFIERS: nil locale-coding-system: cp1255 default-enable-multibyte-characters: t Major mode: Mail Minor modes in effect: flyspell-mode: t desktop-save-mode: t show-paren-mode: t display-time-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t temp-buffer-resize-mode: t line-number-mode: t abbrev-mode: t