diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/edebug-eval.html | |
new repository
Diffstat (limited to 'devdocs/elisp/edebug-eval.html')
| -rw-r--r-- | devdocs/elisp/edebug-eval.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/devdocs/elisp/edebug-eval.html b/devdocs/elisp/edebug-eval.html new file mode 100644 index 00000000..87b3e00f --- /dev/null +++ b/devdocs/elisp/edebug-eval.html @@ -0,0 +1,8 @@ + <h4 class="subsection">Evaluation</h4> <p>While within Edebug, you can evaluate expressions as if Edebug were not running. Edebug tries to be invisible to the expression’s evaluation and printing. Evaluation of expressions that cause side effects will work as expected, except for changes to data that Edebug explicitly saves and restores. See <a href="the-outside-context">The Outside Context</a>, for details on this process. </p> <dl compact> <dt><kbd>e <var>exp</var> <span class="key">RET</span></kbd></dt> <dd> +<p>Evaluate expression <var>exp</var> in the context outside of Edebug (<code>edebug-eval-expression</code>). That is, Edebug tries to minimize its interference with the evaluation. </p> </dd> <dt><kbd>M-: <var>exp</var> <span class="key">RET</span></kbd></dt> <dd> +<p>Evaluate expression <var>exp</var> in the context of Edebug itself (<code>eval-expression</code>). </p> </dd> <dt><kbd>C-x C-e</kbd></dt> <dd><p>Evaluate the expression before point, in the context outside of Edebug (<code>edebug-eval-last-sexp</code>). With the prefix argument of zero (<kbd>C-u 0 C-x C-e</kbd>), don’t shorten long items (like strings and lists). </p></dd> </dl> <p>Edebug supports evaluation of expressions containing references to lexically bound symbols created by the following constructs in <samp>cl.el</samp>: <code>lexical-let</code>, <code>macrolet</code>, and <code>symbol-macrolet</code>. </p><div class="_attribution"> + <p class="_attribution-p"> + Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br> + <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Edebug-Eval.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Edebug-Eval.html</a> + </p> +</div> |
