From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Matt Mello Newsgroups: gmane.emacs.help Subject: ansi-term in EmacsForMac 26.1.2 on Macos slow when not in foreground Date: Tue, 26 Jun 2018 13:51:51 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1530048512 23223 195.159.176.226 (26 Jun 2018 21:28:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 26 Jun 2018 21:28:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 26 23:28:28 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fXvVi-0005uS-Mo for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2018 23:28:26 +0200 Original-Received: from localhost ([::1]:55395 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXvXo-0007k9-Dz for geh-help-gnu-emacs@m.gmane.org; Tue, 26 Jun 2018 17:30:36 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fXuwW-0008NA-O0 for help-gnu-emacs@gnu.org; Tue, 26 Jun 2018 16:52:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fXuwV-0000Uz-UO for help-gnu-emacs@gnu.org; Tue, 26 Jun 2018 16:52:04 -0400 Original-Received: from mail-it0-x236.google.com ([2607:f8b0:4001:c0b::236]:37895) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fXuwV-0000Uo-Pc for help-gnu-emacs@gnu.org; Tue, 26 Jun 2018 16:52:03 -0400 Original-Received: by mail-it0-x236.google.com with SMTP id v83-v6so4277497itc.3 for ; Tue, 26 Jun 2018 13:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=rEwJTQzIv0i3jIdLMBRIQpjqi6YTn48Lks7ARDX7Z/w=; b=clppYzeNQ3jhvQMOjggJhMPgFtG13tfRIQU7JYjYjWoDj6Q793VhRqvz2TkM7j8+yk 1Jry8n1jMdDl2IH97VHh67wb+p5svIWV3ottHpir1iDJ1y3J9tEYHiDSaqmRxb8jjXHL tHMip6EIMFdf84u/Rr9fTTSISQsCZd+8pXvbM36ip6TV0vLETVRcpRHweNGpYqyBCdsA uRNjDGRICkWjkTwNB3AM9a40t8YRUKBYmRznaFSLPDsUfKeQNKHyCod88gefw/IlSCwb kJqGbQeF2+sQUCAksSkqpzhrlT5Hg5ldkVe7uCIk97PKn9TAqhc3OPtOd6IQEvVzoBsi zPFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=rEwJTQzIv0i3jIdLMBRIQpjqi6YTn48Lks7ARDX7Z/w=; b=YHHq1snKr/kVrU6gUhMjf5lqB2TbQtzsH/qmY6vIz0C5sKHRQcmjKpqyDgMQiKeNjO Zaza2WDsb/or9624/CrwA2+NEAOLtG3/7eGu5kCbnWe+LvBoB3i57Cgk7q6CSOe+bOnH b/gS7wHWjaHuwSZ8SmjGHIESuepjzU91nlIBWTS7wXEjjwdmZkZJrtf9mnPGahlP1oB1 Bxd8j7/MJckEg5KumlYZd7eugXI3EA5cKWHYCMylsMRv4yDg8loMu6zjYapLLBC38Qet V6fvA/gKb9Czmwct9xTKAFrP+sOIzi3ZD6Mm+4xHE+N6TeyZGRfdaSC0+mLyEBgZ75BL du9Q== X-Gm-Message-State: APt69E3BGZix6yjWBtiRU86sgGezt+dMYYUZvG7wyTXoVAyL8SK+UEhK HpMdeH4nPifzEs5BP3/5EcyNnJJV/SPh7Ohim/VxHm+H X-Google-Smtp-Source: AAOMgpdE/jd1Fkd37/uYPEr0roiyDC/hFHl3jACLk2O+ncMhZPF8KwxaYniPfTe25Ug+XtEWIokDbIeicIWyaYgiBpo= X-Received: by 2002:a02:7e82:: with SMTP id g2-v6mr2798654jae.80.1530046322591; Tue, 26 Jun 2018 13:52:02 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4001:c0b::236 X-Mailman-Approved-At: Tue, 26 Jun 2018 17:29:58 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117287 Archived-At: I am running mpv, streaming music from the web. When I run it in ansi-term, and when the frame is not in the foreground, the music breaks off every few seconds, as though the performance of emacs/mpv has been compromised. Of course, as soon as I pull it to the front, it is fine, and so long as I have it in front, it seems fine. I can do the same thing in the Terminal or even inside of IntelliJ IDEA's Terminal plugin. When I run it in those, and when their window is in the background, it still works smoothly. I'm running EmacsForMac: GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 Version 10.10.5 (Build 14F2511)) of 2018-05-30 on macOS High Sierra 10.13.5. So, since it works smoothly in Terminal and IDEA, it doesn't seem like the issue is related to mpv. But, it does seem related to emacs+ansi-term. Any idea what I can do to make emacs+ansi-term not have this performance issue when not in front/focus? Thanks! -- Matt