GNU bug report logs - #10634
`forward-list' scan error

Previous Next

Package: emacs;

Reported by: Raffaele Ricciardi <rfflrccrd <at> gmail.com>

Date: Sun, 29 Jan 2012 00:02:01 UTC

Severity: minor

Tags: confirmed

Done: Lars Ingebrigtsen <larsi <at> gnus.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 10634 in the body.
You can then email your comments to 10634 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#10634; Package emacs. (Sun, 29 Jan 2012 00:02:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Raffaele Ricciardi <rfflrccrd <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 29 Jan 2012 00:02:01 GMT) Full text and rfc822 format available.

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

From: Raffaele Ricciardi <rfflrccrd <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: `forward-list' scan error
Date: Sat, 28 Jan 2012 23:20:26 +0000
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your report will be posted to the bug-gnu-emacs <at> gnu.org mailing list
and the gnu.emacs.bug news group, and at http://debbugs.gnu.org.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting from `emacs -Q':
---
Error: "forward-list: Scan error: "Containing expression ends 
prematurely", 336, 336"

How to reproduce it:
- emacs -Q
- switch to *scratch*
- in the following code:

(abc (def) (ghi) lmn)

`forward-list' fails in different positions, for instance (| is point):

(abc (|d|e|f|) (ghi) lmn)

Software: GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 
2011-12-10 on debian

---

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/home/lele/bin/emacs/emacs-23.3b/share/emacs/23.3/etc/DEBUG.


In GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2011-12-10 on debian
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
configured using `configure  '--prefix=/home/lele/bin/emacs/emacs-23.3b''

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: en_US.utf8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
m n <delete> <delete> <delete> <delete> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> M-x M-p <return> <right> <right>
M-x M-p <return> <left> <left> <left> <left> <left>
M-x M-p <return> M-x M-p <return> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> M-x M-p <return> <left> <left>
M-x M-p <return> <down-mouse-1> <mouse-1> <double-down-mouse-1>
<mouse-movement> <mouse-movement> <double-drag-mouse-1>
<help-echo> <help-echo> <help-echo> <help-echo> <tool-bar>
<copy> <help-echo> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <up> <help-echo> <down-mouse-1> <mouse-movement>
<mouse-movement> <mouse-movement> <mouse-movement>
<mouse-movement> <mouse-movement> <drag-mouse-1> <delete>
<down-mouse-1> <mouse-movement> <mouse-movement> <help-echo>
<mouse-movement> <mouse-movement> <drag-mouse-1> <backspace>
<help-echo> <down-mouse-1> <mouse-1> M-x M-p <return>
<left> <left> <left> <left> <left> <left> <left> M-x
M-p <return> <left> <left> M-x M-p <return> <left>
<left> <left> <left> <left> <left> <left> M-x M-p <return>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> M-x M-p <return> <left> <left> <left>
<left> <left> <left> <left> <left> <left> <left> <left>
<left> <left> <left> <left> <left> M-x M-p <return>
<left> <left> <left> <left> M-x M-p <return> <right>
M-x M-p <return> <right> M-x M-p <return> <right> M-x
M-p <return> <right> M-x M-p <return> C-h C-g M-x e
m a a <backspace> c - - <backspace> <backspace> s -
v e r s i o n <return> C-h e <next> <down-mouse-1>
<mouse-movement> <mouse-movement> <drag-mouse-1> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <tool-bar>
<copy> <help-echo> C-h f f o r w a r d - l i s t <return>
<help-echo> <help-echo> <down-mouse-1> <mouse-2> <down>
<down> <down> <down> <down> <down> <down> <down> <up>
<help-echo> <menu-bar> <buffer> C-c <help-echo> <down-mouse-1>
<mouse-1> <left> i <return> <backspace> <backspace>
SPC z z z <left> <left> <left> <left> <left> <left>
M-x M-p M-p <return> <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar>
<help-menu> <send-emacs-bug-report>

Recent messages:
Type C-x 1 to delete the help window.
forward-list: Scan error: "Containing expression ends prematurely", 498, 499
forward-list: Scan error: "Containing expression ends prematurely", 503, 
504 [2 times]
Making completion list...
Quit
forward-list: Scan error: "Containing expression ends prematurely", 498, 
499 [3 times]
forward-list: Scan error: "Containing expression ends prematurely", 201, 
202 [5 times]
GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-12-10 
on debian
uncompressing lisp.el.gz...done
Note: file is write protected
forward-list: Scan error: "Containing expression ends prematurely", 205, 206

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message sendmail regexp-opt ecomplete rfc822 mml
mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse
rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util
netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock
sha1 hex-util hashcash mail-utils emacsbug jka-compr find-func help-fns
help-mode easymenu view tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev loaddefs button minibuffer faces cus-face files text-properties
overlay md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10634; Package emacs. (Sun, 24 Jan 2016 21:03:02 GMT) Full text and rfc822 format available.

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

