From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: John Russell Newsgroups: gmane.emacs.help Subject: Re: replace C-s with C-f Date: Mon, 17 Feb 2003 22:15:36 -0500 Organization: Cisco Systems Inc. Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1045538914.415523@sj-nntpcache-3> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1045538958 1186 80.91.224.249 (18 Feb 2003 03:29:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Feb 2003 03:29:18 +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 18kyRY-0000Iz-00 for ; Tue, 18 Feb 2003 04:29:16 +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 18kySv-0006ij-04 for gnu-help-gnu-emacs@m.gmane.org; Mon, 17 Feb 2003 22:30:41 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!gestalt.direcpc.com!telocity-west!DIRECTV!sn-xit-03!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030203 X-Accept-Language: en-us, en In-Reply-To: X-Enigmail-Version: 0.71.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Cache-Post-Path: sj-nntpcache-3!unknown@ssh-rtp-1.cisco.com X-Cache: nntpcache 2.4.0b2 (see http://www.nntpcache.org/) Original-X-Complaints-To: abuse@supernews.com Original-Lines: 39 Original-Xref: shelby.stanford.edu gnu.emacs.help:110320 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6822 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6822 > Here is a sniplet from my init file. It's commented out, because I've wholly > given up on making Emacs work how I wish. It's obviously much smarter than > me. I'd advise you to do the same. ;) ... I've been reading this thread and I just wanted to chime in because I'm nosy and can't help myself. Pretty much all of the keybindings talked about here exists as standard emacs key-bindings. I suppose that it is a matter of preference, but in my experience of trying to to reset standard emacs keys, I always find myself stepping on other cool keybindings which I have to remap to other keybidings which step on other cool keybindings ......... I know that emacs is way smarter than I am. I've decided that someone put the keybindings there because they just work. Just a thought. > > ;*old code* >>>>>>>>>>>>>>>>>>> > ;(global-set-key [(control f)] 'isearch-forward-regexp) > ;(global-set-key [(control F)] 'isearch-backward-regexp) > ;(global-set-key [(control r)] 'query-replace-regexp) > > ;(mapcar > ; '(lambda (map) > ; (define-key map [(control f)] 'isearch-repeat-forward) > ; (define-key map [(control F)] 'isearch-repeat-backward) > ; (define-key map [(tab)] 'isearch-complete) > ; (define-key map [(control s)] (lookup-key > ; global-map > ; [(control s)])) > ; (define-key map [(control r)] (lookup-key > ; global-map > ; [(control r)]))) > ; (list isearch-mode-map minibuffer-local-isearch-map)) > > -- > Le