From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Shiyao Ma Newsgroups: gmane.emacs.bugs Subject: bug#22066: 24.5; documentation for "values" is not accurate Date: Tue, 1 Dec 2015 13:48:07 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1141e780bdb0f90525cfb357 X-Trace: ger.gmane.org 1448959391 31791 80.91.229.3 (1 Dec 2015 08:43:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Dec 2015 08:43:11 +0000 (UTC) To: 22066@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 01 09:43:02 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a3gVn-0001ls-Pe for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Dec 2015 09:42:12 +0100 Original-Received: from localhost ([::1]:45295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3gVl-0003UZ-Uf for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Dec 2015 03:42:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3gVi-0003UR-Ch for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 03:42:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3gVf-0005ni-4J for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 03:42:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43919) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3gVe-0005nc-Vu for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 03:42:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a3gVe-0006kP-KA for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 03:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Shiyao Ma Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Dec 2015 08:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22066 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144895927525876 (code B ref -1); Tue, 01 Dec 2015 08:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Dec 2015 08:41:15 +0000 Original-Received: from localhost ([127.0.0.1]:33627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3gUs-0006jH-AB for submit@debbugs.gnu.org; Tue, 01 Dec 2015 03:41:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57819) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a3dnU-0002QI-A4 for submit@debbugs.gnu.org; Tue, 01 Dec 2015 00:48:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3dnS-0006we-M0 for submit@debbugs.gnu.org; Tue, 01 Dec 2015 00:48:16 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:49913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3dnS-0006wW-JS for submit@debbugs.gnu.org; Tue, 01 Dec 2015 00:48:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3dnR-0003QO-0m for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 00:48:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3dnM-0006tl-Sf for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 00:48:12 -0500 Original-Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:33828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3dnM-0006t5-GJ for bug-gnu-emacs@gnu.org; Tue, 01 Dec 2015 00:48:08 -0500 Original-Received: by wmvv187 with SMTP id v187so189683436wmv.1 for ; Mon, 30 Nov 2015 21:48:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=introo-me.20150623.gappssmtp.com; s=20150623; h=mime-version:date:message-id:subject:from:to:content-type; bh=Umb4g8uITrxIqEP1fx2gCx2xT1qpKhxWXaGqVd+aP3E=; b=E+Pt+HY77vF0LnfAaFsSS1ksEa+x7W7/8Zz8ktB6eMJQiDDmc5Yg6pUfmG+pWhatnP E2zRiQ/394FRr5KVgRlQVlkM4SQzyz4cHFdE+Hi9mmvK26Q5jjZ8zJzqgaPUh/mnHjKx MVuc0zd2WtMgKgvwtF7AP5ZdfZTcCTM/EXkCgNamYsgxcBQkCtRTrgpGoMlcRHJHP/6M VTXMUZh/CMV9m1cT1FnJiCMTTz+asV/Sj0qvnWTBm5y5gwOmydXZY7VJ1MWTKGWCh7zZ UmYG2Py5kf2OGdyq3QOCwYLCge1DCDgmKtt3WOrO/qcrVhKrmvo0oCeNXf4bz/VOJS1P XCXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Umb4g8uITrxIqEP1fx2gCx2xT1qpKhxWXaGqVd+aP3E=; b=e6pBf/P00uq9O0MxN63/TKLaTn12dYl31c8MnYk2b3QO8MpGe/2Yh2mx5YL/CgEnoO VHU3ECqnNRVPEJdDrb9BefPVaOY5WdbhWnjPxhqAV7xbkJb7SbZpjdq8OoJLDtd6QmmD Ibee8IM9eyHIhH6OsTCwCcOU+SOrTi0nZpgSPlLIQhe1HDWZDhN53vrdolhiW0DAszT/ 2/s0QlDqPqP6Xqg0rBGityxjqW1D/tYDDfwevR2eTXtcdcHl5z2GBIeUVCbo2XNi8N20 m8RYcrVVMAO+KXHiWle1HzG/iErx2fsNjgcFlHalQrZkY9wmfgKcG6Y/dNcYfEyDWHdX 61Gg== X-Gm-Message-State: ALoCoQlvr1+Q987ArpdWr8gcw1tlM6VyMl8WzU+Am4PLKJgjFOKmiKuxmBI/kiLXIWb8OmbXPUd9 X-Received: by 10.28.125.201 with SMTP id y192mr34387928wmc.23.1448948887558; Mon, 30 Nov 2015 21:48:07 -0800 (PST) Original-Received: by 10.27.211.147 with HTTP; Mon, 30 Nov 2015 21:48:07 -0800 (PST) X-Originating-IP: [183.178.244.105] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 01 Dec 2015 03:41:12 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109492 Archived-At: --001a1141e780bdb0f90525cfb357 Content-Type: text/plain; charset=UTF-8 Hi, the documentation of "values" (c-h v values) is not accurate. (setq x 1) C-x C-e values C-x C-e In the above form, values is "nil". However, per the doc, "values" should be (1). On the other side, M-: does work. In GNU Emacs 24.5.1 (x86_64-apple-darwin14.4.0, NS apple-appkit-1348.17) of 2015-08-11 on Mango Configured using: `configure --prefix=/usr/local/Cellar/emacs/24.5 --enable-locallisppath=/usr/local/share/emacs/site-lisp --infodir=/usr/local/Cellar/emacs/24.5/share/info/emacs --without-dbus --without-gnutls --with-ns --disable-ns-self-contained' Important settings: value of $LC_ALL: en_US.UTF-8 value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: elisp-slime-nav-mode: t eldoc-mode: t which-key-mode: t evil-jumper-mode: t evil-leader-mode: t evil-mode: t global-undo-tree-mode: t undo-tree-mode: t evil-local-mode: t override-global-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: ad-handle-definition: `evil-mode' got redefined ad-handle-definition: `find-tag-noselect' got redefined Loading term/xterm...done Load-path shadows: None found. Features: (shadow sort my-gnus gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils xterm elisp-slime-nav help-mode etags eldoc my-conf my-lisp finder-inf time-date which-key my-evil evil-jumper evil-leader evil evil-integration undo-tree diff evil-maps evil-commands evil-command-window evil-types evil-search evil-ex evil-macros evil-repeat evil-states evil-core byte-opt advice help-fns evil-common windmove thingatpt rect evil-digraphs evil-vars ring my-graphics use-package diminish bytecomp byte-compile cl-extra cconv bind-key easy-mmode info easymenu package epg-config edmacro kmacro cl-loaddefs cl-lib tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 170015 106620) (symbols 48 25644 62) (miscs 40 32 174) (strings 32 36325 89256) (string-bytes 1 969614) (vectors 16 17041) (vector-slots 8 432858 68571) (floats 8 81 444) (intervals 56 198 78) (buffers 960 12)) --001a1141e780bdb0f90525cfb357 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,


