GNU bug report logs - #9393
24.0.50; Tiny bug in info node "(elisp)Building Lists"

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Sun, 28 Aug 2011 13:33:02 UTC

Severity: minor

Tags: patch

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

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 9393 in the body.
You can then email your comments to 9393 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 owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9393; Package emacs. (Sun, 28 Aug 2011 13:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Dani Moncayo <dmoncayo <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 28 Aug 2011 13:33:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50; Tiny bug in info node "(elisp)Building Lists"
Date: Sun, 28 Aug 2011 15:29:42 +0200
tags: patch

In info node "(elisp)Building Lists", I've found a small error, which
is fixed by the below patch.

=== modified file 'doc/lispref/lists.texi'
--- doc/lispref/lists.texi      2011-05-29 22:41:06 +0000
+++ doc/lispref/lists.texi      2011-08-28 13:15:35 +0000
@@ -463,7 +463,7 @@
 @end group
 @group
 (setq l (make-list 3 '(a b))
-     @result{} ((a b) (a b) (a b))
+     @result{} ((a b) (a b) (a b)))
 (eq (car l) (cadr l))
      @result{} t
 @end group



-- 
Dani Moncayo




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9393; Package emacs. (Sun, 28 Aug 2011 13:49:02 GMT) Full text and rfc822 format available.

Message #8 received at 9393 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 9393 <at> debbugs.gnu.org
Subject: Re: bug#9393: 24.0.50; Tiny bug in info node "(elisp)Building Lists"
Date: Sun, 28 Aug 2011 15:45:46 +0200
Sorry, the previous patch is obviously wrong.  This is the right one:


=== modified file 'doc/lispref/lists.texi'
--- doc/lispref/lists.texi      2011-05-29 22:41:06 +0000
+++ doc/lispref/lists.texi      2011-08-28 13:43:12 +0000
@@ -462,7 +462,7 @@
      @result{} nil
 @end group
 @group
-(setq l (make-list 3 '(a b))
+(setq l (make-list 3 '(a b)))
      @result{} ((a b) (a b) (a b))
 (eq (car l) (cadr l))
      @result{} t



-- 
Dani Moncayo




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9393; Package emacs. (Sun, 28 Aug 2011 19:12:02 GMT) Full text and rfc822 format available.

Message #11 received at 9393 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 9393 <at> debbugs.gnu.org
Subject: Re: bug#9393: 24.0.50; Tiny bug in info node "(elisp)Building Lists"
Date: Sun, 28 Aug 2011 15:08:50 -0400
Dani Moncayo <dmoncayo <at> gmail.com> writes:

> Sorry, the previous patch is obviously wrong.  This is the right one:

Thanks, applied.




bug closed, send any further explanations to 9393 <at> debbugs.gnu.org and Dani Moncayo <dmoncayo <at> gmail.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Sun, 28 Aug 2011 19:13:02 GMT) Full text and rfc822 format available.

Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9393; Package emacs. (Sat, 03 Sep 2011 07:38:01 GMT) Full text and rfc822 format available.

Message #16 received at 9393 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 9393 <at> debbugs.gnu.org
Subject: Re: bug#9393: 24.0.50; Typo in Elisp manual
Date: Sat, 3 Sep 2011 09:33:43 +0200
I think I've found another typo in node "(elisp)Sets And Lists":


=== modified file 'doc/lispref/lists.texi'
--- doc/lispref/lists.texi      2011-05-29 22:41:06 +0000
+++ doc/lispref/lists.texi      2011-08-29 15:45:15 +0000
@@ -1454,7 +1454,7 @@
 l
      @result{} ((2) (1))
 ;; @r{If you want to change @code{l} reliably,}
-;; @r{write @code{(setq l (delete elt l))}.}
+;; @r{write @code{(setq l (delete '(2) l))}.}
 @end group
 @group
 (setq l '((2) (1) (2)))


In the example at hand `elt' is unknown, so that `(setq l (delete elt
l))' has no sense and raises an error.

-- 
Dani Moncayo




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9393; Package emacs. (Wed, 14 Sep 2011 06:58:01 GMT) Full text and rfc822 format available.

Message #19 received at 9393 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: Chong Yidong <cyd <at> stupidchicken.com>, 9393 <at> debbugs.gnu.org
Subject: Re: bug#9393: 24.0.50; Typo in Elisp manual
Date: Wed, 14 Sep 2011 02:53:01 -0400
Thanks; applied.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9393; Package emacs. (Sun, 02 Oct 2011 09:06:02 GMT) Full text and rfc822 format available.

Message #22 received at 9393 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 9393 <at> debbugs.gnu.org
Subject: Re: bug#9393: 24.0.50; Typo in Elisp manual
Date: Sun, 2 Oct 2011 11:04:14 +0200
Hi,

Info node "(elisp)Advising Functions" begins with:

> The "advice" feature lets you add to the existing definition of a
> function, by "advising the function".

Please, correct me if I'm wrong (English is not my first language),
but I think that this sentence is lacking a substantive just after
"lets you add".  For example: "... lets you add code to the existing
..."



-- 
Dani Moncayo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9393; Package emacs. (Sun, 02 Oct 2011 18:23:02 GMT) Full text and rfc822 format available.

Message #25 received at 9393 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 9393 <at> debbugs.gnu.org
Subject: Re: bug#9393: 24.0.50; Typo in Elisp manual
Date: Sun, 02 Oct 2011 14:21:10 -0400
Dani Moncayo wrote:

>> The "advice" feature lets you add to the existing definition of a
>> function, by "advising the function".
>
> Please, correct me if I'm wrong (English is not my first language),
> but I think that this sentence is lacking a substantive just after
> "lets you add".  For example: "... lets you add code to the existing
> ..."

The current wording seems fine to me. The OED says that "add" can be
used intransitively with "to", in the sense of "making something more
extensive".




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#9393; Package emacs. (Mon, 03 Oct 2011 06:30:02 GMT) Full text and rfc822 format available.

Message #28 received at 9393 <at> debbugs.gnu.org (full text, mbox):

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 9393 <at> debbugs.gnu.org
Subject: Re: bug#9393: 24.0.50; Typo in Elisp manual
Date: Mon, 3 Oct 2011 08:28:05 +0200
>>> The "advice" feature lets you add to the existing definition of a
>>> function, by "advising the function".
>>
>> Please, correct me if I'm wrong (English is not my first language),
>> but I think that this sentence is lacking a substantive just after
>> "lets you add".  For example: "... lets you add code to the existing
>> ..."
>
> The current wording seems fine to me. The OED says that "add" can be
> used intransitively with "to", in the sense of "making something more
> extensive".

Thanks Glenn, noted.

[This report is already closed, so there's nothing else to do.]

-- 
Dani Moncayo




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 31 Oct 2011 11:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 317 days ago.

Previous Next


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