From owner-ntemacs-users@june Tue Feb 11 11:00:41 1997 X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] [nil "Tue" "11" "February" "1997" "10:22:22" "-0800" "Bret Mogilefsky" "someone@somewhere" nil "60" "RE: Need help changing the binding of HOME and END keys..." "^From:" nil nil "2" nil nil nil nil] nil) Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id KAA11745 for ; Tue, 11 Feb 1997 10:58:38 -0800 Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id KAA23801 for ; Tue, 11 Feb 1997 10:58:37 -0800 Received: from imdaar.somewhere.com ([204.71.70.11]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id KAA07495 for ; Tue, 11 Feb 1997 10:19:43 -0800 Received: from somewhere.com (daemon@localhost) by imdaar.somewhere.com (8.6.12/8.6.12) with UUCP id SAA18484 for ntemacs-users@cs.washington.edu; Tue, 11 Feb 1997 18:18:03 GMT Received: from coruscant.somewhere.com ([144.0.200.33]) by fandango.somewhere.com (8.6.12/8.6.12) with SMTP id KAA28716 for ; Tue, 11 Feb 1997 10:22:05 -0800 Received: by coruscant.somewhere.com with SMTP (Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63) id <01BC1804.581617F0@coruscant.somewhere.com>; Tue, 11 Feb 1997 10:14:19 -0800 Message-ID: X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.0.994.63 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: Bret Mogilefsky To: "'ntemacs-users@cs.washington.edu'" , "'Jim DeMarco'" Subject: RE: Need help changing the binding of HOME and END keys... Date: Tue, 11 Feb 1997 10:22:22 -0800 The individual keybindings people are replying with are all well and good, but it sounds like Jim might be better off using pc-select: pc-selection-mode: an interactive compiled Lisp function in `pc-select'. (pc-selection-mode) Change mark behaviour to emulate motif, MAC or MS-Windows cut and paste style. This mode will switch on delete-selection-mode and transient-mark-mode. The cursor keys (and others) are bound to new functions which will modify the status of the mark. It will be possible to select regions with shift-cursorkeys. All this tries to emulate the look-and-feel of GUIs like motif, the MAC GUI or MS-Windows (sorry for the last one). It's frustrating to switch back and forth between GUI bindings, and since I can't change the other apps to use Emacs-style bindings, I use this all the time... The bindings you want are among those it mentions. With all of the other standardized system settings available to an app such as border color, menu font, etc etc etc, why couldn't Microsoft provide one centralized place for users to change Microsoft's keybindings across all apps?? Bret -- "Why, that's the second biggest monkey head I've ever seen!" --Guybrush "LeChuck's dead. I blew him into a million gooey pieces." --Guybrush Bret Mogilefsky ** someone@somewhere ** Programmer, LucasArts >---------- >From: Jim DeMarco[SMTP:jim@guesswork.com] >Sent: Tuesday, February 11, 1997 1:17 AM >To: ntemacs-users@cs.washington.edu >Subject: Need help changing the binding of HOME and END keys... > >Hi! > >I would like to change the bindings for the HOME and END keys on >ntemacs. Could someone please provide the correct global-set-key >lines to do this in my _emacs file? > >Essentially, what I'm looking for is the correct ntemacs versions of >the following lines: > >(global-set-key "homekey" 'beginning-of-line) >(global-set-key "endkey" 'end-of-line) >(global-set-key "\C-homekey" 'beginning-of-buffer) >(global-set-key "\C-endkey" 'end-of-buffer) > >Thanks! >--Jim > From owner-ntemacs-users@june Wed Feb 12 06:18:11 1997 X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] [nil "Wed" "12" "February" "1997" "08:15:42" "-0500" "RAY RIZZUTO" "RAY.RIZZUTO@gsnetworks.gensig.com" nil "70" "Re[2]: Need help changing the binding of HOME and END keys.." "^From:" nil nil "2" nil nil nil nil] nil) Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id GAA27791 for ; Wed, 12 Feb 1997 06:18:10 -0800 Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id GAA21457 for ; Wed, 12 Feb 1997 06:18:09 -0800 Received: from server.gensig.com (server.gensig.com [204.242.12.50]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id FAA24646 for ; Wed, 12 Feb 1997 05:46:07 -0800 Received: by server.gensig.com; id IAA05462; Wed, 12 Feb 1997 08:29:47 -0500 (EST) Received: from unknown(136.248.210.71) by server.gensig.com via smap (3.2) id xmaa05443; Wed, 12 Feb 97 08:29:42 -0500 Received: from ccMail by smtpgss.gensig.com (IMA Internet Exchange 2.0 Enterprise) id 301C8E61; Wed, 12 Feb 97 08:43:02 -0500 Mime-Version: 1.0 Message-ID: <301C8E61.1645@gsnetworks.gensig.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Description: cc:Mail note part From: RAY.RIZZUTO@gsnetworks.gensig.com To: "'ntemacs-users@cs.washington.edu'" , "'Jim DeMarco'" , Bret Mogilefsky Subject: Re[2]: Need help changing the binding of HOME and END keys.. Date: Wed, 12 Feb 1997 08:15:42 -0500 There's also a pc-bindings-mode which may give the behavior he's looking for. ______________________________ Reply Separator _________________________________ Subject: RE: Need help changing the binding of HOME and END keys... Author: Bret Mogilefsky at Internet2 Date: 2/11/97 10:22 AM The individual keybindings people are replying with are all well and good, but it sounds like Jim might be better off using pc-select: pc-selection-mode: an interactive compiled Lisp function in `pc-select'. (pc-selection-mode) Change mark behaviour to emulate motif, MAC or MS-Windows cut and paste style. This mode will switch on delete-selection-mode and transient-mark-mode. The cursor keys (and others) are bound to new functions which will modify the status of the mark. It will be possible to select regions with shift-cursorkeys. All this tries to emulate the look-and-feel of GUIs like motif, the MAC GUI or MS-Windows (sorry for the last one). It's frustrating to switch back and forth between GUI bindings, and since I can't change the other apps to use Emacs-style bindings, I use this all the time... The bindings you want are among those it mentions. With all of the other standardized system settings available to an app such as border color, menu font, etc etc etc, why couldn't Microsoft provide one centralized place for users to change Microsoft's keybindings across all apps?? Bret -- "Why, that's the second biggest monkey head I've ever seen!" --Guybrush "LeChuck's dead. I blew him into a million gooey pieces." --Guybrush Bret Mogilefsky ** someone@somewhere ** Programmer, LucasArts >---------- >From: Jim DeMarco[SMTP:jim@guesswork.com] >Sent: Tuesday, February 11, 1997 1:17 AM >To: ntemacs-users@cs.washington.edu >Subject: Need help changing the binding of HOME and END keys... > >Hi! > >I would like to change the bindings for the HOME and END keys on >ntemacs. Could someone please provide the correct global-set-key >lines to do this in my _emacs file? > >Essentially, what I'm looking for is the correct ntemacs versions of >the following lines: > >(global-set-key "homekey" 'beginning-of-line) >(global-set-key "endkey" 'end-of-line) >(global-set-key "\C-homekey" 'beginning-of-buffer) >(global-set-key "\C-endkey" 'end-of-buffer) > >Thanks! >--Jim >