From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Dziulko Newsgroups: gmane.emacs.help Subject: Re: insert/overwrite-mode toggle Date: Fri, 25 Oct 2002 08:19:32 -0400 (EDT) Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: main.gmane.org 1035548532 14510 80.91.224.249 (25 Oct 2002 12:22:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 25 Oct 2002 12:22:12 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1853Te-0003ll-00 for ; Fri, 25 Oct 2002 14:22:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 1853S2-0001bA-00; Fri, 25 Oct 2002 08:20:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 1853RO-0000tq-00 for help-gnu-emacs@gnu.org; Fri, 25 Oct 2002 08:19:50 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 1853RH-0000cL-00 for help-gnu-emacs@gnu.org; Fri, 25 Oct 2002 08:19:46 -0400 Original-Received: from [138.92.8.100] (helo=klaatu.canisius.edu) by monty-python.gnu.org with esmtp (Exim 4.10) id 1853RG-0008Ra-00 for help-gnu-emacs@gnu.org; Fri, 25 Oct 2002 08:19:43 -0400 Original-Received: from localhost (dziulko@localhost) by klaatu.canisius.edu (8.11.2/8.11.2) with ESMTP id g9PCJWD11025 for ; Fri, 25 Oct 2002 08:19:32 -0400 Original-To: In-Reply-To: Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:2922 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:2922 Start emacs and go to the *scratch* buffer. Press Control-q. Now hit your insert key. You will see some weird characters, something like ^[[1~. Remember those characters. Then in you .emacs file, put in a line like: (global-set-key "\e[1~" 'overwrite-mode) where the [1~ are the characters you remembered, minus the first ^[. Hope this helps. Kevin On Thu, 24 Oct 2002, CarlC wrote: > I am wanting to have my insert key toggle between insert and overwrite. I > imagine someone out there is already doing this? Thanks. > > > _______________________________________________ > Help-gnu-emacs mailing list > Help-gnu-emacs@gnu.org > http://mail.gnu.org/mailman/listinfo/help-gnu-emacs >