GNU bug report logs - #47168
28.0.50; Infinite recursion in project-root

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Mon, 15 Mar 2021 17:11:03 UTC

Severity: normal

Found in version 28.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: 47168 <at> debbugs.gnu.org
Subject: bug#47168: 28.0.50; Infinite recursion in project-root
Date: Mon, 15 Mar 2021 19:04:46 +0200
When for some reason the argument of 'project-root' becomes nil,
for example, when the current buffer is not under version control,
then

  (project-root (project-current))

goes into infinite recursion:

Debugger entered--Lisp error: (error "Lisp nesting exceeds ‘max-lisp-eval-depth’")
  project-root(nil)
  project-roots(nil)
  ...
  project-root(nil)
  project-roots(nil)
  ...




This bug report was last modified 4 years and 129 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.