help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: applying changes in .emacs


From: don provan
Subject: Re: applying changes in .emacs
Date: Sun, 25 Sep 2005 02:13:29 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (windows-nt)

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> don provan wrote:
>  > Kevin Rodgers <ihs_4664@yahoo.com> writes:
>  >>
>  >>(setq max-lisp-eval-depth (* 2 max-lisp-eval-depth))
>  >
>  > Why would you want to configure a value to twice the current value?
>
> I'd rather do
> something like doubling it than setting it to some arbitrary value.

But you *are* setting it to some arbitrary value: 2 * current value.
The only difference between setting it to (* 2 max-lisp-eval-depth)
and setting it to 600 is that if you reload your .emacs file, it will
be 1200 instead of 600, yet the value you want to use is still 600.

> If
> the standard value changes in the future, who cares?  If such a change
> (or some other implementation change) makes the doubling unnecessary I
> can simply delete it -- I purge my .emacs of such hacks when a new major
> version is released.

If you're going to reexamine this issue any time there's a possibility
that the default number might change, that's all the more reason not
to bother making the number relative to its default value.

About the only rational I can think is documentation purposes, but I'd
prefer a simple comment: "; this is twice the default value".

-don


reply via email to

[Prev in Thread] Current Thread [Next in Thread]