all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Leo Liu <sdl.web@gmail.com>
To: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <m162083xxt.fsf@gmail.com> (raw)
In-Reply-To: <87a9plozpd.fsf@lifelogs.com> (Ted Zlatanov's message of "Sat, 30 Mar 2013 08:10:38 -0400")

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
book.

Leo



  reply	other threads:[~2013-03-31  6:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1ULlM5-0005j5-2R@vcs.savannah.gnu.org>
2013-03-30  5:04 ` /srv/bzr/emacs/trunk r112183: Move forward-whitespace, forward-symbol, forward-same-syntax commands to subr.el. Use forward-symbol in supermode.el again Leo Liu
2013-03-30  7:07   ` Andreas Röhler
2013-03-30  7:41     ` Leo Liu
2013-03-30  8:07       ` Andreas Röhler
2013-03-30  8:40       ` Eli Zaretskii
2013-03-30  9:54         ` Leo Liu
2013-03-30 10:21           ` Eli Zaretskii
2013-03-30 12:10   ` Ted Zlatanov
2013-03-31  6:06     ` Leo Liu [this message]
2013-03-31  8:39       ` Andreas Röhler
2013-03-31 12:10       ` Ted Zlatanov

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=m162083xxt.fsf@gmail.com \
    --to=sdl.web@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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.