From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Platon Pronko Newsgroups: gmane.emacs.help Subject: Re: Debugger entered--Lisp error: (excessive-lisp-nesting) Date: Thu, 8 Jun 2023 16:50:42 +0800 Message-ID: <5be8d927-9c6a-f6f9-3b06-7ac2d0f68045@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15012"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 To: uzibalqa , uzibalqa via Users list for the GNU Emacs text editor Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 08 10:51:25 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1q7BMa-0003gc-Qa for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 08 Jun 2023 10:51:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7BM4-0006o1-BN; Thu, 08 Jun 2023 04:50:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7BM2-0006mI-NM for help-gnu-emacs@gnu.org; Thu, 08 Jun 2023 04:50:50 -0400 Original-Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q7BM1-0000HJ-2q for help-gnu-emacs@gnu.org; Thu, 08 Jun 2023 04:50:50 -0400 Original-Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-655fce0f354so157897b3a.0 for ; Thu, 08 Jun 2023 01:50:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686214247; x=1688806247; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=LinSvWNWkGuRoMitfQbUYjXPwFDXdnlOwVPCaQhLVP8=; b=rhf7kjHwVFBQ5ipWtFr2zNWM8Vs8DCOk7kh+JGgHf2UpmcdOwJJIL4ORe/uF4htRVG E6cTVg6CNAGmZvt69zH9DaglbyfbCuV6icwrLQD2vhfOMzRP5i8HSgwx9ZPLIObLyWKS cmVx2jgkII49rzQ3teWsr27nFGRohixxb2fDUhCa3RVTTGnFPDAzMB1zXL7V8FpgFk8F kmhD1/oegalzywVw43jqZQfGDNhOg9q1oF1+gHeER6lXdk3q9eetLsKxJawIwuls8kVw lUG6Z/Z+FD7Vtu84et9tgLU4EYYAeIAvCJajtv7Bt/WZtmrJ0j4FMeNn9s0QzWJ++El7 4yQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686214247; x=1688806247; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=LinSvWNWkGuRoMitfQbUYjXPwFDXdnlOwVPCaQhLVP8=; b=WkB/kJzd/ZqMtRPPmPiE7LRtGk1Md1WkgK/lSaziRD1kfz8F+cfkz78C0CLOajHekN rU/NMdWRV3kUFM7IxHnCZX+UOrZ0GEQRtedMlUToLHqaXQcrIqZJk9I1jtL5dDr8QcVg SInb10mlvVjZn/7+wrOTWpWV1cn8yW610DibcgTHQMkFhBQ6o1a2NruzgUoDNUqEQOed nt290Kc6bdSOzfXdquYQAvY9OnZRKna+DWs5SOzCxZY05258haX+GM9hadoypXI/y3Pu /pNjd9uTLeUEU1uvwoUCnyR5uRteFB6IF/GWeWettg0S/kRsbJStWLtvgscfuKOZRPdi ClHQ== X-Gm-Message-State: AC+VfDytKNvDpGyJn0vpPhFFqtylfHaySqMfvP2EAy4Qq/d/hhvqPNOW BXSOZ6TdbQHLZvTEg5MZgsk= X-Google-Smtp-Source: ACHHUZ5PP86poOC1fkbaDrOk0csby76XWvtzae1KMBy2l0IhilOVcHdknd2rf8YTuyBrUTRriaC3Ew== X-Received: by 2002:a05:6a20:4394:b0:10f:1e5d:83ea with SMTP id i20-20020a056a20439400b0010f1e5d83eamr2834316pzl.25.1686214246817; Thu, 08 Jun 2023 01:50:46 -0700 (PDT) Original-Received: from [192.163.0.137] ([103.24.106.35]) by smtp.gmail.com with ESMTPSA id t4-20020a170902a5c400b001afa7040a70sm886040plq.276.2023.06.08.01.50.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jun 2023 01:50:46 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::429; envelope-from=platon7pronko@gmail.com; helo=mail-pf1-x429.google.com X-Spam_score_int: -21 X-Spam_score: -2.2 X-Spam_bar: -- X-Spam_report: (-2.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.091, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:143887 Archived-At: On 2023-06-08 15:07, uzibalqa wrote: > I am getting the following debugger information but have been unable to locate the problem. > > What can I do ? > > > Debugger entered--Lisp error: (excessive-lisp-nesting) > (cond ((eq arg 'toggle) (not tematika-minor-mode)) ((and (numberp arg) (< arg 1)) nil) (t t)) > (setq tematika-minor-mode (cond ((eq arg 'toggle) (not tematika-minor-mode)) ((and (numberp arg) (< arg 1)) nil) (t t))) > (let ((last-message (current-message))) (setq tematika-minor-mode (cond ((eq arg 'toggle) (not tematika-minor-mode)) ((and (numberp arg) (< arg 1)) nil) (t t))) (if (boundp 'local-minor-modes) (progn (setq local-minor-modes (delq 'tematika-minor-mode local-minor-modes)) (if tematika-minor-mode (progn (setq local-minor-modes (cons 'tematika-minor-mode local-minor-modes)))))) (if tematika-minor-mode (progn (tematika-tools) (tematika-addhooks-woutline) (tematika-activate-woutline) (message "Tematika Activated")) (tematika-activate-woutline) (message "Tematika Deactivated")) (run-hooks 'tematika-minor-mode-hook (if tematika-minor-mode 'tematika-minor-mode-on-hook 'tematika-minor-mode-off-hook)) (if (called-interactively-p 'any) (progn nil (if (and (current-message) (not (equal last-messag e (current-message)))) nil (let ((local " in current buffer")) (message "Tematika minor mode %sabled%s" (if tematika-minor-mode "en" "dis") local)))))) > tematika-minor-mode(0) > tematika-activate-woutline() > (if tematika-minor-mode (progn (tematika-tools) (tematika-addhooks-woutline) (tematika-activate-woutline) (message "Tematika Activated")) (tematika-activate-woutline) (message "Tematika Deactivated")) > (let ((last-message (current-message))) (setq tematika-minor-mode (cond ((eq arg 'toggle) (not tematika-minor-mode)) ((and (numberp arg) (< arg 1)) nil) (t t))) (if (boundp 'local-minor-modes) (progn (setq local-minor-modes (delq 'tematika-minor-mode local-minor-modes)) (if tematika-minor-mode (progn (setq local-minor-modes (cons 'tematika-minor-mode local-minor-modes)))))) (if tematika-minor-mode (progn (tematika-tools) (tematika-addhooks-woutline) (tematika-activate-woutline) (message "Tematika Activated")) (tematika-activate-woutline) (message "Tematika Deactivated")) (run-hooks 'tematika-minor-mode-hook (if tematika-minor-mode 'tematika-minor-mode-on-hook 'tematika-minor-mode-off-hook)) (if (called-interactively-p 'any) (progn nil (if (and (current-message) (not (equal last-messag e (current-message)))) nil (let ((local " in current buffer")) (message "Tematika minor mode %sabled%s" (if tematika-minor-mode "en" "dis") local)))))) > tematika-minor-mode(0) > > > Looks like you are reaching the recursion limit. Looking at the debugger trace it seems that (tematika-minor-mode) invokes (tematika-minor-mode), which causes infinite recursion. -- Best regards, Platon Pronko PGP 2A62D77A7A2CB94E