Post by Jeff CloughPost by Cecil Westerhoftramp-tramp-file-p: Lisp nesting exceeds `max-lisp-eval-depth'
I am not sure it has always to do with tramp. This was the message I got
today. So maybe it has been something else also.
Post by Jeff CloughPost by Cecil WesterhofThe only solution is to quit and restart Emacs.
This happens when I have been using Emacs for some time. Is there a way
to find out what is happening and mend the problem? For example when
this happens I cannot quit Gnus, which is not nice.
Maybe good to mention also. I have the feeling that it mostly happens
when I have been playing with my configuration. (I have lately been
playing a lot with .gnus.) Again: I am not sure, but it feels like this.
So it is possible that the error is not in tramp, but has to do with
something I have done.
Post by Jeff CloughHopefully someone familiar with tramp can help you determine if this is
a bug or what, precisely, is going on. That said, bumping the limit is
still something to consider as more than just a workaround to this
"You can write recursive functions to be frugal or wasteful of mental or
computer resources; as it happens, methods that people find easy—that
are frugal of ‘mental resources’—sometimes use considerable computer
resources. Emacs was designed to run on machines that we now consider
limited and its default settings are conservative. You may want to
increase the values of max-specpdl-size and max-lisp-eval-depth. In my
‘.emacs’ file, I set them to 15 and 30 times their default value."
Because it first does not happen and later it does, I have the feeling
that there is somewhere a bug. (Maybe introduced by me.) Because Emacs
can run 'indefinitely', it is something that will still happen. But if
it changes from once a month to once a year, that would be a big
advantage. (And the possibility that Emacs will run for a year is very
slim.)
--
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof