unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Arne Babenhauserheide <arne_bab@web.de>
Cc: 38246@debbugs.gnu.org
Subject: bug#38246: 26.1; type-break-mode not resilient against corrupted state file
Date: Thu, 21 Jan 2021 18:11:09 +0100	[thread overview]
Message-ID: <8735yu6wr6.fsf@gnus.org> (raw)
In-Reply-To: <878soecqpo.fsf@web.de> (Arne Babenhauserheide's message of "Sun,  17 Nov 2019 19:17:39 +0100")

Arne Babenhauserheide <arne_bab@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





      reply	other threads:[~2021-01-21 17:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-17 18:17 bug#38246: 26.1; type-break-mode not resilient against corrupted state file Arne Babenhauserheide
2021-01-21 17:11 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8735yu6wr6.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=38246@debbugs.gnu.org \
    --cc=arne_bab@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).