From: Michael Heerdegen <michael_heerdegen@web.de>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 19114@debbugs.gnu.org
Subject: bug#19114: 25.0.50; doc string of `eval-expression-print-format' is inappropriate
Date: Sat, 30 Apr 2016 17:27:03 +0200 [thread overview]
Message-ID: <87k2jf3yns.fsf@web.de> (raw)
In-Reply-To: <87pot7nn86.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 30 Apr 2016 17:13:45 +0200")
Lars Ingebrigtsen <larsi@gnus.org> writes:
> I don't know quite what they're trying to express here...
Seems this function does only return a non-nil value for integer
values. It seems to be responsible for printing it in octal, hex, and
as a character.
> (eval-expression-print-format 1)
> C-x C-e
> " (#o1, #x1, ?\\C-a)" appears in *Messages*
C-x C-e prints the return value. The function doesn't print by itself
(AFAIU this is what Drew wanted to be made clearer).
> (eval-expression-print-format 1)
> C-u C-x C-e
> => nil
> Nothing in *Messages*
Expected, I think.
> (eval-expression-print-format 'foo)
> nil
Because foo is not an integer.
Michael.
next prev parent reply other threads:[~2016-04-30 15:27 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-20 2:50 bug#19114: 25.0.50; doc string of `eval-expression-print-format' is inappropriate Drew Adams
2016-04-30 15:13 ` Lars Ingebrigtsen
2016-04-30 15:27 ` Michael Heerdegen [this message]
2016-04-30 15:33 ` Lars Ingebrigtsen
2016-05-08 22:50 ` Michael Heerdegen
2016-04-30 15:39 ` Lars Ingebrigtsen
2016-04-30 15:43 ` Eli Zaretskii
2016-04-30 15:47 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k2jf3yns.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=19114@debbugs.gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).