all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#34093: auto-save prevents quitting emacs on read-only filesystem
@ 2019-01-16  3:01 Leonard Lausen
  2020-08-18 17:52 ` Stefan Kangas
  0 siblings, 1 reply; 6+ messages in thread
From: Leonard Lausen @ 2019-01-16  3:01 UTC (permalink / raw)
  To: 34093

Recently my filesystem had to be emergency remounted as read-only. I
observed that I could not kill-emacs anymore. The following showed up in
my log upon trying to quit emacs:

```
company-statistics--save: Opening output file: Read-only file system, /home/leonard/.emacs.d/.cache/company-statistics-cache.el
Error running timer ‘savehist-autosave’: (file-error "Opening output file" "Read-only file system" "/home/leonard/.emacs.d/.cache/savehist")
```

This prevented quitting emacs.

I am not sure if `company-statistics--save` prevented the shutdown, or
just warned about the read-only file system. Possibly the behavior of
`company-statistics--save` is sane and only `savehist-autosave` is at
fault. Maybe both are at fault?

The expected behavior is that emacs may warn about or ignore that it
cannot write the savehist file. Calling kill-emacs should still quit
emacs.

The company-mode bug report is at
https://github.com/company-mode/company-mode/issues/860

This is with GNU Emacs 26.1 and the following init.el
https://github.com/leezu/dotfiles/blob/master/emacs/.spacemacs.d/init.el





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

end of thread, other threads:[~2021-05-12  4:04 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-16  3:01 bug#34093: auto-save prevents quitting emacs on read-only filesystem Leonard Lausen
2020-08-18 17:52 ` Stefan Kangas
2020-08-18 18:20   ` Eli Zaretskii
2020-08-18 18:44     ` Stefan Kangas
2021-05-11 13:58       ` Lars Ingebrigtsen
2021-05-12  4:04         ` 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.