From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#669: 23.0.60; defalias is not taken into account by C-h k Date: Thu, 7 Aug 2008 13:54:05 -0700 Message-ID: <003201c8f8cf$bafb9df0$c2b22382@us.oracle.com> References: <002201c8f8ba$a2eebea0$c2b22382@us.oracle.com> Reply-To: Drew Adams , 669@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218143286 15308 80.91.229.12 (7 Aug 2008 21:08:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 Aug 2008 21:08:06 +0000 (UTC) To: <669@emacsbugs.donarmstrong.com>, Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 07 23:08:57 2008 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.50) id 1KRCj7-0000fw-3R for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 23:08:53 +0200 Original-Received: from localhost ([127.0.0.1]:57476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRCiB-0006K9-0k for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Aug 2008 17:07:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KRChj-00068x-Vr for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 17:07:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KRChi-00067Y-Ri for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 17:07:27 -0400 Original-Received: from [199.232.76.173] (port=55189 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KRChi-00067O-8k for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 17:07:26 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59804) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRChh-0001Fn-M7 for bug-gnu-emacs@gnu.org; Thu, 07 Aug 2008 17:07:26 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77L7NVP024928; Thu, 7 Aug 2008 14:07:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m77L04sk021509; Thu, 7 Aug 2008 14:00:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Drew Adams" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 07 Aug 2008 21:00:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 669 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121814248319817 (code B ref -1); Thu, 07 Aug 2008 21:00:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Aug 2008 20:54:43 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m77KsdvS019811 for ; Thu, 7 Aug 2008 13:54:41 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:40334 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KRCUJ-0000WK-Dt for emacs-pretest-bug@gnu.org; Thu, 07 Aug 2008 16:53:35 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KRCVH-0007yJ-AV for emacs-pretest-bug@gnu.org; Thu, 07 Aug 2008 16:54:38 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:46192) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KRCVF-0007wk-OT for emacs-pretest-bug@gnu.org; Thu, 07 Aug 2008 16:54:35 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m77KsCrD017745; Thu, 7 Aug 2008 14:54:13 -0600 Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m77EOBGf000546; Thu, 7 Aug 2008 14:54:11 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt358.oracle.com with ESMTP id 11305311371218142441; Thu, 07 Aug 2008 15:54:01 -0500 Original-Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 07 Aug 2008 13:54:01 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <002201c8f8ba$a2eebea0$c2b22382@us.oracle.com> Thread-Index: Acj4uqKgNgrAV73kQWKgxRspvmro3QAFFltA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-CrossAssassin-Score: 2 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 07 Aug 2008 17:07:26 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list 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:19119 gmane.emacs.pretest.bugs:22803 Archived-At: If you use (defalias 'lisp-complete-symbol 'foo) instead, then this is output: M-TAB (translated from ) runs the command lisp-complete-symbol, which is an alias for `foo' in `lisp.el'. It is bound to M-TAB. (lisp-complete-symbol &optional predicate) This is still wrong, because `foo' is not in `lisp.el' (and the defalias is not in `lisp.el'). This bug appears as far back as Emacs 20.7. > From: Drew Adams Sent: Thursday, August 07, 2008 11:23 AM > emacs -Q > > (defun foo (&optional predicate) > "" (interactive) (message "FOO")) > > (defalias 'lisp-complete-symbol (symbol-function 'foo)) > > C-h k then shows this, which is 100% wrong: > > M-TAB (translated from ) runs the command > lisp-complete-symbol, which is an interactive Lisp function in > `lisp.el'. > > It is bound to M-TAB. > > (lisp-complete-symbol &optional predicate) > > > > In GNU Emacs 23.0.60.1 (i386-mingw-nt5.1.2600) > of 2008-08-01 on LENNART-69DE564 > Windowing system distributor `Microsoft Corp.', version 5.1.2600 > configured using `configure --with-gcc (3.4) --no-opt > --cflags -Ic:/g/include > -fno-crossjumping' > > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: ENU > value of $XMODIFIERS: nil > locale-coding-system: cp1252 > default-enable-multibyte-characters: t > > Major mode: Emacs-Lisp > > Minor modes in effect: > tooltip-mode: t > tool-bar-mode: t > mouse-wheel-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > global-auto-composition-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > line-number-mode: t > transient-mark-mode: t > > Recent input: > C-x C-f t h r o w - r r r r . e l > ( d e f u n SPC f o o SPC > ( > > C-h f l i s p - > > l i s p - c o m p l e t e - > s y m b o l > > > > > > >