From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id B0B2B6DE0C7A for ; Fri, 15 Mar 2019 19:09:22 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.015 X-Spam-Level: X-Spam-Status: No, score=-0.015 tagged_above=-999 required=5 tests=[AWL=-0.014, SPF_PASS=-0.001] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EHD51-xr6_J2 for ; Fri, 15 Mar 2019 19:09:21 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 6A6B16DE0B2B for ; Fri, 15 Mar 2019 19:09:21 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1h4ylC-0000ci-77 for notmuch@notmuchmail.org; Fri, 15 Mar 2019 22:09:18 -0400 Received: (nullmailer pid 29923 invoked by uid 1000); Sat, 16 Mar 2019 02:09:16 -0000 From: David Bremner To: notmuch@notmuchmail.org Subject: inconsistent handling of stderr in notmuch-emacs X-List-To: notmuch Date: Fri, 15 Mar 2019 23:09:16 -0300 Message-ID: <871s377epf.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Mar 2019 02:09:22 -0000 Rob noticed that generating extra output on stderr from the notmuch cli breaks some things in notmuch-emacs (in his case this was from a wrapper script). notmuch-search seems fairly robust at this point, but at least notmuch-hello and notmuch-mua-mail get confused by the extra output. I guess this is because of code calling #'call-process without specifying something to do with stderr. I don't know how often this is problem, but I guess it would be nice to eventually only call notmuch using make-process (for recent enough emacs). This allows cleaner handling of stderr.