From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#6716: 23.2; Setting `find-function-source-path' has no effect. Date: Mon, 26 Jul 2010 23:44:20 +0200 Message-ID: References: <874ofpqeiu.fsf@gmail.com> <87zkxeev1d.fsf@gmail.com> <87mxteebg8.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280182074 18567 80.91.229.12 (26 Jul 2010 22:07:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 22:07:54 +0000 (UTC) Cc: 6716@debbugs.gnu.org To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 27 00:07:52 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 1OdVpt-0008Ed-2h for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 00:07:49 +0200 Original-Received: from localhost ([127.0.0.1]:49824 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdVps-00028p-Ax for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jul 2010 18:07:48 -0400 Original-Received: from [140.186.70.92] (port=59111 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdVph-00025e-NL for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 18:07:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdVpg-0007IN-Cl for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 18:07:37 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46509) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdVpg-0007IG-A6 for bug-gnu-emacs@gnu.org; Mon, 26 Jul 2010 18:07:36 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OdVTq-0006y8-Oa; Mon, 26 Jul 2010 17:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Jul 2010 21:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6716 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6716-submit@debbugs.gnu.org id=B6716.128018066426772 (code B ref 6716); Mon, 26 Jul 2010 21:45:02 +0000 Original-Received: (at 6716) by debbugs.gnu.org; 26 Jul 2010 21:44:24 +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 1OdVTE-0006xl-LK for submit@debbugs.gnu.org; Mon, 26 Jul 2010 17:44:24 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdVTC-0006xg-KY for 6716@debbugs.gnu.org; Mon, 26 Jul 2010 17:44:23 -0400 Original-Received: from ceviche.home (vpn-132-204-232-132.acd.umontreal.ca [132.204.232.132]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id o6QLiPJB014531; Mon, 26 Jul 2010 17:44:25 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 74D44660BB; Mon, 26 Jul 2010 23:44:20 +0200 (CEST) In-Reply-To: <87mxteebg8.fsf@gmail.com> =?UTF-8?Q?("=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec"'s?= message of "Mon, 26 Jul 2010 13:20:39 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3586=0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 26 Jul 2010 17:45: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:38959 Archived-At: >> There lies the problem. Other people do. So the fix to your problem >> will need to satisfy both cases. > But if you care about that, you don't need `find-function-source-path' > at all, no? But your patch also affects the case where find-function-source-path is nil. > (And actually, I don't see a reliable way to jump to the > "right" source of a byte-compiled function in general (as I already > pointed out in the previous mail).) It doesn't have to work right when it's not possible. But in the normal case where the .el and the .elc files are in the same directory and the .elc is the byte-compiled version of the .el file, it should work right. > Also, you replied to none of my other questions, notably -- do you > really (_really_) plan to reimplement `load-history', or was that just a > "would be nice to have"? I didn't say "reimplement". Just that it needs to be tweaked with more info. We've changed it several times in the past, there's nothing particularly tricky about that. > If the latter, could you propose a better solution that would improve > the current situation? (I'm sorry, but as I also already wrote, > I didn't really understand the point(s) you were making.) Some directories are not in the load-path, because the files therein are expected to be loaded via something like (require 'semantic/sort) or (load "term/vt100"), so if you see /blib/blob/semantic/sort.elc in the load-history, you can't just take "sort.elc" and look for "sort.el" on load-path because you'll find a completely unrelated file. Stefan