[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


From: Stephan Stahl
Subject: backward-up-list
Date: Wed, 17 Jul 2002 15:45:26 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530


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?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]