From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elena Newsgroups: gmane.emacs.help Subject: Re: Changing behavior of backward-word? Date: Tue, 9 Nov 2010 13:31:54 -0800 (PST) Organization: http://groups.google.com Message-ID: <4ad0632b-5006-4a64-a7d8-a021bc0ad3f1@g25g2000yqn.googlegroups.com> References: <3ef2f793-2ada-4fe1-9ff8-51104e5f1bc0@26g2000yqv.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291888862 21732 80.91.229.12 (9 Dec 2010 10:01:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 10:01:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 11:00:58 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQdJ4-0002ja-B5 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 11:00:58 +0100 Original-Received: from localhost ([127.0.0.1]:53451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQdJ2-0007DA-Jn for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 05:00:57 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!g25g2000yqn.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 12 Original-NNTP-Posting-Host: 94.36.134.124 Original-X-Trace: posting.google.com 1289338314 21078 127.0.0.1 (9 Nov 2010 21:31:54 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 9 Nov 2010 21:31:54 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: g25g2000yqn.googlegroups.com; posting-host=94.36.134.124; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) Gecko/2010102906 Iceweasel/3.0.6 (Debian-3.0.6-3),gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:182295 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:76941 Archived-At: On Oct 31, 10:27=A0pm, Johan Json wrote: > Afterthought, would this possibly break other user modes dependant on > key M-b and/or 'backward-word'? It would not. This is basic Emacs customization. Here is the code: (defun my-backward-word () (interactive) (backward-word) (backward-char)) (global-set-key (kbd "M-b") #'my-backward-word)