From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23887: 25.1.50; Detect aliases to built-in functions Date: Sat, 09 Jul 2016 13:50:36 +0300 Message-ID: <83k2gvgk5f.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1468061557 23457 80.91.229.3 (9 Jul 2016 10:52:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jul 2016 10:52:37 +0000 (UTC) Cc: 23887@debbugs.gnu.org To: Tino Calancha Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 09 12:52:25 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bLps0-0005jw-AT for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 12:52:24 +0200 Original-Received: from localhost ([::1]:49786 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLprz-0000Td-Fn for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jul 2016 06:52:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41717) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLpqi-0008K8-Lu for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 06:51:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLpqg-0007qm-M1 for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 06:51:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59144) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLpqg-0007qi-JA for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 06:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bLpqg-0002WQ-EO for bug-gnu-emacs@gnu.org; Sat, 09 Jul 2016 06:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jul 2016 10:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23887 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23887-submit@debbugs.gnu.org id=B23887.14680614559682 (code B ref 23887); Sat, 09 Jul 2016 10:51:02 +0000 Original-Received: (at 23887) by debbugs.gnu.org; 9 Jul 2016 10:50:55 +0000 Original-Received: from localhost ([127.0.0.1]:43248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLpqZ-0002W6-Gm for submit@debbugs.gnu.org; Sat, 09 Jul 2016 06:50:55 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50707) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bLpqY-0002Vt-3H for 23887@debbugs.gnu.org; Sat, 09 Jul 2016 06:50:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bLpqP-0007ps-SJ for 23887@debbugs.gnu.org; Sat, 09 Jul 2016 06:50:48 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38263) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bLpqP-0007pj-PM; Sat, 09 Jul 2016 06:50:45 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1512 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bLpqN-0006Xw-6s; Sat, 09 Jul 2016 06:50:43 -0400 In-reply-to: (message from Tino Calancha on Sun, 3 Jul 2016 18:13:02 +0900 (JST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:120668 Archived-At: > From: Tino Calancha > Date: Sun, 3 Jul 2016 18:13:02 +0900 (JST) > > emacs -Q > > F1 f search-forward-regexp RET > ;; First line don't mention that the func is an alias > ;; Compare, for instance, with > F1 f chmod RET > > > ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > >From 48dcc336e96bbd22250eaee7e3a46c91b7ede1a1 Mon Sep 17 00:00:00 2001 > From: Tino Calancha > Date: Sun, 3 Jul 2016 18:01:24 +0900 > Subject: [PATCH] Detect aliases to built-in functions > > * lisp/help-fns.el (describe-function-1): Check for aliases > defined with (defalias alias (symbol-function built-in)) (Bug#23887). Thanks, please push to master (and uncomment the test that presently fails).