From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: backward-up-list Date: Wed, 17 Jul 2002 09:48:51 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200207171348.g6HDmpt02497@rum.cs.yale.edu> References: <3D3574F6.7030405@isogmbh.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1026913776 32567 127.0.0.1 (17 Jul 2002 13:49:36 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 17 Jul 2002 13:49:36 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17UpBN-0008T8-00 for ; Wed, 17 Jul 2002 15:49:33 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17UpMo-0006w1-00 for ; Wed, 17 Jul 2002 16:01:22 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17UpBK-0005Z3-00; Wed, 17 Jul 2002 09:49:30 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.35 #1 (Debian)) id 17UpAj-0005WE-00 for ; Wed, 17 Jul 2002 09:48:53 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g6HDmpt02497; Wed, 17 Jul 2002 09:48:51 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Stephan Stahl Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5832 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5832 > I have found 'backward-up-list' not to work in some major modes when > point is in a string. I'd expect it "not to work" in any major-mode. backward-up-list as well as forward-sexp, backward-sexp, ... all assume that the starting position is outside of any string and/or comment. It's non-trivial to fix and sometimes people rely on the current behavior so even if a technical solution comes around, it might be difficult to use it because of the incompatible change in behavior. Stefan PS: It "works" in text-mode simply because point cannot be in a string since there are no strings (or comments for that matter) in text-mode.