GNU bug report logs - #3416
down-list

Previous Next

Package: emacs;

Reported by: Andreas Roehler <andreas.roehler <at> online.de>

Date: Fri, 29 May 2009 13:20:04 UTC

Severity: wishlist

Merged with 5588

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 3416 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
Cc: 3416 <at> debbugs.gnu.org
Subject: Re: bug#3416: down-list
Date: Fri, 29 May 2009 19:10:39 +0200
> you are right. Nonetheless, as strings are common
> elements of lists, not just in Python, its such an
> inconvenience, it qualifies as bug in my eyes.
>
> If you don't want to dig into scan-list, that trivial
> line I've sent is enough to cure it.

IIUC you want to skip anything but a left paren before starting the
scan.  This means you might skip the start of a comment or string and
end up before the first left paren within that comment or string.

The only right way to do that is to parse the syntax until point first
and handle the case where you are in a comment or string appropriately.
That approach has been suggested a number of times but so far no one has
implemented it.

martin



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

Previous Next


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