From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Luis Gerhorst Newsgroups: gmane.emacs.bugs Subject: bug#29789: 25.1; Emacs blocks user input when using visual-fill-column in wide terminals Date: Wed, 20 Dec 2017 21:45:36 +0100 Message-ID: References: <83bmitnnx4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1513802659 25510 195.159.176.226 (20 Dec 2017 20:44:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2017 20:44:19 +0000 (UTC) User-Agent: mu4e 0.9.18; emacs 25.3.1 Cc: 29789@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 20 21:44:15 2017 Return-path: Envelope-to: geb-bug-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 1eRlDq-00060g-7e for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Dec 2017 21:44:14 +0100 Original-Received: from localhost ([::1]:40607 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRlFl-00021r-L9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Dec 2017 15:46:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRlFd-00021B-AP for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2017 15:46:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRlFa-0007wI-2s for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2017 15:46:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36151) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eRlFa-0007w7-0F for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2017 15:46:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eRlFZ-0000AU-Q1 for bug-gnu-emacs@gnu.org; Wed, 20 Dec 2017 15:46:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Luis Gerhorst Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 20 Dec 2017 20:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29789-submit@debbugs.gnu.org id=B29789.1513802741618 (code B ref 29789); Wed, 20 Dec 2017 20:46:01 +0000 Original-Received: (at 29789) by debbugs.gnu.org; 20 Dec 2017 20:45:41 +0000 Original-Received: from localhost ([127.0.0.1]:44832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRlFE-00009t-TJ for submit@debbugs.gnu.org; Wed, 20 Dec 2017 15:45:41 -0500 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:49517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eRlFD-00009l-6l for 29789@debbugs.gnu.org; Wed, 20 Dec 2017 15:45:39 -0500 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DAB8C20D75; Wed, 20 Dec 2017 15:45:38 -0500 (EST) Original-Received: from frontend1 ([10.202.2.160]) by compute3.internal (MEProxy); Wed, 20 Dec 2017 15:45:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=luisgerhorst.de; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= mesmtp; bh=0zq1ZZuopsGCKNHvigpHsOCMOFR74OqwIvD4FDe+zJ4=; b=rAx0R 4Fq+uncxZrQqPdRJm5UGWBBtMGzjaeflibMe2liO1mWy4IFDvlgw6Ic7pjAx6jbi fMJFq4ZWkg5D7e1G0oh6hvTtAMs5bE4J7Acd+XjKx8uOCXXfQLb+MrX4aXxdE7l1 C++VfxL72BBnfIfHbfzIbV7RDHqvwTiAc+DduY= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=0zq1ZZuopsGCKNHvigpHsOCMOFR74 OqwIvD4FDe+zJ4=; b=nPfFDGj4xY3Kpf/fymVVODqfmZ1gRpw7VlNuHUjhNgpg6 8q85CgZLvBLj0Bj/Z3eI3EqAcdvQgRWWaP26k67WHbaXgDajZ+SJ9rFDpbQOLfYL w0WuAIrt95OdoxHTArb6nUbZQTmrko0204oz448onvLSrBtrtI3csidXOYcK6I7e OXargOP5BgnxNbGeQXt/4V1AWV66Sv9+qt4xfdk/4cj1G62XbLped5zX3Y8hhXIv 93lZQgEaX1ug2dXOnp3zgJcQ8XcE99mGI5KWiOiWC12pwsz9ZkxCHmZ9HX/dg2r1 guwPuETPGFrkTiuldd77xOovu4yPJS+B/7wmI0UrA== X-ME-Sender: Original-Received: from luis-imac.fritz.box (p4ffa82ca.dip0.t-ipconnect.de [79.250.130.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 1BB497E558; Wed, 20 Dec 2017 15:45:38 -0500 (EST) In-reply-to: <83bmitnnx4.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:141313 Archived-At: I'm usually using iTerm 3.1.5 and just tried again with the native Terminal.app from macOS 10.13.2 (same issue). It also occured on a Debian system I was running Emacs on over SSH. I was not able to test with a non-macOS terminal emulator. I can do that tomorrow however. With 'hang' I meant that Emacs does not respond to user input at all. The whole screen is frozen. Eli Zaretskii writes: >> From: Luis Gerhorst >> Date: Wed, 20 Dec 2017 20:28:27 +0100 >> >> >> 1. Run Emacs in a wide terminal (about 150 characters, 100 isn't >> enough): emacs -nw -Q >> >> 2. Load a arbitrary theme: M-x load-theme adwaita >> >> 3. Load visual-fill-column. E.g. by copying >> https://raw.githubusercontent.com/joostkremers/visual-fill-column/c0e5ec8f88a7598f7afdee565978410bee0de2a0/visual-fill-column.el >> into the scratch buffer and typing M-x eval-buffer. >> >> There is nothing suspicious about the code, regular lisp code should not >> be able to block Emacs (I believe). It does not seem to contain any loops that block the main thread. The maintainer knows about the issue but say's it may be an issue with low-level code. In GUI Emacs it works. >> >> 4. Open a buffer and enable visual-fill-column-mode: M-x >> visual-fill-column-mode >> >> 5. Your Emacs is now blocked. > > I tried to reproduce this on GNU/Linux and on MS-Windows, but failed > both times, both with Emacs 25.1 and the current emacs-26 release > branch. > > What I see is that after enabling the mode, Emacs becomes somewhat > sluggish in cursor motion (hardly surprising, given what the mode > does), but it certainly doesn't hang. > > I wonder what's different on your system, or on that of those who > confirmed the problem.