all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Cannot quit Emacs from emacs -Q if something was customized
@ 2008-01-15 18:37 Drew Adams
  2008-01-17  5:05 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Drew Adams @ 2008-01-15 18:37 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

If, for whatever reason, something calls, say,
`customize-save-variable' on `kill-emacs-hook', the user cannot quit
Emacs at all. `customize-save-variable' calls `custom-save-all', which
calls `custom-file' to get the custom file name, and `custom-file'
raises an error for emacs -Q (as it should).

There should be some way for a user to override this and say that s?he
wants to quit Emacs anyway. Just as s?he is able to say that s?he
wants to quit Emacs even though there are unsaved modified buffers,
s?he should be able to quit in this context.

More generally, whenever any error is raised while quitting Emacs, the
error should be reported, but you should be able to choose to quit in
spite of the error, via a confirmation message. It makes no sense for
an error during quitting to prevent someone from quitting altogether.


In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
 of 2007-06-02 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --cflags -Ic:/gnuwin32/include'






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

* Re: Cannot quit Emacs from emacs -Q if something was customized
  2008-01-15 18:37 Cannot quit Emacs from emacs -Q if something was customized Drew Adams
@ 2008-01-17  5:05 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2008-01-17  5:05 UTC (permalink / raw)
  To: Drew Adams; +Cc: bug-gnu-emacs

    If, for whatever reason, something calls, say,
    `customize-save-variable' on `kill-emacs-hook', the user cannot quit
    Emacs at all. `customize-save-variable' calls `custom-save-all', which
    calls `custom-file' to get the custom file name, and `custom-file'
    raises an error for emacs -Q (as it should).

Emacs gives you a lot of rope to hang yourself.
I don't think we should worry about this.




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

end of thread, other threads:[~2008-01-17  5:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-15 18:37 Cannot quit Emacs from emacs -Q if something was customized Drew Adams
2008-01-17  5:05 ` Richard Stallman

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.