GNU bug report logs - #3752
23.0.95; I can not understant a sentence in Intro to Emacs Lisp .

Previous Next

Package: emacs;

Reported by: waterloo <waterloo2005 <at> gmail.com>

Date: Sat, 4 Jul 2009 13:05:04 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3752 in the body.
You can then email your comments to 3752 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3752; Package emacs. (Sat, 04 Jul 2009 13:05:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to waterloo <waterloo2005 <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sat, 04 Jul 2009 13:05:05 GMT) Full text and rfc822 format available.

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

From: waterloo <waterloo2005 <at> gmail.com>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.0.95; I can not understant a sentence in Intro to Emacs Lisp .
Date: Sat, 4 Jul 2009 21:00:07 +0800
[Message part 1 (text/plain, inline)]
--text follows this line--
In section 8.5.1 in the manual `Introduction to Emacs Lisp'.  I can
not understant what is `readily settable variable' in second
paragraph.  Thanks . waterloo2005 <at> gmail.com

In GNU Emacs 23.0.95.1 (i686-pc-linux-gnu, GTK+ Version 2.14.7)
 of 2009-06-21 on laptop
Windowing system distributor `The X.Org Foundation', version 11.0.10503000
configured using `configure  '--prefix=/usr' '--build=i686-pc-linux-gnu'
'--host=i686-pc-linux-gnu' '--mandir=/usr/share/man'
'--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc'
'--localstatedir=/var/lib' '--program-suffix=-emacs-23'
'--infodir=/usr/share/info/emacs-23' '--with-sound' '--with-x'
'--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png'
'--with-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--without-libotf'
'--without-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod'
'--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus'
'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-O2
-march=pentium-m -pipe' 'LDFLAGS=-Wl,-O1''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: en_US.UTF-8
  value of $LC_CTYPE: zh_CN.UTF-8
  value of $LC_MESSAGES: en_US.UTF-8
  value of $LC_MONETARY: en_US.UTF-8
  value of $LC_NUMERIC: en_US.UTF-8
  value of $LC_TIME: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=SCIM
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Minor modes in effect:
  reftex-mode: t
  TeX-fold-mode: t
  flyspell-mode: t
  TeX-source-specials-mode: t
  minibuffer-depth-indicate-mode: t
  icicle-mode: t
  show-paren-mode: t
  display-time-mode: t
  global-auto-complete-mode: t
  auto-complete-mode: t
  desktop-save-mode: t
  yas/minor-mode: t
  auto-image-file-mode: t
  outline-minor-mode: t
  shell-dirtrack-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Recent input:
<drag-mouse-1> <help-echo> <down-mouse-1> <mouse-1>
<down-mouse-5> <mouse-5> <help-echo> <help-echo> <down-mouse-1>
<help-echo> <help-echo> <help-echo> <down-mouse-4>
<mouse-4> <down-mouse-1> <mouse-movement> <mouse-movement>
<help-echo> <drag-mouse-1> <help-echo> <down-mouse-1>
<mouse-1> <down-mouse-1> <mouse-1> <help-echo> <help-echo>
<down-mouse-4> <mouse-4> <double-down-mouse-4> <double-mouse-4>
<down-mouse-5> <mouse-5> <down-mouse-4> <mouse-4> <help-echo>
<tool-bar> <Exit> <help-echo> <tool-bar> <Exit> <help-echo>
<tool-bar> <Exit> <help-echo> <help-echo> <help-echo>
<tool-bar> <kill-buffer> <down-mouse-4> <mouse-4> <down-mouse-4>
<mouse-4> <double-down-mouse-4> <double-mouse-4> <down-mouse-4>
<mouse-4> <double-down-mouse-4> <double-mouse-4> <help-echo>
<down-mouse-3> <mouse-3> <help-echo> <down-mouse-1>
<mouse-1> <help-echo> <menu-bar> <buffer> C-h <help-echo>
<tool-bar> <kill-buffer> <menu-bar> <buffer> C-h <help-echo>
<tool-bar> <kill-buffer> <help-echo> <menu-bar> <buffer>
C-h <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <file> <kill-buffer> <help-echo>
<menu-bar> <buffer> C-h <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <file> <kill-buffer> <help-echo>
<help-echo> <menu-bar> <buffer> C-h <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <menu-bar> <file>
<kill-buffer> <help-echo> <help-echo> <help-echo> <help-echo>
<menu-bar> <buffer> C-h <down-mouse-4> <mouse-4> <double-down-mouse-4>
<double-mouse-4> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<file> <kill-buffer> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <down-mouse-3> <mouse-3> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <tool-bar> <latex> <help-echo>
<help-echo> <down-mouse-5> <mouse-5> <down-mouse-1>
<mouse-movement> <mouse-1> <return> <right> <right>
<right> <right> <right> <right> <right> <right> <down-mouse-1>
<mouse-1> SPC <delete> <delete> <delete> <delete> <delete>
<delete> <delete> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> SPC <help-echo> <help-echo> <help-echo> <tool-bar>
<save-buffer> <down-mouse-1> <mouse-movement> <mouse-movement>
<drag-mouse-1> C-c C-p C-r <help-echo> <down-mouse-1>
<mouse-1> <help-echo> <down-mouse-3> <mouse-3> <help-echo>
<down-mouse-1> <mouse-movement> <mouse-movement> <drag-mouse-1>
<help-echo> <down-mouse-1> <mouse-movement> <mouse-1>
% <help-echo> <down-mouse-3> <mouse-3> <backspace>
<help-echo> <tool-bar> <undo> <help-echo> <tool-bar>
<undo> <help-echo> <help-echo> <help-echo> <down-mouse-1>
<help-echo> <mouse-movement> <mouse-1> <help-echo>
<down-mouse-1> <mouse-movement> <help-echo> <mouse-movement>
<mouse-movement> <drag-mouse-1> <help-echo> C-c C-p
C-c C-r <down-mouse-1> <mouse-1> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> M-x r e p o <tab>
r <tab> <return>

