From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#3416: down-list Date: Fri, 29 May 2009 14:13:45 -0400 Message-ID: References: <4A1FDF6B.3040208@online.de> <4A1FF5E7.3080709@gmx.at> <4A201255.2050204@easy-emacs.de> Reply-To: Stefan Monnier , 3416@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243622255 19395 80.91.229.12 (29 May 2009 18:37:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 May 2009 18:37:35 +0000 (UTC) Cc: 3416@emacsbugs.donarmstrong.com To: Andreas =?UTF-8?Q?R=C3=B6hler?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 29 20:37:32 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 1MA6xP-0006Fs-Ll for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 20:37:31 +0200 Original-Received: from localhost ([127.0.0.1]:59730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA6xO-0000dx-SU for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 May 2009 14:37:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MA6xJ-0000ck-Jy for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 14:37:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MA6xE-0000ZZ-8j for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 14:37:24 -0400 Original-Received: from [199.232.76.173] (port=40794 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MA6xD-0000ZK-Rn for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 14:37:19 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58546) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MA6xD-0006wM-AO for bug-gnu-emacs@gnu.org; Fri, 29 May 2009 14:37:19 -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 n4TIbH6s012974; Fri, 29 May 2009 11:37:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4TIK4l3009866; Fri, 29 May 2009 11:20:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 29 May 2009 18:20:04 +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.12436208348857 (code B ref 3416); Fri, 29 May 2009 18:20:04 +0000 Original-Received: (at 3416) by emacsbugs.donarmstrong.com; 29 May 2009 18:13:54 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4TIDmBo008850 for <3416@emacsbugs.donarmstrong.com>; Fri, 29 May 2009 11:13:50 -0700 Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id n4TIDmM3026420; Fri, 29 May 2009 14:13:48 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id B41093A170; Fri, 29 May 2009 14:13:45 -0400 (EDT) In-Reply-To: <4A201255.2050204@easy-emacs.de> ("Andreas =?UTF-8?Q?R=C3=B6hler"'s?= message of "Fri, 29 May 2009 18:50:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3286=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 29 May 2009 14:37:24 -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:28303 Archived-At: > 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