emacs-devel
[Top][All Lists]
Advanced

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

Re: superword-mode


From: Andreas Röhler
Subject: Re: superword-mode
Date: Fri, 29 Mar 2013 17:23:24 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4

Am 29.03.2013 14:26, schrieb Ted Zlatanov:
On Thu, 28 Mar 2013 19:00:11 -0400 Ted Zlatanov <address@hidden> wrote:

TZ> Juanma caught the problem that `forward-symbol' is autoloaded from
TZ> `thingatpt.el' and `C-M-f' actually runs `forward-sexp'.  Oops.  So
TZ> `superword-mode' is slightly broken currently.

TZ> I need to know if I should:

TZ> 1) use `forward-sexp' instead of `forward-symbol'
TZ> 2) implement a local version of `forward-symbol'
TZ> 3) autoload `forward-symbol'

TZ> I'm leaning towards (1) because I think it would work great for CFEngine
TZ> and Perl and C editing.  I don't want to assume it's the right solution,
TZ> though, so let me know what you think.

In order to avoid breakage I implemented (1) but please tell me if you
think that's the wrong decision.  Thanks.

Ted




Hi,

IMO that can't work, as forward-sexp has a long-time bug wrt to strings.

Lately offered a solution for end-of-sexp from thingatpt.el, which applies 
likewise.

BTW why not simply change the syntax-class using modify-syntax-entry?

Thanks,

Andreas





reply via email to

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