From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?UTF-8?Q?R=C3=B6hler?= Newsgroups: gmane.emacs.bugs Subject: bug#3416: down-list Date: Fri, 29 May 2009 22:20:50 +0200 Message-ID: <4A2043A2.7030603@easy-emacs.de> References: <4A1FDF6B.3040208@online.de> <4A1FF5E7.3080709@gmx.at> <4A201255.2050204@easy-emacs.de> Reply-To: Andreas =?UTF-8?Q?R=C3=B6hler?= , 3416@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1243629498 8417 80.91.229.12 (29 May 2009 20:38:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2009 20:38:18 +0000 (UTC) Cc: 3416@emacsbugs.donarmstrong.com To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 29 22:38:15 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MA8qD-00035P-Aq for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 22:38:13 +0200 Original-Received: from localhost ([127.0.0.1]:46203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA8qC-0008Gx-Nn for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 16:38:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MA8pS-00072Q-4z for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 16:37:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MA8pN-0006ra-5R for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 16:37:25 -0400 Original-Received: from [199.232.76.173] (port=40246 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA8pM-0006rB-T4 for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 16:37:20 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:54671) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MA8pM-0000uG-DE for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 16:37:20 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4TKbHnK001046; Fri, 29 May 2009 13:37:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4TKP5mv031257; Fri, 29 May 2009 13:25:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Andreas =?UTF-8?Q?R=C3=B6hler?= Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 29 May 2009 20:25:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3416 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3416-submit@emacsbugs.donarmstrong.com id=B3416.124362835930396 (code B ref 3416); Fri, 29 May 2009 20:25:05 +0000 Original-Received: (at 3416) by emacsbugs.donarmstrong.com; 29 May 2009 20:19:19 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4TKJD40030387 for <3416@emacsbugs.donarmstrong.com>; Fri, 29 May 2009 13:19:15 -0700 Original-Received: from [192.168.178.27] (p54BEB7B4.dip0.t-ipconnect.de [84.190.183.180]) by mrelayeu.kundenserver.de (node=mrelayeu4) with ESMTP (Nemesis) id 0ML21M-1MA8Xg2Hwl-0001uB; Fri, 29 May 2009 22:19:07 +0200 User-Agent: Thunderbird 2.0.0.19 (X11/20081227) In-Reply-To: X-Provags-ID: V01U2FsdGVkX1+vn9qkz4GaSyTaYMNOxQl+x/wEIssUnLFMMff aJu+zx544pkOntgCR2JpQfYfbBzYuSdwgNFXCzHg5TuRgzC6oh LVOzl3oazmUcKJccYHa/eKd5VhBk7o47K5s3a1763Y= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 29 May 2009 16:37:25 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28305 Archived-At: Stefan Monnier wrote: >> 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. >> > > Agreed. As it stands `down-list' does what it is documented to do, but > it is not always the best thing to do. Same holds for `forward-sexp' > and several other friends. > > I think these need to be split into functions (that keep the current > name and behavior) and commands (with new names), where the commands can > then be modified to be more clever about guessing the start state > (presumably using syntax-ppss) and doing something useful with it. > > > Stefan > > IMHO `down-list' it simply may work as the name says. Limitation mentioned in doku may be removed. Behavior of `forward-sexp' is erratic for me, so I didn't use it. Probably it pays to reflect what it should do. Thanks all Andreas