GNU bug report logs - #6921
23.1; invalid loop range in cookie1.el

Previous Next

Package: emacs;

Reported by: Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl>

Date: Thu, 26 Aug 2010 14:09:01 UTC

Severity: normal

Found in version 23.1

Done: Juanma Barranquero <lekktu <at> gmail.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 6921 in the body.
You can then email your comments to 6921 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#6921; Package emacs. (Thu, 26 Aug 2010 14:09:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 26 Aug 2010 14:09:01 GMT) Full text and rfc822 format available.

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

From: Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; invalid loop range in cookie1.el
Date: Thu, 26 Aug 2010 15:31:56 +0200
insert-zippyism doesn't provide any zyppyisms to choose from.

That is beacause the default yow.lines file provided with Emacs contains
only one a single quote. This makes the `i' variable (cookie1.el line
140) equal 1 which prevents the loop one line below from running even
once.  The line 141 in cookie should be

(while (>= (setq i (1- i)) 0)

In GNU Emacs 23.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-02 on excelsior, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--build=x86_64-linux-gnu' '--host=x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

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

Major mode: Help

Minor modes in effect:
  jabber-activity-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
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <right> % 
<right> C-x C-e <down> <right> <end> <left> % % <right> 
) C-x C-e <backspace> i ) C-x C-e <left> <down> C-a 
M-f M-f C-a M-f C-f C-f C-f = <up> <up> <down> <end> 
<backspace> <backspace> <down> <down> <down> C-e C-x 
C-e <return> <return> M-x i n s e r t - z i <tab> <return> 
Y <tab> <return> <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> C-g <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> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <help-menu> <send-emacs-bug-report> 
<help-echo> <down-mouse-1> <mouse-1> l o o p SPC <backspace> 
<backspace> <backspace> <backspace> <backspace> i n 
v a l i d SPC l o o p SPC r a n g e SPC i n SPC <help-echo> 
<help-echo> <down-mouse-1> <mouse-movement> <mouse-1> 
<down-mouse-2> <mouse-2> <help-echo> <return> <help-echo> 
M - x SPC i n s e r t - z u p p <backspace> <backspace> 
<backspace> i p p y i s m SPC <backspace> SPC d o e 
s n ' t SPC w o r k SPC i f <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <end> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <return> 
<return> T h e SPC <backspace> <backspace> <backspace> 
<backspace> <left> <left> <right> <down> <left> <left> 
<right> <down> D <backspace> <backspace> <left> <home> 
<delete> <delete> <delete> <delete> <end> SPC f u n 
c t i o n SPC <help-echo> <help-echo> <down-mouse-1> 
<mouse-1> C-g <down-mouse-1> <mouse-1> C-g <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> <help-echo> 
<help-echo> <help-echo> <menu-bar> <help-menu> <se
nd-emacs-bug-report>

Recent messages:
forward-list: Scan error: "Unbalanced parentheses", 1265, 1559
Entering debugger...
nil
Quit
nil
["Yow!  Legally-imposed CULTURE-reduction is CABBAGE-BRAINED!"]
nil
1
(("Yow!  Legally-imposed CULTURE-reduction is CABBAGE-BRAINED!"))
Quit [2 times]
Quit
-- 
Miłego dnia,
Łukasz Stelmach




Reply sent to Juanma Barranquero <lekktu <at> gmail.com>:
You have taken responsibility. (Thu, 26 Aug 2010 15:41:02 GMT) Full text and rfc822 format available.

Notification sent to Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl>:
bug acknowledged by developer. (Thu, 26 Aug 2010 15:41:02 GMT) Full text and rfc822 format available.

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

From: Juanma Barranquero <lekktu <at> gmail.com>
To: Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl>
Cc: 6921-done <at> debbugs.gnu.org
Subject: Re: bug#6921: 23.1; invalid loop range in cookie1.el
Date: Thu, 26 Aug 2010 17:41:33 +0200
2010/8/26 Łukasz Stelmach <lukasz.stelmach <at> iem.pw.edu.pl>:

> (while (>= (setq i (1- i)) 0)

Fixed, thanks.

    Juanma




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

This bug report was last modified 14 years and 266 days ago.

Previous Next


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