From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.devel Subject: Re: superword-mode Date: Fri, 29 Mar 2013 17:23:24 +0100 Message-ID: <5155BFFC.10609@online.de> References: <87wqt0xqiy.fsf@lifelogs.com> <87sj3ny4ca.fsf@lifelogs.com> <87ehf7zid3.fsf@fleche.redhat.com> <87obeby2ph.fsf@lifelogs.com> <878v5fxzjg.fsf@lifelogs.com> <871ub7xn7e.fsf@lifelogs.com> <87r4j2v7t8.fsf@lifelogs.com> <87zjxqt21y.fsf_-_@lifelogs.com> <87zjxnqgec.fsf@lifelogs.com> <87txnuqqvb.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1364574137 12488 80.91.229.3 (29 Mar 2013 16:22:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Mar 2013 16:22:17 +0000 (UTC) Cc: Ted Zlatanov To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 29 17:22:44 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ULc4e-0003IR-C1 for ged-emacs-devel@m.gmane.org; Fri, 29 Mar 2013 17:22:40 +0100 Original-Received: from localhost ([::1]:37263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULc4G-0003H1-3s for ged-emacs-devel@m.gmane.org; Fri, 29 Mar 2013 12:22:16 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULc4C-0003EG-MZ for emacs-devel@gnu.org; Fri, 29 Mar 2013 12:22:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ULc4B-0003hb-6U for emacs-devel@gnu.org; Fri, 29 Mar 2013 12:22:12 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.187]:52498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ULc4A-0003hN-T4 for emacs-devel@gnu.org; Fri, 29 Mar 2013 12:22:11 -0400 Original-Received: from [192.168.178.21] (brln-4d0c1c78.pool.mediaWays.net [77.12.28.120]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0Mefts-1U1rDs0QnI-00OYGx; Fri, 29 Mar 2013 17:22:08 +0100 User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 In-Reply-To: <87txnuqqvb.fsf@lifelogs.com> X-Provags-ID: V02:K0:U8/YMjzRR3PBtyXGCMdu4RBz3CnUpHJFszaM8CNWcke TA2THgeuWzvzeK3nusoucGHZYQtoZm2iCEwwPGT28En/z+mapS SF4dJl4CpAAb4MFcr6FxjKefSg7leHQg1YRVf54yo6c6RKZ3Ie XCBjWOmcntMPi7P8vMH+vpcPEg8f9JLAPHp6M/C3iEFV9g5CfC Qa5j6KO/4BB1K4goi35Zj+Dh9ABEweEtSOWRkfFswz+ZiGDZuc 4p5MT7nU4mqU//pfx5Z1BH8UGjFScZv/IoBViCr1JeSbO0I+x/ qHNPRrKe4MfZFHPc1rtP07/2Sdo2hZf6OMBpBQt28VS8x6uwau bmHYIg5eczcfb6y4fbWQ= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 212.227.126.187 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:158431 Archived-At: Am 29.03.2013 14:26, schrieb Ted Zlatanov: > On Thu, 28 Mar 2013 19:00:11 -0400 Ted Zlatanov 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