GNU bug report logs - #15085
Doc Fix for the Emacs Lips Intro

Previous Next

Package: emacs;

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

Date: Tue, 13 Aug 2013 10:42:02 UTC

Severity: minor

Tags: patch

Fixed in version 24.4

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 15085 in the body.
You can then email your comments to 15085 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-gnu-emacs <at> gnu.org:
bug#15085; Package emacs. (Tue, 13 Aug 2013 10:42: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. (Tue, 13 Aug 2013 10:42: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: Doc Fix for the Emacs Lips Intro
Date: Tue, 13 Aug 2013 12:40:52 +0200
Hi,

The following patch adapts one example (and its explanation) to the
current code.


--- emacs-lisp-intro.texi 2013-08-13 12:14:44 +0200
+++ emacs-lisp-intro.texi 2013-08-13 12:32:36 +0200
@@ -6323,7 +6323,7 @@
                         (/ (+ 10 (* size (prefix-numeric-value arg)))
                            10)))
                  (point-min))))
-  (if arg (forward-line 1)))
+  (if (and arg (not (consp arg))) (forward-line 1)))
 @end group
 @end smallexample

@@ -6390,7 +6390,7 @@
 invoked with an argument:

 @smallexample
-(if arg (forward-line 1)))
+(if (and arg (not (consp arg))) (forward-line 1))
 @end smallexample

 @noindent
@@ -6401,13 +6401,6 @@
 perhaps, not necessary, but which, if it did not occur, would be sure
 to draw complaints.

-On the other hand, it also means that if you specify the command with
-a @kbd{C-u}, but without a number, that is to say, if the `raw prefix
-argument' is simply a cons cell, then the command puts you at the
-beginning of the second line @dots{}  I don't know whether this is
-intended or whether no one has dealt with the code to avoid this
-happening.
-
 @node Second Buffer Related Review
 @section Review



-- 
Dani Moncayo




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15085; Package emacs. (Tue, 13 Aug 2013 10:55:01 GMT) Full text and rfc822 format available.

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

From: Dani Moncayo <dmoncayo <at> gmail.com>
To: 15085 <at> debbugs.gnu.org
Subject: Re: bug#15085: Doc Fix for the Emacs Lips Intro
Date: Tue, 13 Aug 2013 12:53:57 +0200
> The following patch adapts one example (and its explanation) to the
> current code.

By the way: I understand that the introduction has not to be based on
the current code.  But in this case, the original code contained a bug
(I think), and therefore I've thought that it would be better to also
remove that bug from the introduction.

-- 
Dani Moncayo




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Sun, 01 Sep 2013 01:20:03 GMT) Full text and rfc822 format available.

Notification sent to Dani Moncayo <dmoncayo <at> gmail.com>:
bug acknowledged by developer. (Sun, 01 Sep 2013 01:20:06 GMT) Full text and rfc822 format available.

Message #13 received at 15085-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 15085-done <at> debbugs.gnu.org
Subject: Re: bug#15085: Doc Fix for the Emacs Lips Intro
Date: Sat, 31 Aug 2013 21:19:01 -0400
Version: 24.4

Thanks; applied.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 29 Sep 2013 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 233 days ago.

Previous Next


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