the documentation of "values"= ; (c-h v values) is not accurate.

(setq x 1) C-x C-e
values C-x C= -e

In the above form, values is "nil". However, per the do= c, "values"
should be (1).


On the other side, M-: d= oes work.












In GNU Emacs 2= 4.5.1 (x86_64-apple-darwin14.4.0, NS apple-appkit-1348.17)
=C2=A0of 2015= -08-11 on Mango
Configured using:
=C2=A0`configure --prefix=3D/usr/lo= cal/Cellar/emacs/24.5
=C2=A0--enable-locallisppath=3D/usr/local/share/em= acs/site-lisp
=C2=A0--infodir=3D/usr/local/Cellar/emacs/24.5/share/info/= emacs --without-dbus
=C2=A0--without-gnutls --with-ns --disable-ns-self-= contained'

Important settings:
=C2=A0 value of $LC_ALL: en_US= .UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 locale-coding-system= : utf-8-unix

Major mode: Lisp Interaction

Minor modes in effe= ct:
=C2=A0 elisp-slime-nav-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 whi= ch-key-mode: t
=C2=A0 evil-jumper-mode: t
=C2=A0 evil-leader-mode: t<= br>=C2=A0 evil-mode: t
=C2=A0 global-undo-tree-mode: t
=C2=A0 undo-tr= ee-mode: t
=C2=A0 evil-local-mode: t
=C2=A0 override-global-mode: t=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-= wheel-mode: t
=C2=A0 tool-bar-mode: t
=C2=A0 file-name-shadow-mode: t=
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 a= uto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-co= mpression-mode: t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mo= de: t

Recent messages:
ad-handle-definition: `evil-mode' got = redefined
ad-handle-definition: `find-tag-noselect' got redefinedLoading term/xterm...done

Load-path shadows:
None found.

= Features:
(shadow sort my-gnus gnus-util mail-extr emacsbug message form= at-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2= 231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums<= br>mm-util mail-prsvr mail-utils xterm elisp-slime-nav help-mode etags
e= ldoc my-conf my-lisp finder-inf time-date which-key my-evil evil-jumper
= evil-leader evil evil-integration undo-tree diff evil-maps evil-commandsevil-command-window evil-types evil-search evil-ex evil-macros
evil-rep= eat evil-states evil-core byte-opt advice help-fns evil-common
windmove = thingatpt rect evil-digraphs evil-vars ring my-graphics
use-package dimi= nish bytecomp byte-compile cl-extra cconv bind-key
easy-mmode info easym= enu package epg-config edmacro kmacro cl-loaddefs
cl-lib tooltip electri= c uniquify ediff-hook vc-hooks lisp-float-type
mwheel ns-win tool-bar dn= d fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode pr= og-mode register page menu-bar
rfn-eshadow timer select scroll-bar mouse= jit-lock font-lock syntax
facemenu font-core frame cham georgian utf-8-= lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese hebr= ew greek romanian slovak
czech european ethiopic indian cyrillic chinese= case-table epa-hook
jka-cmpr-hook help simple abbrev minibuffer nadvice= loaddefs button
faces cus-face macroexp files text-properties overlay s= ha1 md5 base64
format env code-pages mule custom widget hashtable-print-= readable
backquote make-network-process cocoa ns multi-tty emacs)
Memory information:
((conses 16 170015 106620)
=C2=A0(symbols 48 256= 44 62)
=C2=A0(miscs 40 32 174)
=C2=A0(strings 32 36325 89256)
=C2= =A0(string-bytes 1 969614)
=C2=A0(vectors 16 17041)
=C2=A0(vector-slo= ts 8 432858 68571)
=C2=A0(floats 8 81 444)
=C2=A0(intervals 56 198 78= )
=C2=A0(buffers 960 12))

--001a1141e780bdb0f90525cfb357--