From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13546: 24.2.92; Error(s) when sending emails Date: Fri, 15 Feb 2013 15:26:48 +0200 Message-ID: <83ehghu2qv.fsf@gnu.org> References: <86ehh9mx93.fsf@somewhere.org> <86libhfj7x.fsf@somewhere.org> <86ham5ffc5.fsf@somewhere.org> <861ud9gsh9.fsf@somewhere.org> <86ip5x3do6.fsf@somewhere.org> <867gmdl73l.fsf@somewhere.org> <83pq043zbn.fsf@gnu.org> <87r4kjkvkt.fsf@gmail.com> <86liapoobz.fsf@somewhere.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1360934864 15299 80.91.229.3 (15 Feb 2013 13:27:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Feb 2013 13:27:44 +0000 (UTC) Cc: 13546@debbugs.gnu.org, thierry.volpiatto@gmail.com To: Sebastien Vauban Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 14:28:05 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U6LKZ-0002HE-Sb for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2013 14:27:59 +0100 Original-Received: from localhost ([::1]:57227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6LKG-00062a-1l for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Feb 2013 08:27:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:42174) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6LK8-000627-6W for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 08:27:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U6LK0-0004jq-0m for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 08:27:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51781) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U6LJz-0004jl-Tc for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 08:27:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1U6LKd-00083N-65 for bug-gnu-emacs@gnu.org; Fri, 15 Feb 2013 08:28:05 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Feb 2013 13:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13546 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13546-submit@debbugs.gnu.org id=B13546.136093488230945 (code B ref 13546); Fri, 15 Feb 2013 13:28:03 +0000 Original-Received: (at 13546) by debbugs.gnu.org; 15 Feb 2013 13:28:02 +0000 Original-Received: from localhost ([127.0.0.1]:57245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6LKP-00082x-VF for submit@debbugs.gnu.org; Fri, 15 Feb 2013 08:27:50 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:57428) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U6LKL-00082m-EG for 13546@debbugs.gnu.org; Fri, 15 Feb 2013 08:27:47 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MI900B00JTN5600@a-mtaout22.012.net.il> for 13546@debbugs.gnu.org; Fri, 15 Feb 2013 15:26:30 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MI90080BK05FAI1@a-mtaout22.012.net.il>; Fri, 15 Feb 2013 15:26:30 +0200 (IST) In-reply-to: <86liapoobz.fsf@somewhere.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71312 Archived-At: > From: "Sebastien Vauban" > Cc: Thierry Volpiatto , 13546@debbugs.gnu.org > Date: Fri, 15 Feb 2013 11:37:04 +0100 > > > Btw, I'm surprised that helm starts an async subprocess, just to kill > > it after its output was collected. Isn't this exactly what > > synchronous subprocesses are for? What is the purpose of such a > > strange design? (except if you wanted to help find bugs in Emacs when > > async subprocesses are launched and killed at high frequency ;-) > > IIUC, I guess the reason is not to block the user during typing: the fact that > Helm's locate is still collecting results does not hinder to type an extra > character to refined the search. That consideration doesn't apply in this case, AFAIU, for 2 reeasons: . 'locate' must be (and is) reasonably fast for this feature to be liked by users. Otherwise, the results you see will lag behind input, i.e. they will lie to you. In your screencasts one can clearly see that you type a character and wait for the result to appear before you type the next one, which is what I'd expect, so a synchronous subprocess that does its job quickly will fit this very well. . Typing at a very fast rate will prevent Emacs from reading output from 'locate', if it is run asynchronously, so you will see no results at all in this case. Not really useful, IMO.