From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Elena Newsgroups: gmane.emacs.help Subject: Short-circuiting keybindings? Date: Tue, 9 Nov 2010 13:06:24 -0800 (PST) Organization: http://groups.google.com Message-ID: <614cd66c-4814-4f58-89b7-cfdc067cc620@d8g2000yqf.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1291888467 19834 80.91.229.12 (9 Dec 2010 09:54:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 09:54:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Dec 09 10:54:23 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQdCh-0007P1-3P for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 10:54:23 +0100 Original-Received: from localhost ([127.0.0.1]:39757 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQdCf-0005j6-37 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 04:54:21 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!d8g2000yqf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 9 Original-NNTP-Posting-Host: 94.36.134.124 Original-X-Trace: posting.google.com 1289336784 8125 127.0.0.1 (9 Nov 2010 21:06:24 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 9 Nov 2010 21:06:24 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d8g2000yqf.googlegroups.com; posting-host=94.36.134.124; posting-account=AFCLjAoAAABJAOf_HjgEEEi3ty-lG5m2 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.19) Gecko/2010102906 Iceweasel/3.0.6 (Debian-3.0.6-3),gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:182292 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:76937 Archived-At: Hello, is there a generic way to create "short-circuiting" keybindings? I mean: let's say I want "C-b" to issue a command only whenever a condition is met, otherwise if "C-b" is a prefix key then Emacs should continue listening for keystrokes and execute commands when appropriate. Any idea? Thanks.