all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Gilles <gilles.usenet@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 47439@debbugs.gnu.org
Subject: bug#47439: 27.2; In daemon mode, if after-init-hook errors out, the server does not start
Date: Sun, 28 Mar 2021 19:04:44 +0200	[thread overview]
Message-ID: <CAHf9+Cv+SU186zxNmm3DS-4i30Q5Asw-44GG7KqOaqXvdUEz0A@mail.gmail.com> (raw)
In-Reply-To: <87k0prqqck.fsf@gnus.org>

Looking at the code in startup.el, I think it would be ok to let
errors go uncaught (it would avoid any complication to debug those
errors), but the daemon should start anyway. How about putting most of
command-line in an unwind-protect? Or moving the daemon start outside
the unwind-protect in normal-top-level?

-- Gilles

On Sun, 28 Mar 2021 at 16:56, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > You mean, catching the error if we are starting the daemon? that's one
> > possibility, assuming that the error message will then be visible when
> > the first client connects.
> >
> > In non-daemon mode I think we should keep not catching errors.
>
> Yup, and yup.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-03-28 17:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-28  1:00 bug#47439: 27.2; In daemon mode, if after-init-hook errors out, the server does not start Gilles
2021-03-28 13:56 ` Lars Ingebrigtsen
2021-03-28 14:05   ` Eli Zaretskii
2021-03-28 14:43     ` Lars Ingebrigtsen
2021-03-28 14:55       ` Eli Zaretskii
2021-03-28 14:56         ` Lars Ingebrigtsen
2021-03-28 17:04           ` Gilles [this message]
2021-03-28 17:23             ` Eli Zaretskii

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

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

  git send-email \
    --in-reply-to=CAHf9+Cv+SU186zxNmm3DS-4i30Q5Asw-44GG7KqOaqXvdUEz0A@mail.gmail.com \
    --to=gilles.usenet@gmail.com \
    --cc=47439@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /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 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.