all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* command-line option for virgin session?
@ 2009-05-23 21:47 Drew Adams
  2009-05-25  1:13 ` Stefan Monnier
  2009-05-26 18:43 ` Davis Herring
  0 siblings, 2 replies; 4+ messages in thread
From: Drew Adams @ 2009-05-23 21:47 UTC (permalink / raw
  To: emacs-devel

We have command-line options such as -Q, that start up Emacs without loading
initialization files of one form or another. We have a command-line option,
--no-desktop, to not load any saved desktop file.

Should we have a command-line option that prevents Emacs from recognizing all
such saved-state files (those written and read by vanilla Emacs)? Bookmarks,
history, recent files, stuff in .emacs.d, filesets cache...

I tend to use -Q for testing and for sending bug reports. Anything beyond what
any other user would start with is really just extra baggage, and could
potentially get in the way.

OK, we could add a --no-bookmarks option, and so on, but why not just let -Q do
this in general? That is, have -Q provide a virgin Emacs session that recognizes
no previous-session state. (Or if -Q needs to be kept as it is for some reason,
then how about adding another, more general option to do this?)

Beyond making Emacs ignore past sessions, we might even consider adding another
(different) command-line option that would ignore env var values
(`user-login-name' etc.).

(No, I don't have a specific need in mind for these things; this is all just
hypothetical.)

(I'm a bit surprised that -Q doesn't include --no-desktop, unless it's because
the Desktop is not restored anyway with -Q. But if that's the case, then the doc
should say that -Q includes --no-desktop, just as it says that it includes
--no-site-file.)





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-26 18:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-23 21:47 command-line option for virgin session? Drew Adams
2009-05-25  1:13 ` Stefan Monnier
2009-05-25  2:00   ` Drew Adams
2009-05-26 18:43 ` Davis Herring

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.