🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #1857

Re: help on binding a function

#1857
From: Jerry
Date: Mon, 23 Nov 1992 21:47
27 lines
1109 bytes
elton huang on November 20 wrote:
-> I want to bind
-> 
-> switch to Buffer: *Buffer List*
-> 
-> to a key. Does anyone has a quick answer ?
-> I will appreciate. E-mail please.

Keyboard macros should help. Try:

  C-x ( C-x b *Buffer List* RET C-x )

followed by

  M-x name-last-kbd-macro RET switch-to-buffer-list RET
  M-x global-set-key RET M-o switch-to-buffer-list RET
  C-x C-f ~/.emacs RET M->
  C-u M-x insert-kbd-macro RET switch-to-buffer-list RET C-x C-s C-x k RET

which should bind M-o to do just what you asked.


Enjoy.  -Jerry

To find out about macros do:

  C-h i m Emacs RET m Keyboard Macros RET
Technical Details
Message-ID: <9211232147.AA09462@banach>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!math.ep.utexas.EDU!jerry
References: <1992Nov20.013028.26770@cbfsb.cb.att.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.help
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!math.ep.utexas.EDU!jerry
From: jerry@math.ep.utexas.EDU (Jerry)
Subject: Re: help on binding a function
Message-ID: <9211232147.AA09462@banach>
Sender: daemon@cis.ohio-state.edu
Organization: Department of Mathematical Sciences--University of Texas at El Paso
References: <1992Nov20.013028.26770@cbfsb.cb.att.com>
Date: Mon, 23 Nov 1992 21:47:53 GMT
Lines: 27