From: Marcin Borkowski <mbork <at> mbork.pl>
To: 10634 <at> debbugs.gnu.org
Subject: Re: bug#10634: `forward-list' scan error
Date: Sun, 24 Jan 2016 22:02:11 +0100
On 2012-01-28, at 23:20, Raffaele Ricciardi <rfflrccrd <at> gmail.com> wrote:

> Error: "forward-list: Scan error: "Containing expression ends
> prematurely", 336, 336"
>
> How to reproduce it:
> - emacs -Q
> - switch to *scratch*
> - in the following code:
>
> (abc (def) (ghi) lmn)
>
> `forward-list' fails in different positions, for instance (| is point):
>
> (abc (|d|e|f|) (ghi) lmn)
>
> Software: GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of
> 2011-12-10 on debian

Hi all,

while I can easily reproduce this on current Emacs (25.1.50.1), I'm not
sure whether this is really a bug.  (Maybe it is a bug in the
docstring?)

Best,

-- 
Marcin Borkowski
http://mbork.pl/en




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10634; Package emacs. (Mon, 25 Jan 2016 17:06:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Marcin Borkowski <mbork <at> mbork.pl>
Cc: 10634 <at> debbugs.gnu.org
Subject: Re: bug#10634: `forward-list' scan error
Date: Mon, 25 Jan 2016 19:05:45 +0200
> From: Marcin Borkowski <mbork <at> mbork.pl>
> Date: Sun, 24 Jan 2016 22:02:11 +0100
> 
> > - emacs -Q
> > - switch to *scratch*
> > - in the following code:
> >
> > (abc (def) (ghi) lmn)
> >
> > `forward-list' fails in different positions, for instance (| is point):
> >
> > (abc (|d|e|f|) (ghi) lmn)
> >
> > Software: GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of
> > 2011-12-10 on debian
> 
> Hi all,
> 
> while I can easily reproduce this on current Emacs (25.1.50.1), I'm not
> sure whether this is really a bug.  (Maybe it is a bug in the
> docstring?)

Can you propose a suitable change to the doc string?  (We should
probably make similar changes in other related commands in lisp.el.)

Thanks.




Added tag(s) confirmed. Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Wed, 08 Jun 2016 03:17:02 GMT) Full text and rfc822 format available.

Severity set to 'minor' from 'normal' Request was from Noam Postavsky <npostavs <at> users.sourceforge.net> to control <at> debbugs.gnu.org. (Wed, 08 Jun 2016 03:17:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10634; Package emacs. (Mon, 23 Aug 2021 15:17:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Marcin Borkowski <mbork <at> mbork.pl>
Cc: 10634 <at> debbugs.gnu.org
Subject: Re: bug#10634: `forward-list' scan error
Date: Mon, 23 Aug 2021 17:16:25 +0200
Marcin Borkowski <mbork <at> mbork.pl> writes:

> On 2012-01-28, at 23:20, Raffaele Ricciardi <rfflrccrd <at> gmail.com> wrote:
>
>> Error: "forward-list: Scan error: "Containing expression ends
>> prematurely", 336, 336"
>>
>> How to reproduce it:
>> - emacs -Q
>> - switch to *scratch*
>> - in the following code:
>>
>> (abc (def) (ghi) lmn)
>>
>> `forward-list' fails in different positions, for instance (| is point):
>>
>> (abc (|d|e|f|) (ghi) lmn)
>>
>> Software: GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of
>> 2011-12-10 on debian
>
> Hi all,
>
> while I can easily reproduce this on current Emacs (25.1.50.1), I'm not
> sure whether this is really a bug.  (Maybe it is a bug in the
> docstring?)

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

This has changed a bit since reported a decade ago.  The command now says:

user-error: No next group

Which is the correct thing here -- the command is (now) documented to
"Move forward across one balanced group of parentheses.", and in the
case here, there's no group of parentheses to move forward over.

So this works as intended (`up-list' is the command to use in this
instance, most likely), and I'm closing this bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




bug closed, send any further explanations to 10634 <at> debbugs.gnu.org and Raffaele Ricciardi <rfflrccrd <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 23 Aug 2021 15:17:02 GMT) Full text and rfc822 format available.

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

This bug report was last modified 3 years and 328 days ago.

Previous Next


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