[Top][All Lists]

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

Re: /srv/bzr/emacs/trunk r112183: Move forward-whitespace, forward-symbo

From: Leo Liu
Subject: Re: /srv/bzr/emacs/trunk r112183: Move forward-whitespace, forward-symbol, forward-same-syntax commands to subr.el. Use forward-symbol in supermode.el again.
Date: Sun, 31 Mar 2013 14:06:38 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.3)

On 2013-03-30 20:10 +0800, Ted Zlatanov wrote:
> http://permalink.gmane.org/gmane.emacs.devel/158448
> Stefan advised it for `forward-symbol' and after looking at
> `thingatpt.el', I agreed with him.  The other two (`forward-same-syntax'
> and `forward-whitespace') were very similar so I followed the same
> logic:
> 1) simple, generally useful, small
> 2) use only basic Emacs commands and no commands from `thingatpt.el'
> 3) seem consistent with the rest of `subr.el'
> Perhaps we can have `motion.el' or something, but with the current
> layout `subr.el' seems the best place.

You already have a nice and broad name space to work with i.e. thingatpt
so no need to make another one. thingatpt gives you forward and backward
motions and other goodies.

I think a better and cleaner way to do this is maybe clean up
thingatpt.el. Now codes are scattered everywhere which is messier in my


reply via email to

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