From unknown Fri Aug 15 20:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15085: Doc Fix for the Emacs Lips Intro Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Aug 2013 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15085 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15085@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.137639046526616 (code B ref -1); Tue, 13 Aug 2013 10:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Aug 2013 10:41:05 +0000 Received: from localhost ([127.0.0.1]:56203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9C2D-0006vD-2i for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:41:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47068) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9C29-0006uf-Sx for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:41:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9C24-0000Bs-0L for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:40:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9C23-0000Bo-Tu for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:40:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9C22-0006oy-Tg for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 06:40:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9C21-0000BG-Ue for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 06:40:54 -0400 Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:47373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9C21-0000Al-MY for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 06:40:53 -0400 Received: by mail-la0-f49.google.com with SMTP id ev20so5589200lab.22 for ; Tue, 13 Aug 2013 03:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=PJNwgCm9/+Zxz2A6NFYUtnn2qNbgbJjuKnoTQW/kooY=; b=IplJlBhq11wqjN3eNOmk2yYs/1f/nXe8HrpMldst96h1VdlFPSbqmuM0+0be9yCpR4 r09ScBnIFgScNInmpq9POj/wPf7MCzdjBlA9ZwyofmbjTXhIH6pRhShD1zUaD7++ROvp J4cuRZ81GFCdqs5XycQ8blX9folSEqeqCyqS+ziat4Dp+Q2GEHwCHHOJzog6v7S7aHkR PkixXqtnMzz2hSV+kij+t+2yroFUvgo0g8cqiLGCs6rGSZB6taGykhbn9ZJbebrqLF14 ZzlxcfF0tM5e5CM1sbPd3yasRS2lktNy3sH0T+tAjSDbe8yrtE+77Lp9tI5+LOR/cwmz XDOQ== MIME-Version: 1.0 X-Received: by 10.112.132.193 with SMTP id ow1mr995497lbb.40.1376390452159; Tue, 13 Aug 2013 03:40:52 -0700 (PDT) Received: by 10.114.176.231 with HTTP; Tue, 13 Aug 2013 03:40:52 -0700 (PDT) Date: Tue, 13 Aug 2013 12:40:52 +0200 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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 From unknown Fri Aug 15 20:01:31 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15085: Doc Fix for the Emacs Lips Intro Resent-From: Dani Moncayo Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 Aug 2013 10:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15085 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15085@debbugs.gnu.org Received: via spool by 15085-submit@debbugs.gnu.org id=B15085.137639125027830 (code B ref 15085); Tue, 13 Aug 2013 10:55:01 +0000 Received: (at 15085) by debbugs.gnu.org; 13 Aug 2013 10:54:10 +0000 Received: from localhost ([127.0.0.1]:56208 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9CEr-0007En-KP for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:54:09 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:51420) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9CEm-0007EF-If for 15085@debbugs.gnu.org; Tue, 13 Aug 2013 06:54:05 -0400 Received: by mail-lb0-f181.google.com with SMTP id o10so5614082lbi.40 for <15085@debbugs.gnu.org>; Tue, 13 Aug 2013 03:53:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=9OqgkB6pRc9xZKZuFFCgX/tNzZbiK+9FcboGbKqJRJ8=; b=bVN3WdF8Y6JwNpnIfWsxnNBDvNgcQhNA2qna9FLWatvVNINwE36hwzhS2dmMJE0obl 6lKh4/I7V+Zkq/COExTn+yvuCJg/A+eG6sticfxt7BofH++MrnLRAZRAduW7ivjOfjvz 1pqnUfouhY4dvHH1peyfaKyGN9HUIgfaPOFuv7ZHcGBtn20SP+s51TmdpdKneiwHt/Yq occHdv0S9+YRRX6W1AntZEqNkGDMHB8vJRFI7QIhxWN5fILWJYP+G5+eKCxttvnE056P JjP88sCjO89ypeuuMGThH5DBsLvqr91P6B81BsctySTCfuDtGGZyewVCotbe9GrGiA1J d0ug== MIME-Version: 1.0 X-Received: by 10.112.51.166 with SMTP id l6mr3181212lbo.5.1376391237914; Tue, 13 Aug 2013 03:53:57 -0700 (PDT) Received: by 10.114.176.231 with HTTP; Tue, 13 Aug 2013 03:53:57 -0700 (PDT) In-Reply-To: References: Date: Tue, 13 Aug 2013 12:53:57 +0200 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > 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 From unknown Fri Aug 15 20:01:31 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Dani Moncayo Subject: bug#15085: closed (Re: bug#15085: Doc Fix for the Emacs Lips Intro) Message-ID: References: X-Gnu-PR-Message: they-closed 15085 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 15085@debbugs.gnu.org Date: Sun, 01 Sep 2013 01:20:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1377998406-21541-1" This is a multi-part message in MIME format... ------------=_1377998406-21541-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15085: Doc Fix for the Emacs Lips Intro which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15085@debbugs.gnu.org. --=20 15085: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15085 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1377998406-21541-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15085-done) by debbugs.gnu.org; 1 Sep 2013 01:19:05 +0000 Received: from localhost ([127.0.0.1]:33820 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VFwJl-0005a6-BY for submit@debbugs.gnu.org; Sat, 31 Aug 2013 21:19:05 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:36018 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VFwJj-0005Zy-4M for 15085-done@debbugs.gnu.org; Sat, 31 Aug 2013 21:19:03 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VFwJh-0000g3-OF; Sat, 31 Aug 2013 21:19:01 -0400 From: Glenn Morris To: 15085-done@debbugs.gnu.org Subject: Re: bug#15085: Doc Fix for the Emacs Lips Intro References: X-Spook: espionage Project Monarch subversive afsatcom bluebird X-Ran: *76m|*5XgJr1![Es0w;MjklC-=zHH"R="){S.gdPwp;o=PfQ#%1ew;XNXEXV'drVot4@*h X-Hue: cyan X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 31 Aug 2013 21:19:01 -0400 In-Reply-To: (Dani Moncayo's message of "Tue, 13 Aug 2013 12:40:52 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.5 (-------) X-Debbugs-Envelope-To: 15085-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.5 (-------) Version: 24.4 Thanks; applied. ------------=_1377998406-21541-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Aug 2013 10:41:05 +0000 Received: from localhost ([127.0.0.1]:56203 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9C2D-0006vD-2i for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:41:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47068) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V9C29-0006uf-Sx for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:41:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9C24-0000Bs-0L for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:40:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID,USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9C23-0000Bo-Tu for submit@debbugs.gnu.org; Tue, 13 Aug 2013 06:40:55 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48780) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9C22-0006oy-Tg for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 06:40:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V9C21-0000BG-Ue for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 06:40:54 -0400 Received: from mail-la0-x231.google.com ([2a00:1450:4010:c03::231]:47373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V9C21-0000Al-MY for bug-gnu-emacs@gnu.org; Tue, 13 Aug 2013 06:40:53 -0400 Received: by mail-la0-f49.google.com with SMTP id ev20so5589200lab.22 for ; Tue, 13 Aug 2013 03:40:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=PJNwgCm9/+Zxz2A6NFYUtnn2qNbgbJjuKnoTQW/kooY=; b=IplJlBhq11wqjN3eNOmk2yYs/1f/nXe8HrpMldst96h1VdlFPSbqmuM0+0be9yCpR4 r09ScBnIFgScNInmpq9POj/wPf7MCzdjBlA9ZwyofmbjTXhIH6pRhShD1zUaD7++ROvp J4cuRZ81GFCdqs5XycQ8blX9folSEqeqCyqS+ziat4Dp+Q2GEHwCHHOJzog6v7S7aHkR PkixXqtnMzz2hSV+kij+t+2yroFUvgo0g8cqiLGCs6rGSZB6taGykhbn9ZJbebrqLF14 ZzlxcfF0tM5e5CM1sbPd3yasRS2lktNy3sH0T+tAjSDbe8yrtE+77Lp9tI5+LOR/cwmz XDOQ== MIME-Version: 1.0 X-Received: by 10.112.132.193 with SMTP id ow1mr995497lbb.40.1376390452159; Tue, 13 Aug 2013 03:40:52 -0700 (PDT) Received: by 10.114.176.231 with HTTP; Tue, 13 Aug 2013 03:40:52 -0700 (PDT) Date: Tue, 13 Aug 2013 12:40:52 +0200 Message-ID: Subject: Doc Fix for the Emacs Lips Intro From: Dani Moncayo To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) 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 ------------=_1377998406-21541-1--