From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stephan Stahl Newsgroups: gmane.emacs.devel Subject: backward-up-list Date: Wed, 17 Jul 2002 15:45:26 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <3D3574F6.7030405@isogmbh.de> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1026913344 31270 127.0.0.1 (17 Jul 2002 13:42:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 17 Jul 2002 13:42:24 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Up4R-00088F-00 for ; Wed, 17 Jul 2002 15:42:23 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17UpFs-0006hh-00 for ; Wed, 17 Jul 2002 15:54:12 +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 17Up4M-0005Ke-00; Wed, 17 Jul 2002 09:42:18 -0400 Original-Received: from mail.isogmbh.de ([194.139.105.20] helo=ns2.isogmbh.de) by fencepost.gnu.org with smtp (Exim 3.35 #1 (Debian)) id 17Up3d-0005Jk-00 for ; Wed, 17 Jul 2002 09:41:33 -0400 Original-Received: (qmail 14605 invoked from network); 17 Jul 2002 13:40:18 -0000 Original-Received: from unknown (HELO isogmbh.de) (192.168.81.11) by mail.dmz.isogmbh.de with SMTP; 17 Jul 2002 13:40:18 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en Original-To: emacs-devel@gnu.org 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:5830 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5830 Hi. I have found 'backward-up-list' not to work in some major modes when point is in a string. Too repeat the behaviour find the file 'lisp/emacs-lisp/lisp.el'. It should start 'emacs-lisp-mode'. Go to line 112. ( This is the actually the function 'backward-up-list'. ) Press M-C-u. I get the error message 'up-list: Scan error: "Unbalanced parentheses", 3824, 1'. Doing the same when text-mode is active works as it should. So far i have tracked 'backward-up-list' back to the C function 'static Lisp_Object scan_lists (from, count, depth, sexpflag)' in 'src/syntax.c' line 2037 . But i suppose the different behaviour results in different parenthese settings for 'text-mode' and 'emacs-lisp-mode'. But i do not know where to start looking at... Could someone please help me with this? Thanks. Stephan