From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Why is this-command-keys missing? Date: Sat, 1 Jan 2011 19:59:26 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1293908399 5041 80.91.229.12 (1 Jan 2011 18:59:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 1 Jan 2011 18:59:59 +0000 (UTC) To: Emacs-Devel devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jan 01 19:59:54 2011 Return-path: Envelope-to: ged-emacs-devel@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 1PZ6gD-0007je-Fu for ged-emacs-devel@m.gmane.org; Sat, 01 Jan 2011 19:59:53 +0100 Original-Received: from localhost ([127.0.0.1]:45650 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ6gD-0000Ii-4p for ged-emacs-devel@m.gmane.org; Sat, 01 Jan 2011 13:59:53 -0500 Original-Received: from [140.186.70.92] (port=39721 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZ6g8-0000Id-ST for emacs-devel@gnu.org; Sat, 01 Jan 2011 13:59:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PZ6g8-0003b9-0f for emacs-devel@gnu.org; Sat, 01 Jan 2011 13:59:48 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:40328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PZ6g7-0003b5-Qg for emacs-devel@gnu.org; Sat, 01 Jan 2011 13:59:47 -0500 Original-Received: by eyh6 with SMTP id 6so2528494eyh.0 for ; Sat, 01 Jan 2011 10:59:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=JqufNBN2d83FYAwgGIC35MeVJZQx9Gh6hZe5OqeMfGM=; b=XYGXn6SGni1LNoT8NuSoD1whTLhE73ZhHexeLmnVw2Gn6TTccimt+OeTTt+v5gbFs2 mEoPEza39DypsiIBrG+CLbH3+J4A0jsHV64Pe5y7TrJPBCmbLjfb2835Yc1NsbzZgmvP CXtakW8Snw5LT5azluD9n2BViiXAGFv6jog9Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=qltGpXP84Sx+pLMdkFaNxWGIyNh+75vHOCXmIs/g0ESEHEbDKHV+1nfr3RSmARgRd5 8Hkh33m5tT5MlhCL5PqPsZ2vXkeYpac/eNuA3h2OJUUGRFypLTMPqH/7TJsMg0ipc5O6 YWZ2RN3MkwuSbMEpbBik13H2slKTtX7mzT9Qs= Original-Received: by 10.213.2.198 with SMTP id 6mr4118079ebk.71.1293908386732; Sat, 01 Jan 2011 10:59:46 -0800 (PST) Original-Received: by 10.213.20.148 with HTTP; Sat, 1 Jan 2011 10:59:26 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:134126 Archived-At: compilation-mode binds (define-key map "\t" 'compilation-next-error) You can use TAB to go to next error because of this. However if you hit TAB then this-command-keys will contain (something similar to) TAB and not "\t". So you can't do (key-binding (this-command-keys) t) to get back the binding that is really active, i.e. compilation-next-error. What are you supposed to do in a case like this to get back the key binding compilation-next-error?