From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#12149: 24.1; `C-h f' is worse and worse at telling where a function was defined Date: Thu, 28 Apr 2016 18:20:14 +0200 Message-ID: <87a8kd903l.fsf@gnus.org> References: <28819A29BB374779AEEA60B7FF63A25B@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1461860482 12001 80.91.229.3 (28 Apr 2016 16:21:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 28 Apr 2016 16:21:22 +0000 (UTC) Cc: 12149@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 28 18:21:11 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 1avogg-0002lp-Ow for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 18:21:10 +0200 Original-Received: from localhost ([::1]:50035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avogg-0001yM-9U for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Apr 2016 12:21:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58022) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avogb-0001vJ-SA for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 12:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avogY-0006Qw-J2 for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 12:21:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41052) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avogY-0006Qs-Fe for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 12:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1avogY-0001ny-9S for bug-gnu-emacs@gnu.org; Thu, 28 Apr 2016 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Apr 2016 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12149 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12149-submit@debbugs.gnu.org id=B12149.14618604206872 (code B ref 12149); Thu, 28 Apr 2016 16:21:02 +0000 Original-Received: (at 12149) by debbugs.gnu.org; 28 Apr 2016 16:20:20 +0000 Original-Received: from localhost ([127.0.0.1]:53389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avofs-0001mk-GW for submit@debbugs.gnu.org; Thu, 28 Apr 2016 12:20:20 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:60319) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avofq-0001mc-BQ for 12149@debbugs.gnu.org; Thu, 28 Apr 2016 12:20:19 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avofn-0004pM-S3; Thu, 28 Apr 2016 18:20:17 +0200 In-Reply-To: <28819A29BB374779AEEA60B7FF63A25B@us.oracle.com> (Drew Adams's message of "Mon, 6 Aug 2012 10:49:15 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) 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:117090 Archived-At: "Drew Adams" writes: > In Emacs prior to Emacs 23, `C-h f' did not point to the wrong files > as having defined these function. At least it did not lie and steer > you wrong. > > Emacs 23.4 did not point to the wrong file for `y-or-n-p', but it did > point to the wrong file for `top-level'. > > Emacs 24.1 gets them both wrong. It simply gives the original location > (from emacs -Q) for each of them: `C source code' for `top-level' and > `subr.el' for `y-or-n-p'. This is not good. Better to say "no idea" > than to mislead the user this way. (progn (defun yes-or-no-p (prompt) (y-or-n-p prompt)) (describe-function 'yes-or-no-p)) => yes-or-no-p is a Lisp function. (yes-or-no-p PROMPT) Not documented. So I seem to be unable to reproduce this bug. Are you still seeing it? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no