From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.devel Subject: async message Date: Thu, 09 Apr 2015 15:19:38 +0000 Message-ID: <87d23ds511.fsf_-_@violet.siamics.net> References: <55228FD2.3080501@yandex.ru> <552330A2.1090406@yandex.ru> <55248915.5070707@yandex.ru> <5525DA9F.2000301@yandex.ru> <87oamx8kgw.fsf@gmail.com> <87r3rts7o9.fsf@gmx.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1428592827 18776 80.91.229.3 (9 Apr 2015 15:20:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Apr 2015 15:20:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 09 17:20:21 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 1YgEFf-00081F-VM for ged-emacs-devel@m.gmane.org; Thu, 09 Apr 2015 17:20:20 +0200 Original-Received: from localhost ([::1]:35218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgEFf-0002gk-7O for ged-emacs-devel@m.gmane.org; Thu, 09 Apr 2015 11:20:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48607) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgEFb-0002gc-SO for emacs-devel@gnu.org; Thu, 09 Apr 2015 11:20:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YgEFa-0007MK-GU for emacs-devel@gnu.org; Thu, 09 Apr 2015 11:20:15 -0400 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:48689) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YgEFa-000731-5a for emacs-devel@gnu.org; Thu, 09 Apr 2015 11:20:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=EMFyVPKAqR7Lc3eEugfnqZsVb2epbMH6ioJpDIRBX9o=; b=dasZMQ83FUns4KuUf01SSup8EcGxeJCMpx2KN3dCDLJhCzGw9BldLiVBJHcIfUxNBYmz8NF876CyORZ2AMuWw/vF7tmBgoZiBxqlTnxG50sx1p5pfIkNcrTMeu29d+3p3nk+LN1ejsLhRlmzh61KOg92CJ+kRecJRhw5gU90aS4=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YgEFC-00086X-Qj for emacs-devel@gnu.org; Thu, 09 Apr 2015 15:19:50 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YgEF0-00034O-Uu for emacs-devel@gnu.org; Thu, 09 Apr 2015 22:19:39 +0700 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <87r3rts7o9.fsf@gmx.us> (rasmus@gmx.us's message of "Thu, 09 Apr 2015 16:22:30 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:d15:1b86::2 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:185212 Archived-At: >>>>> Rasmus writes: >>>>> Hi, raman writes: >> I need to find a way of telling #'message not to talk when called >> from an async task =E2=80=94 or more generally, if called from anything >> except the main UI thread. Any ideas? > Is something like this too hackish? > (cl-letf (((symbol-function 'message) 'ignore)) whatever) While I tend to agree there=E2=80=99s a problem with the echo area, I=E2= =80=99d rather have =E2=80=98message=E2=80=99 /still/ add to the *Messages* buffer= even when otherwise =E2=80=9Cmuted=E2=80=9D. [=E2=80=A6] --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A