From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@newcastle.ac.uk (Phillip Lord) Newsgroups: gmane.emacs.bugs Subject: bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang) Date: Wed, 08 Apr 2015 17:42:30 +0100 Message-ID: <87mw2ih8qx.fsf@newcastle.ac.uk> References: <87zj7ae6il.fsf@newcastle.ac.uk> <871tkk50pe.fsf@newcastle.ac.uk> <83d244wwy5.fsf@gnu.org> <83iod8htqp.fsf@gnu.org> <877fto3qlk.fsf@newcastle.ac.uk> <83h9sshrue.fsf@gnu.org> <87a8yj3mrk.fsf@newcastle.ac.uk> <83384bj16l.fsf@gnu.org> <87wq1nj9by.fsf@newcastle.ac.uk> <877ftmiphs.fsf@newcastle.ac.uk> <83zj6ifvvg.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1428511405 31980 80.91.229.3 (8 Apr 2015 16:43:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Apr 2015 16:43:25 +0000 (UTC) Cc: 20134@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 08 18:43:15 2015 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 1Yft4L-0008NR-PB for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Apr 2015 18:43:13 +0200 Original-Received: from localhost ([::1]:53887 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yft4L-0007KX-4q for geb-bug-gnu-emacs@m.gmane.org; Wed, 08 Apr 2015 12:43:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yft4E-0007KO-F9 for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2015 12:43:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yft4A-00070a-8m for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2015 12:43:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59630) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yft4A-00070W-59 for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2015 12:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yft49-0005QW-K9 for bug-gnu-emacs@gnu.org; Wed, 08 Apr 2015 12:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: phillip.lord@newcastle.ac.uk (Phillip Lord) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 08 Apr 2015 16:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20134 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20134-submit@debbugs.gnu.org id=B20134.142851135520821 (code B ref 20134); Wed, 08 Apr 2015 16:43:01 +0000 Original-Received: (at 20134) by debbugs.gnu.org; 8 Apr 2015 16:42:35 +0000 Original-Received: from localhost ([127.0.0.1]:49406 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yft3i-0005Pk-V2 for submit@debbugs.gnu.org; Wed, 08 Apr 2015 12:42:35 -0400 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:33251) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yft3f-0005PX-HZ for 20134@debbugs.gnu.org; Wed, 08 Apr 2015 12:42:32 -0400 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1Yft3e-0003To-Dr; Wed, 08 Apr 2015 17:42:30 +0100 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Yft3e-0003Ba-6U; Wed, 08 Apr 2015 17:42:30 +0100 In-Reply-To: <83zj6ifvvg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 8 Apr 2015 19:05:55 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:101295 Archived-At: Eli Zaretskii writes: >> From: phillip.lord@newcastle.ac.uk (Phillip Lord) >> Cc: Eli Zaretskii , <20134@debbugs.gnu.org> >> Date: Wed, 08 Apr 2015 16:55:27 +0100 >> >> I captured a backtrace from a totally hung emacs earlier, which I >> include below. Somewhere down the line, this is actually being called by >> my code. > > Any idea how come completing-read is in the call-stack: Yep. The final hang was in the mini-buffer, right after "M-x". I am sure that wide-column shouldn't be doing anything in the mini-buffer, but there is not check for it. > >> Lisp Backtrace: >> "modify-frame-parameters" (0xf325640) >> "set-cursor-color" (0xf325770) >> "cond" (0xf325928) >> "wide-column-warning-colour" (0xf325ac8) >> "funcall" (0xf325ac0) >> "if" (0xf325bd8) >> "if" (0xf325ca8) >> "let" (0xf325e18) >> "progn" (0xf325ef8) >> "condition-case" (0xf326058) >> "wide-column-post-command-hook-function" (0xf3261f0) >> "read-from-minibuffer" (0xf326640) >> "completing-read-default" (0xf326798) >> "completing-read" (0xf326908) <<<<<<<<<<<<<<<<<<<<<<<<<<<<<< >> "byte-code" (0xf326a30) >> "call-interactively" (0xf326c90) >> "command-execute" (0xf326dd8) > > And what is wide-column-post-command-hook-function? https://raw.githubusercontent.com/phillord/phil-emacs-packages/master/wide-column.el It's an overly complex function which calls effectively changes the colour of the cursor once a line gets too long. I have been suspicious about this function for a while, but I use it in lots of buffers and it has not changed for years (probably a decade). Phil