From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#6963: More usecases, patch attached Date: Wed, 29 Sep 2010 17:43:16 +0200 Message-ID: References: <201009011216.17097.arne_bab@web.de> <20100929060918.GB9654@elzar.ws.whq.gocept.com> <20100929150805.GA6325@elzar.ws.whq.gocept.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285776894 22114 80.91.229.12 (29 Sep 2010 16:14:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 29 Sep 2010 16:14:54 +0000 (UTC) Cc: 6963@debbugs.gnu.org To: Wolfgang Schnerring Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 29 18:14:53 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P0zIv-0005MD-J4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Sep 2010 18:14:49 +0200 Original-Received: from localhost ([127.0.0.1]:37776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0zIu-0000Xu-Pp for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Sep 2010 12:14:48 -0400 Original-Received: from [140.186.70.92] (port=48696 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0zG7-0006sp-IJ for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 12:11:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0zFz-0004Md-N9 for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 12:11:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45417) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0zFz-0004MZ-Lq for bug-gnu-emacs@gnu.org; Wed, 29 Sep 2010 12:11:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P0yr3-0005ku-Lw; Wed, 29 Sep 2010 11:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 29 Sep 2010 15:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6963 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6963-submit@debbugs.gnu.org id=B6963.128577515722118 (code B ref 6963); Wed, 29 Sep 2010 15:46:01 +0000 Original-Received: (at 6963) by debbugs.gnu.org; 29 Sep 2010 15:45:57 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0yqy-0005kh-P4 for submit@debbugs.gnu.org; Wed, 29 Sep 2010 11:45:57 -0400 Original-Received: from mail-iw0-f172.google.com ([209.85.214.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0yqw-0005ka-O2 for 6963@debbugs.gnu.org; Wed, 29 Sep 2010 11:45:55 -0400 Original-Received: by iwn3 with SMTP id 3so1100802iwn.3 for <6963@debbugs.gnu.org>; Wed, 29 Sep 2010 08:48:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=ZjbHqwCvWZh/mzEZuTZ7VzQ6kBlp88WSfdsj6m67nPw=; b=aDKaBsFnhhkaQEer9/I3Ar3NU5jbgwqqiBcHM++gO7O/RzxBkYTLUxDUO52wuwC8C9 CdIH02vqtSsVIvKiSOaieqUmjV/iBcmZHF/bHHVDi9aj9kYlLMkDX8ku20ocCzwPwEga xw9UGyuUyUpnX5CV1UvXDPR9NughMdfb5c5pg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=IcyyTgwENG+NF+67T+whZAePiJ/0THln8GIARIP4gNwHSHM6JWMO6RylcSrZn32moT nQvhcK5Dtt/PjFLAE/KWWOOkqTQAF1T7nH79IRE9NtJNYU4eSNNUqRV7SFChmzFjmI3Y 08iw9xLcW46ceKdcUvHEyqem9laKbgHWDYfM4= Original-Received: by 10.231.174.196 with SMTP id u4mr2015754ibz.19.1285775327555; Wed, 29 Sep 2010 08:48:47 -0700 (PDT) Original-Received: by 10.231.196.71 with HTTP; Wed, 29 Sep 2010 08:43:16 -0700 (PDT) In-Reply-To: <20100929150805.GA6325@elzar.ws.whq.gocept.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 29 Sep 2010 11:46:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40546 Archived-At: On Wed, Sep 29, 2010 at 17:08, Wolfgang Schnerring wrote: > I personally consider it a bug, since everything else about "errors > from Emacs" is already there, only the exit status is missing. And > that really does not play nice with others. > (That said, this is a gray area, and one could probably also just as > well argue the opposite.) I tend to agree with you about it being a bug, but OTOH I try to be extremely conservative about committing changes into the release branch, other than typos, docfixes, regression fixes and very-obviously-correct bugfixes. That's the stated (though not always followed) policy, and I think it's a very good one. In this case, the patch changes the behavior of emacsclient, so even if it fixes a bug, it could still affect users of emacsclient in non-obvious ways (because, as you do, they could be using emacsclient from scripts, tools, etc.). So I'd say it's best to keep this for the trunk. > It probably makes sense to distinguish these, since they are different > types of errors, technical ("communication with Emacs failed") vs. > semantic ("Emacs said boo!"). > One might want to invoke something that has known error cases, which > would benefit from being treated differently than a socket error or > somesuch. I agree, and it doesn't make the patch more complicate (just one more line)= . =C2=A0 =C2=A0 Juanma