From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#6690: 24.0.50; tmm-get-keymap is broken Date: Wed, 21 Jul 2010 08:12:02 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1279726268 30916 80.91.229.12 (21 Jul 2010 15:31:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 21 Jul 2010 15:31:08 +0000 (UTC) To: 6690@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 21 17:31:07 2010 Return-path: Envelope-to: geb-bug-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 1ObbG9-0005g8-9L for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 17:31:02 +0200 Original-Received: from localhost ([127.0.0.1]:48190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObbG7-0003tF-IV for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Jul 2010 11:30:59 -0400 Original-Received: from [140.186.70.92] (port=48224 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObbFx-0003rs-K3 for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:30:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ObbFw-0002ga-Bk for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:30:49 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49164) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObbFw-0002gW-AS for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:30:48 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ObbAM-0006Ov-8L; Wed, 21 Jul 2010 11:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Jul 2010 15:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6690 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Original-Received: via spool by submit@debbugs.gnu.org id=B.127972587824592 (code B ref -1); Wed, 21 Jul 2010 15:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 21 Jul 2010 15:24:38 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obb9y-0006Oa-HE for submit@debbugs.gnu.org; Wed, 21 Jul 2010 11:24:38 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obb9v-0006OR-J7 for submit@debbugs.gnu.org; Wed, 21 Jul 2010 11:24:35 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:42434) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ObbAM-0000cY-8B for submit@debbugs.gnu.org; Wed, 21 Jul 2010 11:25:02 -0400 Original-Received: from [140.186.70.92] (port=47497 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ObbAJ-0002Eq-FC for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:25:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Obaxw-0007mR-46 for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:12:12 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:29849) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Obaxv-0007mK-U2 for bug-gnu-emacs@gnu.org; Wed, 21 Jul 2010 11:12:12 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o6LFCAF4023117 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 21 Jul 2010 15:12:11 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o6LDAShe014955 for ; Wed, 21 Jul 2010 15:12:09 GMT Original-Received: from abhmt020.oracle.com by acsmt354.oracle.com with ESMTP id 445985561279725123; Wed, 21 Jul 2010 08:12:03 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 21 Jul 2010 08:12:02 -0700 X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acso5xKTKCCrMzmkRNKi/Z19ZTWwpQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 X-Source-IP: acsmt355.oracle.com [141.146.40.155] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090202.4C470E4A.0042:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 21 Jul 2010 11:25:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38725 Archived-At: emacs -Q In several of the `cond' branches the variable `str' is not defined, so it is nil from the `let' default initialization. Then this code raises an error "Wrong type argument: stringp, nil", since `str' is not a string: (unless (eq km 'ignore) (let ((binding (where-is-internal km nil t))) (when binding (setq binding (key-description binding)) ;; Try to align the keybindings. (let ((colwidth (min 30 (- (/ (window-width) 2) 10)))) ;; STR is nil - so cannot use `string-width' or `concat'. (setq str (concat str (make-string (max 2 (- colwidth (string-width str) (string-width binding))) ?\s) binding)))))) In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2010-07-19 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/xpm/include'