From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: debugging post command hook max-lisp-eval-depth Date: Wed, 20 Jun 2018 17:53:34 -0400 Message-ID: References: <87efh5uxkl.fsf@gmail.com> <87a7rtuh77.fsf@gmail.com> <87fu1hxnka.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529531527 6751 195.159.176.226 (20 Jun 2018 21:52:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2018 21:52:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Help Gnu Emacs mailing list To: John Shahid Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 20 23:52:03 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 1fVl1E-0001SS-ML for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jun 2018 23:52:00 +0200 Original-Received: from localhost ([::1]:51948 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVl3F-00047e-2J for geh-help-gnu-emacs@m.gmane.org; Wed, 20 Jun 2018 17:54:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVl2r-00047X-JM for help-gnu-emacs@gnu.org; Wed, 20 Jun 2018 17:53:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVl2n-0006hc-Lt for help-gnu-emacs@gnu.org; Wed, 20 Jun 2018 17:53:41 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:50442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVl2n-0006gw-Fy for help-gnu-emacs@gnu.org; Wed, 20 Jun 2018 17:53:37 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w5KLs6q6002727; Wed, 20 Jun 2018 17:54:07 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id CCA286611F; Wed, 20 Jun 2018 17:53:34 -0400 (EDT) In-Reply-To: <87fu1hxnka.fsf@gmail.com> (John Shahid's message of "Wed, 20 Jun 2018 19:31:01 +0000") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6312=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6312> : inlines <6709> : streams <1790267> : uri <2661499> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 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:117235 Archived-At: > (`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