From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: deech Newsgroups: gmane.emacs.help Subject: Re: Making Backspace Work Like VI Date: Sat, 5 Dec 2009 06:16:38 -0800 (PST) Organization: http://groups.google.com Message-ID: References: <6f039074-adcd-43d5-af6a-beed5f7a4289@z41g2000yqz.googlegroups.com> <8bb27244-8fce-477a-8534-38c72930d48d@m26g2000yqb.googlegroups.com> <87pr6ucx3w.fsf@kobe.laptop> 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: ger.gmane.org 1260024068 6033 80.91.229.12 (5 Dec 2009 14:41:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 14:41:08 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 05 15:41:02 2009 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.50) id 1NGvoj-0001Uk-Hy for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 15:41:01 +0100 Original-Received: from localhost ([127.0.0.1]:49461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGvoj-0000cL-6X for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Dec 2009 09:41:01 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!19g2000vbq.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-NNTP-Posting-Host: 71.11.140.210 Original-X-Trace: posting.google.com 1260022598 28820 127.0.0.1 (5 Dec 2009 14:16:38 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 5 Dec 2009 14:16:38 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: 19g2000vbq.googlegroups.com; posting-host=71.11.140.210; posting-account=iIbT1QoAAAAvuMyxrxgetIu9BJhvSidP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:175361 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:70435 Archived-At: On Dec 5, 2:04=A0am, Kevin Rodgers wrote: > Giorgos Keramidas wrote: > > On Fri, 4 Dec 2009 11:13:09 -0800 (PST), deech = wrote: > >> Ok, I found overwrite-mode which replaces text instead of inserting. > >> But how do I make backspace move left instead of deleting? > > > You could install a new local keymap when overwrite-mode is enabled and > > bind backspace to 'backward-char. > > Local keymaps are for major modes. =A0For minor modes like overwrite-mode= , > use minor-mode-map-alist. > > -- > Kevin Rodgers > Denver, Colorado, USA Could you show me how to use the minor-mode-map-alist? My google search wasn't particularly revealing. -deech