[Top][All Lists]

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

bug#6963: More usecases, patch attached

From: Chong Yidong
Subject: bug#6963: More usecases, patch attached
Date: Sun, 03 Oct 2010 00:55:40 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Juanma Barranquero <address@hidden> writes:

> On Sun, Oct 3, 2010 at 02:00, Chong Yidong <address@hidden> wrote:
>> I agree, the second case should not lead to EXIT_FAILURE.  I've checked
>> the patch, with this and a couple of other corrections, into the trunk.
> OK, though I agree with Wolfgang that the first case would be more
> useful returning a new EXIT_EMACSERROR (2) instead of EXIT_FAILURE
> (1).

I'm ambivalent.  This argument implies that we should give different
exit code for everything that could lead to failure in emacsclient, and
there are 18 separate cases in emacsclient.c.  It seems to me that, in
practice, people don't bother looking up the exit code, since there's no
established convention (other than 0 for success and 1 for failure);
they just look at the error message.

reply via email to

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