[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#34093: auto-save prevents quitting emacs on read-only filesystem

From: Leonard Lausen
Subject: bug#34093: auto-save prevents quitting emacs on read-only filesystem
Date: Wed, 16 Jan 2019 03:01:28 +0000

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, 
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

The company-mode bug report is at

This is with GNU Emacs 26.1 and the following init.el

reply via email to

[Prev in Thread] Current Thread [Next in Thread]