Recent messages:
Type `C-c C-l' to display results of compilation.
Quit
Saving file /media/bak/latex/_region_.tex...
Wrote /media/bak/latex/_region_.tex
Type `C-c C-l' to display results of compilation.
locating previews...
Mark set
Type `C-c C-l' to display results of compilation.
Undo! [2 times]
Computing completion candidates...
[Message part 2 (text/html, inline)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3752; Package emacs. (Sat, 04 Jul 2009 23:20:07 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: waterloo <waterloo2005 <at> gmail.com>
Cc: 3752 <at> debbugs.gnu.org
Subject: Re: bug#3752: 23.0.95; I can not understant a sentence in Intro to Emacs Lisp .
Date: Sat, 04 Jul 2009 19:11:46 -0400
waterloo wrote:

> --text follows this line--
> In section 8.5.1 in the manual `Introduction to Emacs Lisp'.  I can
> not understant what is `readily settable variable' in second
> paragraph.

Does the following make it clearer?

   When you specified a variable using the `defvar' special form, you
   could distinguish a variable that a user might want to change from
   others by typing an asterisk,...

It should be read in the context of the previous paragraph.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3752; Package emacs. (Sun, 05 Jul 2009 02:35:06 GMT) Full text and rfc822 format available.

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

From: waterloo <waterloo2005 <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Subject: Re: bug#3752: 23.0.95; I can not understant a sentence in Intro to 
	Emacs Lisp .
Date: Sun, 5 Jul 2009 10:13:32 +0800
[Message part 1 (text/plain, inline)]
yes,it is clearer . thanks

In 11.1.2 An Example:`print-elements-of-list', I can not understand why
there is a `nil' in the context .

thanks
If I shoud file a new bug for this question?
I still use emacs23.0.95 .

2009/7/5 Glenn Morris <rgm <at> gnu.org>

> waterloo wrote:
>
> > --text follows this line--
> > In section 8.5.1 in the manual `Introduction to Emacs Lisp'.  I can
> > not understant what is `readily settable variable' in second
> > paragraph.
>
> Does the following make it clearer?
>
>   When you specified a variable using the `defvar' special form, you
>   could distinguish a variable that a user might want to change from
>   others by typing an asterisk,...
>
> It should be read in the context of the previous paragraph.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3752; Package emacs. (Sun, 05 Jul 2009 02:35:08 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: waterloo <waterloo2005 <at> gmail.com>
Cc: 3752 <at> debbugs.gnu.org
Subject: Re: bug#3752: 23.0.95; I can not understant a sentence in Intro to 
	Emacs Lisp .
Date: Sat, 4 Jul 2009 22:30:29 -0400
[Please use "reply to all".]

waterloo wrote (on Sun, 5 Jul 2009 at 10:13 +0800):

> yes,it is clearer . thanks
> 
> In 11.1.2 An Example:`print-elements-of-list', I can not understand why
> there is a `nil' in the context .

This is explained at the end of the section:

 Since the last expression in the function is the `while' loop, and
 since `while' loops always return `nil', a `nil' is printed after the
 last element of the list.



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3752; Package emacs. (Sun, 05 Jul 2009 02:55:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to waterloo <waterloo2005 <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 05 Jul 2009 02:55:05 GMT) Full text and rfc822 format available.

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

From: waterloo <waterloo2005 <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 3752 <at> debbugs.gnu.org
Subject: Re: bug#3752: 23.0.95; I can not understant a sentence in Intro to 
	Emacs Lisp .
Date: Sun, 5 Jul 2009 10:47:06 +0800
[Message part 1 (text/plain, inline)]
when test of while is nil , it does not run `print' following it.
who  does print nil ?

or  if all function will print its return value ?

thanks

2009/7/5 Glenn Morris <rgm <at> gnu.org>

>
> [Please use "reply to all".]
>
> waterloo wrote (on Sun, 5 Jul 2009 at 10:13 +0800):
>
> > yes,it is clearer . thanks
> >
> > In 11.1.2 An Example:`print-elements-of-list', I can not understand why
> > there is a `nil' in the context .
>
> This is explained at the end of the section:
>
>  Since the last expression in the function is the `while' loop, and
>  since `while' loops always return `nil', a `nil' is printed after the
>  last element of the list.
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#3752; Package emacs. (Mon, 06 Jul 2009 01:05:05 GMT) Full text and rfc822 format available.

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

From: Glenn Morris <rgm <at> gnu.org>
To: waterloo <waterloo2005 <at> gmail.com>
Cc: 3752 <at> debbugs.gnu.org
Subject: Re: bug#3752: 23.0.95; I can not understant a sentence in Intro to  Emacs Lisp .
Date: Sun, 05 Jul 2009 20:58:11 -0400
waterloo wrote:

> when test of while is nil , it does not run `print' following it.
> who  does print nil ?
>
> or  if all function will print its return value ?

As explained in the earlier section of the manual (on "Evaluation"),
evaluating a function with C-x C-e prints the return value. For example

(+ 2 2)

or

(progn
  (princ "Evaluating with C-x C-e prints the return value.\n")
  42)



bug closed, send any further explanations to waterloo <waterloo2005 <at> gmail.com> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Sat, 11 Jul 2009 03:15:04 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> emacsbugs.donarmstrong.com. (Sat, 08 Aug 2009 14:24:15 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 316 days ago.

Previous Next


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