From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: raman Newsgroups: gmane.emacs.devel Subject: Re: Async package.el Date: Thu, 09 Apr 2015 07:06:23 -0700 Message-ID: <87oamx8kgw.fsf@gmail.com> References: <55228FD2.3080501@yandex.ru> <552330A2.1090406@yandex.ru> <55248915.5070707@yandex.ru> <5525DA9F.2000301@yandex.ru> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428588421 4323 80.91.229.3 (9 Apr 2015 14:07:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2015 14:07:01 +0000 (UTC) Cc: Stefan Monnier , bruce.connor.am@gmail.com, emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 09 16:07:00 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YgD6h-00068k-PN for ged-emacs-devel@m.gmane.org; Thu, 09 Apr 2015 16:06:59 +0200 Original-Received: from localhost ([::1]:34766 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgD6h-0004P4-3P for ged-emacs-devel@m.gmane.org; Thu, 09 Apr 2015 10:06:59 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgD6G-0004Gy-UI for emacs-devel@gnu.org; Thu, 09 Apr 2015 10:06:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgD6B-0002y2-9R for emacs-devel@gnu.org; Thu, 09 Apr 2015 10:06:32 -0400 Original-Received: from mail-pd0-x22b.google.com ([2607:f8b0:400e:c02::22b]:36700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgD6A-0002xk-Tp for emacs-devel@gnu.org; Thu, 09 Apr 2015 10:06:27 -0400 Original-Received: by pdea3 with SMTP id a3so154173825pde.3 for ; Thu, 09 Apr 2015 07:06:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=3gYhX5xxwIg1Bo1tz2kEPznNlAHE4TQCZUlbKl64jys=; b=jJg6VtMEc8f+eqVlIoK8kgG+ptP3nRE525UT+EDitCEJuR+e0jioX9aR/0H3QJKaHu 5LsDS6cL98DFKYEp8mO1HtE2YBAXUTSnHMBRZscCZq8FiF69PvTduEPeMFCXZ9/JLkeM RHBwQYbRpbfZClIx4tVMZx35CnaTMKa1tzDvQpTSCrGqSdqXlcQYMQSisyH2ebqDSBJh U09i1VJmXgH6Jw0VScSKdq2n/Eo8cqo6ClSz9F7HHgTbAL8nmns9pMfKv7UrSpFwtx+m UrBiZ/ku/GAwBislKpOmNSnWXQpS1DRZ/MJS1/vlUWSwqte0QMW+WQM5cb7qUUQXq03T kgEA== X-Received: by 10.70.134.234 with SMTP id pn10mr55975987pdb.144.1428588385648; Thu, 09 Apr 2015 07:06:25 -0700 (PDT) Original-Received: from labrador (c-73-170-121-60.hsd1.ca.comcast.net. [73.170.121.60]) by mx.google.com with ESMTPSA id np6sm14709568pdb.80.2015.04.09.07.06.24 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Apr 2015 07:06:24 -0700 (PDT) In-Reply-To: <5525DA9F.2000301@yandex.ru> (Dmitry Gutov's message of "Thu, 09 Apr 2015 04:49:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c02::22b X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185207 Archived-At: Also, attempting to make package async shows up a problem that is lying in wait as Emacs gets multithreading capabilities -- most elisp packages are written assuming a sync/blocking world -- especially with respect to user-feedback. So even as package downloads and installs things asynchronously, the underlying elisp modules that download, unpack and compile output messages continuously in the echo area -- wonder how distracting that is to someone who can see. I can say that it well-nigh makes things impossible with Emacspeak at present -- I need to find a way of telling #'message not to talk when called from an async task -- or more generally, if called from anything except the main UI thread. Any ideas?