From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#3833: 23.0.96; Default for desktop-buffers-not-to-save omits files Date: Sun, 12 Jul 2009 22:46:43 +0300 Message-ID: <838witsmzg.fsf@gnu.org> References: <87eislivw4.fsf@stupidchicken.com> Reply-To: Eli Zaretskii , 3833@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1247428674 20136 80.91.229.12 (12 Jul 2009 19:57:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jul 2009 19:57:54 +0000 (UTC) Cc: 3833@emacsbugs.donarmstrong.com To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 12 21:57:47 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 1MQ5BC-0002Ek-U4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 21:57:47 +0200 Original-Received: from localhost ([127.0.0.1]:55917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ5BC-0005S4-Bi for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jul 2009 15:57:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQ5B2-0005Pa-8M for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 15:57:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQ5Aw-0005N9-TR for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 15:57:35 -0400 Original-Received: from [199.232.76.173] (port=53682 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ5Aw-0005N1-IR for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 15:57:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55223) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MQ5Av-0003eI-OE for bug-gnu-emacs@gnu.org; Sun, 12 Jul 2009 15:57:30 -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 n6CJvRUH024142; Sun, 12 Jul 2009 12:57:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6CJt8Ob023504; Sun, 12 Jul 2009 12:55:08 -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 19:55:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3833 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3833-submit@emacsbugs.donarmstrong.com id=B3833.124742801722404 (code B ref 3833); Sun, 12 Jul 2009 19:55:07 +0000 Original-Received: (at 3833) by emacsbugs.donarmstrong.com; 12 Jul 2009 19:46:57 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout1.012.net.il (mtaout1.012.net.il [84.95.2.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6CJkpkr022398 for <3833@emacsbugs.donarmstrong.com>; Sun, 12 Jul 2009 12:46:53 -0700 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KMO00B00NRGYI00@i-mtaout1.012.net.il> for 3833@emacsbugs.donarmstrong.com; Sun, 12 Jul 2009 22:46:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.66.189]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KMO004OXPLVZ2B0@i-mtaout1.012.net.il>; Sun, 12 Jul 2009 22:46:44 +0300 (IDT) In-reply-to: <87eislivw4.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sun, 12 Jul 2009 15:57:35 -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:29368 Archived-At: > From: Chong Yidong > Cc: 3833@emacsbugs.donarmstrong.com > Date: Sun, 12 Jul 2009 14:44:27 -0400 > > I agree that .log should be removed. However, the two other items seem > to make sense: Gnus and FTP sessions, because desktop.el can't recreate > those. The fact that Gnus makes buffers named nn.a7 does not mean there cannot be a file or buffer by that name that has nothing to do with Gnus. Likewise, there can legitimately be a file or buffer named literally "(ftp)". If these are names of buffers that many users would like to omit, we can make them one of the choices we offer, but I don't think we should make them the default. Also, I think desktop.el should check that buffers mentioned in desktop-buffers-not-to-save don't have an associated file. Files should be mentioned in desktop-files-not-to-save. > If you'd like to remove .log, please go ahead and do so on the > trunk. Done. > > Similarly with desktop-files-not-to-save: its default should be nil, > > IMO. > > These are remote (Tramp/ange-ftp) files. Only mostly so. They can be regular files as well. > Again, I think the rationale is that desktop.el can't recreate them > properly. Why not? If they exist on the remote host, I think it can.