unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: John Shahid <jvshahid@gmail.com>
Cc: Help Gnu Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: debugging post command hook max-lisp-eval-depth
Date: Wed, 20 Jun 2018 17:53:34 -0400	[thread overview]
Message-ID: <jwvr2l19lg9.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87fu1hxnka.fsf@gmail.com> (John Shahid's message of "Wed, 20 Jun 2018 19:31:01 +0000")

> (`global-display-line-numbers-mode' & `global-magit-file-mode') don't

Neither of those should normally ever appear on post-command-hook, AFAIK.

> have any recursive calls.

I'd look at some code shared by the two minor modes, tho maybe it
happened via an advice or a function place on both minor mode's hooks
(i.e. the minor modes aren't directly related, except as "vehicles").

> Could this be caused by some stale .elc files ?

Technically, yes.  But there are many other possibilities, just as (un)likely.


        Stefan



  reply	other threads:[~2018-06-20 21:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-17 17:34 debugging post command hook max-lisp-eval-depth John Shahid
2018-06-17 19:16 ` Stefan Monnier
2018-06-17 23:27   ` John Shahid
2018-06-18 14:03     ` Stefan Monnier
2018-06-18 16:33       ` John Shahid
2018-06-18 16:53         ` Stefan Monnier
2018-06-18 18:10           ` John Shahid
2018-06-20 19:31             ` John Shahid
2018-06-20 21:53               ` Stefan Monnier [this message]
2018-06-22  4:38                 ` Leo Liu
2018-06-23 15:15                   ` John Shahid

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=jwvr2l19lg9.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jvshahid@gmail.com \
    /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.
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).