all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: Leo Liu <sdl.web@gmail.com>
Cc: 14457@debbugs.gnu.org
Subject: bug#14457: 24.3; buggy forward-sexp in octave mode?
Date: Sat, 25 May 2013 19:45:51 +0200	[thread overview]
Message-ID: <51A0F8CF.6050003@easy-emacs.de> (raw)
In-Reply-To: <m1zjvjr8ph.fsf@gmail.com>

Am 25.05.2013 06:20, schrieb Leo Liu:
> On 2013-05-24 13:30 +0800, Andreas Röhler wrote:
>> 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.
>
> This is a different issue

That's right. Sorry mixing that up.

and I am not sure what to do here. Maybe it
> makes more sense to let forward-list and backward-up-list move out of
> strings. Feel free to make a proposal.
>
> Leo
>

If backward-sexp is called from inside a string, would assume the string being the balanced expression then.
I.e. it should go to the beginning of string. From there proceed as now.

Andreas





      reply	other threads:[~2013-05-25 17:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-24  3:07 bug#14457: 24.3; buggy forward-sexp in octave mode? Leo Liu
2013-05-24  4:07 ` Stefan Monnier
2013-05-25  4:17   ` Leo Liu
2013-05-25  6:59     ` Stefan Monnier
2013-06-08  3:36       ` Leo Liu
2013-05-24  5:30 ` Andreas Röhler
2013-05-25  4:20   ` Leo Liu
2013-05-25 17:45     ` Andreas Röhler [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51A0F8CF.6050003@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=14457@debbugs.gnu.org \
    --cc=sdl.web@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.