unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: phillip.lord@newcastle.ac.uk (Phillip Lord)
To: Eli Zaretskii <eliz@gnu.org>
Cc: 20134@debbugs.gnu.org
Subject: bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang)
Date: Wed, 08 Apr 2015 17:42:30 +0100	[thread overview]
Message-ID: <87mw2ih8qx.fsf@newcastle.ac.uk> (raw)
In-Reply-To: <83zj6ifvvg.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 8 Apr 2015 19:05:55 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

>> From: phillip.lord@newcastle.ac.uk (Phillip Lord)
>> Cc: Eli Zaretskii <eliz@gnu.org>,  <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





  reply	other threads:[~2015-04-08 16:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-18 14:15 bug#20134: 24.4.90; Emacs slowdown to eventual hang Phillip Lord
     [not found] ` <handler.20134.B.14266881615335.ack@debbugs.gnu.org>
2015-03-19 17:58   ` bug#20134: Acknowledgement (24.4.90; Emacs slowdown to eventual hang) Phillip Lord
2015-03-19 20:31     ` Eli Zaretskii
2015-04-07 14:56       ` Eli Zaretskii
2015-04-07 15:28         ` Phillip Lord
2015-04-07 15:37           ` Eli Zaretskii
2015-04-07 16:16             ` Phillip Lord
2015-04-07 16:23               ` Eli Zaretskii
2015-04-07 16:51             ` Phillip Lord
2015-04-07 17:30               ` Eli Zaretskii
2015-04-08  8:46                 ` Phillip Lord
2015-04-08 11:34                   ` Eli Zaretskii
2015-04-08 14:38                   ` Stefan Monnier
2015-04-08 15:55                     ` Phillip Lord
2015-04-08 16:05                       ` Eli Zaretskii
2015-04-08 16:42                         ` Phillip Lord [this message]
2015-04-08 17:08                           ` Phillip Lord
2015-04-08 17:44                             ` Eli Zaretskii
2015-04-08 17:57                               ` martin rudalics
2015-04-08 19:58                                 ` Phillip Lord
2015-05-14 12:10                               ` Phillip Lord
2020-01-23 12:59                                 ` Stefan Kangas
2020-05-15  5:33                                   ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mw2ih8qx.fsf@newcastle.ac.uk \
    --to=phillip.lord@newcastle.ac.uk \
    --cc=20134@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).