From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kai.grossjohann@uni-duisburg.de (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.devel Subject: Re: Enhance word-based commands? Date: Thu, 16 Jan 2003 08:42:53 +0100 Organization: University of Duisburg, Germany Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <84r8bdwneq.fsf@lucy.is.informatik.uni-duisburg.de> References: <84el7edy18.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1042705344 29057 80.91.224.249 (16 Jan 2003 08:22:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 16 Jan 2003 08:22:24 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Z5I5-0007YG-00 for ; Thu, 16 Jan 2003 09:22:21 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18Z5Qv-0005Xh-00 for ; Thu, 16 Jan 2003 09:31:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Z5Hd-0000cB-03 for emacs-devel@quimby.gnus.org; Thu, 16 Jan 2003 03:21:53 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18Z5HA-0008Sh-00 for emacs-devel@gnu.org; Thu, 16 Jan 2003 03:21:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18Z5Gz-0007vN-00 for emacs-devel@gnu.org; Thu, 16 Jan 2003 03:21:15 -0500 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18Z5Gv-0007j9-00 for emacs-devel@gnu.org; Thu, 16 Jan 2003 03:21:09 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Z5Fb-0007Rq-00 for ; Thu, 16 Jan 2003 09:19:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 18Z5Fa-0007Rh-00 for ; Thu, 16 Jan 2003 09:19:46 +0100 Original-Path: not-for-mail Original-Lines: 18 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090013 (Oort Gnus v0.13) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:/+6qgiQZQz30TvzgelSC/YG4Dvg= X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10778 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10778 kai.grossjohann@uni-duisburg.de (Kai Großjohann) writes: > I think it might help to change the behavior of the word-based > commands, as follows: Right now, M-f positions point after the end of > the next word. If there are non-word characters at point, those are > skipped first. I think it might help to change M-f as follows: if > there are non-word characters at point, skip past them but no > further. The behavior of M-b would be the same: if at a non-word > character, skip past the chunk of non-word characters but no further. Another alternative would be to consider each non-word character (that is not whitespace) a `word' in its own right. I think this is what C-w does in isearch-mode. So there is precedence for this behavior in Emacs. Still looking for opinions... -- Ambibibentists unite!