From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Sherbert Newsgroups: gmane.emacs.help Subject: Binding actions to key up/down events Date: Tue, 18 Jul 2006 11:45:44 -0700 (PDT) Message-ID: <5384051.post@talk.nabble.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1153249452 26971 80.91.229.2 (18 Jul 2006 19:04:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Jul 2006 19:04:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 18 21:04:09 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1G2urS-00048J-0X for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jul 2006 21:04:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2urR-0001Gk-Jf for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jul 2006 15:04:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1G2urE-0001Gc-Tw for help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 15:03:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1G2urE-0001GQ-IV for Help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 15:03:48 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1G2urE-0001GN-Ct for Help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 15:03:48 -0400 Original-Received: from [72.21.53.35] (helo=talk.nabble.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1G2uuB-000458-2A for Help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 15:06:51 -0400 Original-Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1G2urC-0007z2-SE for Help-gnu-emacs@gnu.org; Tue, 18 Jul 2006 12:03:46 -0700 Original-To: Help-gnu-emacs@gnu.org X-Nabble-Sender: stephensherbert@yahoo.com X-Nabble-From: Stephen Sherbert 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:36054 Archived-At: I would like to emulate ctrl-tab style buffer switching like used in many Windows applications. I have found many customizations out there that do something similar, but one important element is missing. To achieve what I want, I would need to bind an action to a key up event, such as when the CTRL key is released. For example, C-TAB would cycle through buffers, and once I find the one I want, I release the CTRL key which puts the chosen buffer at the top of a stack. Only upon relasing the key does it modify the stack. Is this possible in GNU Emacs (I use version 22)? How? Thanks -- View this message in context: http://www.nabble.com/Binding-actions-to-key-up-down-events-tf1962326.html#a5384051 Sent from the Emacs - Help forum at Nabble.com.