unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#3833: 23.0.96; Default for desktop-buffers-not-to-save omits files
Date: Sun, 12 Jul 2009 21:06:34 +0300	[thread overview]
Message-ID: <83bpnpsrmd.fsf@gnu.org> (raw)

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







             reply	other threads:[~2009-07-12 18:06 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <83y6qmp5gb.fsf@gnu.org>
2009-07-12 18:06 ` Eli Zaretskii [this message]
2009-07-18 12:05   ` bug#3833: marked as done (23.0.96; Default for desktop-buffers-not-to-save omits files) Emacs bug Tracking System
2009-07-12 18:44 bug#3833: 23.0.96; Default for desktop-buffers-not-to-save omits files Chong Yidong
2009-07-12 19:46 ` Eli Zaretskii
2009-07-12 20:21   ` Reiner Steib
2009-07-13  2:06     ` Chong Yidong
2009-07-13  2:47       ` Eli Zaretskii
2009-07-13  4:30         ` Chong Yidong
2009-07-13 18:48           ` Eli Zaretskii
2009-07-16 18:24             ` Eli Zaretskii
2009-07-14 20:03   ` Stefan Monnier
2009-07-18 12:00     ` Eli Zaretskii
2009-07-12 20:35 ` Juri Linkov

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=83bpnpsrmd.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=3833@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /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).