GNU bug report logs - #38246
26.1; type-break-mode not resilient against corrupted state file

Previous Next

Package: emacs;

Reported by: Arne Babenhauserheide <arne_bab <at> web.de>

Date: Sun, 17 Nov 2019 18:19:01 UTC

Severity: normal

Tags: fixed

Found in version 26.1

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 38246 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Arne Babenhauserheide <arne_bab <at> web.de>
Cc: 38246 <at> debbugs.gnu.org
Subject: Re: bug#38246: 26.1; type-break-mode not resilient against
 corrupted state file
Date: Thu, 21 Jan 2021 18:11:09 +0100
Arne Babenhauserheide <arne_bab <at> web.de> writes:

> When I start emacs after it was killed on shutdown, I often get the
> following error message on startup:
>
> Warning (initialization): An error occurred while loading ‘/home/arne/.emacs.d/init.el’:
>
> error: End of file in ‘~/.emacs.d/type-break’
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the ‘--debug-init’ option to view a complete error backtrace.
>
> This is an unnecessary error, because type-break-mode is in a valid
> configuration if it simply starts fresh if the file is corrupted.
> Therefore it would be great if it could just ignore errors on loading.
>
> The error often appears when I shutdown from Gnome without shutting down
> emacs first.

I've now changed type-break-mode to just issue a warning instead of an
error.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 4 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.