From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#6716: 23.2; Setting `find-function-source-path' has no effect. Date: Tue, 15 Feb 2022 15:50:05 +0100 Message-ID: <20220215155005+0100.132585-stepnem@gmail.com> References: <874ofpqeiu.fsf@gmail.com> <877d9zw0cm.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29744"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Notmuch/0.34.3 (https://notmuchmail.org) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: 6716@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 15 15:54:31 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nJzDq-0007YJ-5q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 15:54:30 +0100 Original-Received: from localhost ([::1]:36392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nJzDp-0008PP-0P for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Feb 2022 09:54:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:54206) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nJzAb-0005M4-VX for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 09:51:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50050) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nJzAT-0003D5-VB for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 09:51:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nJzAT-00064I-N3 for bug-gnu-emacs@gnu.org; Tue, 15 Feb 2022 09:51:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Feb 2022 14:51:01 +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: moreinfo Original-Received: via spool by 6716-submit@debbugs.gnu.org id=B6716.164493660223227 (code B ref 6716); Tue, 15 Feb 2022 14:51:01 +0000 Original-Received: (at 6716) by debbugs.gnu.org; 15 Feb 2022 14:50:02 +0000 Original-Received: from localhost ([127.0.0.1]:43947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJz9V-00062Q-PT for submit@debbugs.gnu.org; Tue, 15 Feb 2022 09:50:02 -0500 Original-Received: from mail-wm1-f49.google.com ([209.85.128.49]:39919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nJz9T-000629-NW for 6716@debbugs.gnu.org; Tue, 15 Feb 2022 09:50:00 -0500 Original-Received: by mail-wm1-f49.google.com with SMTP id j9-20020a05600c190900b0037bff8a24ebso1618718wmq.4 for <6716@debbugs.gnu.org>; Tue, 15 Feb 2022 06:49:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=iF4rW/iUcBKo0M/U+Rid/anYg9CObQbN9kZCRSMcJwM=; b=hIoayj4G1wTX9rSNfv8JfmXTHGmw41LG89WpXh92PAREKqgPHb2Y41FDcKKbVrgcaI uN9J3Uka1Ey4/1ZJh6p1/3uMLA8wM378Sv1OGMoHYaovdsHY/1GYcy01ABkLxZz+hzw+ hKuWEzoAV0uW3q1cYjTrl8D1UTVKIdSFufyoohspBPG74flqg0uDl9XPaeAxERdxW6QG /Evyk2WkhcSEgghZISs5Z1CAlk37a2TIWY1UsJYTSxixP8Zq+AS4jrbCW/3zirx7UJXf hnguMoQfP2DFm1BylhFAKaQqqYHHErmc1lWXT/dJOH0eHmxXSiu4a3CkcWf8T+PcYMHm 1BTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=iF4rW/iUcBKo0M/U+Rid/anYg9CObQbN9kZCRSMcJwM=; b=DTC40uMxR9b9Bmy75IAOQ0QACcC3x+Ia93Qxp4lX3ZkmK6jkncLFrnqujFZtjU1nUz XHnrlbNyN6Nnx5ktY5DSRNW5yI3tfJWBAJgkM1TOipCKQWRGN7EgjJIZbE3sgwMxmR9B wms0mwvrM9JNSJjRaAQWecD77Kn0Ik4MH6qbpBjX0PBzcb2ra5Hu2XQdlMELzJ6V8meM qZAxvTx5cd+4jZ32xzAIc6fRM6DcUuuYLBJCUDLl04d/yzwH/b/nS6oOn3FPVknrHY7g zH4axFmwTH2Lw8c58KJ6a6vSSq3ANw0mGrKBnotCsWwPbt5cK0l1CTqfc7M59JZPolpv tkmA== X-Gm-Message-State: AOAM530x/hZ4uZtGqlV7z+F/FLz2KojV6KEdX0c12cO+RZSr1sYb9wqX PnwVxi02sh9s4iQ3mHRH+Ac= X-Google-Smtp-Source: ABdhPJwYjHLcUKx++zDVV7mF2DpHBJkmZ2yYL1b87W0mGsslJ4CCUMfFvapBQbNxOVp3GmeYhkY6sg== X-Received: by 2002:a05:600c:1e88:: with SMTP id be8mr3407289wmb.125.1644936593781; Tue, 15 Feb 2022 06:49:53 -0800 (PST) Original-Received: from localhost (internet-185-112-167-37.cznet.cz. [185.112.167.37]) by smtp.gmail.com with ESMTPSA id m22sm6320379wmq.35.2022.02.15.06.49.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 06:49:53 -0800 (PST) In-Reply-To: <877d9zw0cm.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226992 Archived-At: On Sun, 13 Feb 2022 11:02:33 +0100 Lars Ingebrigtsen wrote: > =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: > >> Because `find-library-name' receives as its LIBRARY argument the full >> path, but doesn't strip the directory part, setting >> `find-function-source-path' has no effect on symbol finding -- Emacs >> still tries the path guessed according to load path (which is not >> correct in case you have the Elisp sources in directory different from >> the compiled files). > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > `find-function-source-path' is now obsolete (`find-library-source-path' > is used instead), but there wasn't a case to reproduce the problem here. > Are there still problems in this area in recent Emacs versions? If so, > do you have a recipe to reproduce the problem? It was the same issue as later reported in bug#50508 (which does include a simple reproducer), and from a quick look at the current source code it seems that the description you quote above still applies, too. My specific use case was jumping (via e.g. `find-function') to source files (typically a VCS repository checkout) when running an Emacs without the sources installed along the compiled files. Looking at bug#50508, it seems you have decided to not try to fix this, and instead adjust the docs and rename/obsolete the option, so I guess you'll want to close this one, too. BTW, while grepping now I noticed `package--reload-previously-loaded' still trying to use `find-function-source-path'; I don't know if or how it should be updated. --=20 =C5=A0t=C4=9Bp=C3=A1n