GNU bug report logs - #1581
eval-last-sexp truncation: mention in docstring

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Wed, 17 Dec 2008 06:37:49 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: jidanni <at> jidanni.org
To: bug-gnu-emacs <at> gnu.org
Subject: eval-last-sexp truncation: mention in docstring
Date: Mon, 15 Dec 2008 11:01:17 +0800
  C-x C-e runs the command eval-last-sexp
    which is an interactive compiled Lisp function in `lisp-mode.el'.
  It is bound to <menu-bar> <emacs-lisp> <eval-sexp>, C-x C-e.
  (eval-last-sexp EVAL-LAST-SEXP-ARG-INTERNAL)

  Evaluate sexp before point; print value in minibuffer.
  Interactively, with prefix argument, print output into current buffer.

OK, but
some-variable-whose-value-is-rather-long C-u C-x C-e
will truncate the results with "..." at the end.
Please mention in the docstring how to get the entire value.

OK, (info "(emacs)Lisp Eval") mentions `eval-expression-print-level' and
`eval-expression-print-length'. OK, perhaps mention them in
eval-last-sexp etc. docstrings.





This bug report was last modified 16 years and 92 days ago.

Previous Next


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