From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.bugs Subject: bug#690: 23.0.60; Function origin file misremembered Date: Mon, 11 Aug 2008 12:23:00 +0200 Message-ID: <48A01304.5090602@gmail.com> References: <20080811004345.11BDDA1B802@mt-computer.local> <489FF80C.8050209@gmx.at> <48A0098F.6090804@gmx.at> Reply-To: "Lennart Borgman \(gmail\)" , 690@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218451740 10296 80.91.229.12 (11 Aug 2008 10:49:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 11 Aug 2008 10:49:00 +0000 (UTC) Cc: Markus Triska To: martin rudalics , 690@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 11 12:49:51 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 1KSUyD-00050V-Il for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 12:49:50 +0200 Original-Received: from localhost ([127.0.0.1]:34131 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSUxH-0001Lr-1J for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 Aug 2008 06:48:51 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KSUw4-0000Lt-6N for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 06:47:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KSUvz-0000H8-V0 for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 06:47:35 -0400 Original-Received: from [199.232.76.173] (port=50750 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KSUvz-0000GZ-IU for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 06:47:31 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51832) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KSUvy-0007wS-9f for bug-gnu-emacs@gnu.org; Mon, 11 Aug 2008 06:47:31 -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 m7BAlOmB009730; Mon, 11 Aug 2008 03:47:24 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7BAU6w3004174; Mon, 11 Aug 2008 03:30:06 -0700 X-Loop: don@donarmstrong.com Resent-From: "Lennart Borgman (gmail)" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 11 Aug 2008 10:30:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 690 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 690-submit@emacsbugs.donarmstrong.com id=B690.12184501902302 (code B ref 690); Mon, 11 Aug 2008 10:30:05 +0000 Original-Received: (at 690) by emacsbugs.donarmstrong.com; 11 Aug 2008 10:23:10 +0000 Original-Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7BAN7OT002296 for <690@emacsbugs.donarmstrong.com>; Mon, 11 Aug 2008 03:23:08 -0700 Original-Received: from c83-254-151-176.bredband.comhem.se ([83.254.151.176]:61823 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1KSUYM-0001pE-4a; Mon, 11 Aug 2008 12:23:06 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666 In-Reply-To: <48A0098F.6090804@gmx.at> X-Antivirus: avast! (VPS 080809-0, 2008-08-09), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.151.176 X-Scan-Result: No virus found in message 1KSUYM-0001pE-4a. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1KSUYM-0001pE-4a 9b8f959163d8f774d54c994c7c6f6ba8 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 11 Aug 2008 06:47:35 -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:19287 Archived-At: martin rudalics wrote: > >> Could you please try to instrument the function `find-source-lisp-file' > >> (in help-fns.el) for debugging before you do C-h f and tell me what it > >> finds? > > > > `describe-simplify-lib-file-name' already converts "/Users/mt/prolog.el" > > to "prolog.el", which I think it should not do to preserve the origin. > > `find-source-lisp-file' then expands it to the Emacs source file. > > Maybe. Any ideas how to do that without breaking the rest of the code? > > IIUC the problem is with `find-source-lisp-file' which searches for an > `elc-file' that does not exist for _your_ prolog.el, finds the compiled, > built-in one instead, ... How about checking file mod time?