GNU bug report logs -
#10634
`forward-list' scan error
Previous Next
Full log
View this message in rfc822 format
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
This bug report was last modified 3 years and 329 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.