bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#14457: 24.3; buggy forward-sexp in octave mode?


From: Andreas Röhler
Subject: bug#14457: 24.3; buggy forward-sexp in octave mode?
Date: Fri, 24 May 2013 07:30:54 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5

Am 24.05.2013 05:07, schrieb Leo Liu:
1. Open the attached file
2. Move point to end of the word 'otherwise'
3. M-: (forward-sexp -1)

Is this correct behaviour? I noticed this via
smie-highlight-matching-block-mode.

Leo


forward-sexp isn't able to leave a string when called from inside.
Which constitutes a bug.

For example curser at end inside string:

case "importdata"
               ^
First backward-sexp would reach beginning of string, OK.
Second call fails.

forward-sexp called at beginning or end should go one level up or return nil if 
BOB/EOB

Andreas





reply via email to

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