* getting the source finding button in c-h f help buffers to work
@ 2016-02-12 17:24 Samuel Wales
2016-02-12 17:43 ` Drew Adams
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Samuel Wales @ 2016-02-12 17:24 UTC (permalink / raw)
To: help-gnu-emacs
when you do c-h f, emacs provides a link to the source. i have always
relied on this feature.
in my own code, i have always kept byte-compiled files in a separate
directory from the source. this has never been a problem.
in a recent version of emacs, perhaps a recent emacs 24 minor version,
it seems that c-h f source links no longer work if you keep your
byte-compiled files in a separate directory from the source files.
more specifically, they no longer exist.
what i'd like to do is have them exist again, without having to change
the way i load my byte-compiled files just to get them to exist again.
in other words, i want c-h f to work again, the way it did before the
recent version of emacs.
i do not know why this occurs. i just know that it stopped working.
i did not change anything in my .emacs.
i am using "24.4.1".
thanks.
--
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
The disease DOES progress. MANY people have died from it. And
ANYBODY can get it.
Denmark: free Karina Hansen NOW.
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: getting the source finding button in c-h f help buffers to work
2016-02-12 17:24 getting the source finding button in c-h f help buffers to work Samuel Wales
@ 2016-02-12 17:43 ` Drew Adams
2016-02-12 19:15 ` tomas
2016-02-12 19:16 ` Emanuel Berg
2 siblings, 0 replies; 7+ messages in thread
From: Drew Adams @ 2016-02-12 17:43 UTC (permalink / raw)
To: Samuel Wales, help-gnu-emacs
> when you do c-h f, emacs provides a link to the source. i have always
> relied on this feature.
>
> in my own code, i have always kept byte-compiled files in a separate
> directory from the source. this has never been a problem.
>
> in a recent version of emacs, perhaps a recent emacs 24 minor version,
> it seems that c-h f source links no longer work if you keep your
> byte-compiled files in a separate directory from the source files.
> more specifically, they no longer exist.
>
> what i'd like to do is have them exist again, without having to change
> the way i load my byte-compiled files just to get them to exist again.
>
> in other words, i want c-h f to work again, the way it did before the
> recent version of emacs.
>
> i do not know why this occurs. i just know that it stopped working.
> i did not change anything in my .emacs.
> i am using "24.4.1".
M-x report-emacs-bug
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: getting the source finding button in c-h f help buffers to work
2016-02-12 17:24 getting the source finding button in c-h f help buffers to work Samuel Wales
2016-02-12 17:43 ` Drew Adams
@ 2016-02-12 19:15 ` tomas
2016-02-12 21:18 ` Drew Adams
2016-02-12 19:16 ` Emanuel Berg
2 siblings, 1 reply; 7+ messages in thread
From: tomas @ 2016-02-12 19:15 UTC (permalink / raw)
To: help-gnu-emacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Feb 12, 2016 at 10:24:44AM -0700, Samuel Wales wrote:
> when you do c-h f, emacs provides a link to the source. i have always
> relied on this feature.
>
> in my own code, i have always kept byte-compiled files in a separate
> directory from the source. this has never been a problem.
>
> in a recent version of emacs, perhaps a recent emacs 24 minor version,
> it seems that c-h f source links no longer work if you keep your
> byte-compiled files in a separate directory from the source files.
> more specifically, they no longer exist.
This is a dejà vu...
there was a thread about that here a while ago:
<http://lists.gnu.org/archive/html/help-gnu-emacs/2016-02/threads.html#00004>
The gist is you can set a variable `find-function-C-source-directory'
to tip Emacs in the right direction.
Regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAla+L1IACgkQBcgs9XrR2kbMSACdGG9t5PXcoPJSDp568FrzGiDB
sSAAnjqLreoh5tkQxHlEbfNtsYA4XRTV
=6Fv/
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: getting the source finding button in c-h f help buffers to work
2016-02-12 17:24 getting the source finding button in c-h f help buffers to work Samuel Wales
2016-02-12 17:43 ` Drew Adams
2016-02-12 19:15 ` tomas
@ 2016-02-12 19:16 ` Emanuel Berg
2 siblings, 0 replies; 7+ messages in thread
From: Emanuel Berg @ 2016-02-12 19:16 UTC (permalink / raw)
To: help-gnu-emacs
Samuel Wales <samologist@gmail.com> writes:
> in a recent version of emacs, perhaps a recent emacs
> 24 minor version, it seems that c-h f source links
> no longer work if you keep your byte-compiled files
> in a separate directory from the source files.
This is especially frustrating after setting up an
ambitious Makefile with all the matches and rules to
get the compiled stuff and the source stuff in
different directories, only to discover this neat
organization of things is what actually breaks
the access!
But unlike you I didn't know this ever to work - and
how can it work? For it to work, you must tell Emacs
where the source is. Perhaps you can tell Emacs some
principle where to look - like "the same directory as
the compiled stuff only in a directory called src/ and
not with the .elc extention but .el" - then, you have
to stick to that in you Makefiles, of course.
--
underground experts united
http://user.it.uu.se/~embe8573
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: getting the source finding button in c-h f help buffers to work
2016-02-12 19:15 ` tomas
@ 2016-02-12 21:18 ` Drew Adams
2016-02-13 15:17 ` tomas
0 siblings, 1 reply; 7+ messages in thread
From: Drew Adams @ 2016-02-12 21:18 UTC (permalink / raw)
To: tomas, help-gnu-emacs
> there was a thread about that here a while ago:
>
> <http://lists.gnu.org/archive/html/help-gnu-emacs/2016-
> 02/threads.html#00004>
>
> The gist is you can set a variable `find-function-C-source-directory'
> to tip Emacs in the right direction.
I think the OP is talking about Lisp source files, not C.
He mentioned byte-compiled files.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: getting the source finding button in c-h f help buffers to work
2016-02-12 21:18 ` Drew Adams
@ 2016-02-13 15:17 ` tomas
2016-02-13 20:23 ` Samuel Wales
0 siblings, 1 reply; 7+ messages in thread
From: tomas @ 2016-02-13 15:17 UTC (permalink / raw)
Cc: help-gnu-emacs
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri, Feb 12, 2016 at 01:18:17PM -0800, Drew Adams wrote:
> > there was a thread about that here a while ago:
> >
> > <http://lists.gnu.org/archive/html/help-gnu-emacs/2016-
> > 02/threads.html#00004>
> >
> > The gist is you can set a variable `find-function-C-source-directory'
> > to tip Emacs in the right direction.
>
> I think the OP is talking about Lisp source files, not C.
> He mentioned byte-compiled files.
Thanks for pointing out my lapsus.
There's a (customizable) variable `find-function-source-path' which looks
promising (I didn't test it, though).
regards
- -- t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAla/SSAACgkQBcgs9XrR2kYUVwCeNgedj1ottSLu6LJbiqBkg65G
/30An1Dgy2ZMmrY94/YQ8WiP3qVsICUX
=Xs0G
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: getting the source finding button in c-h f help buffers to work
2016-02-13 15:17 ` tomas
@ 2016-02-13 20:23 ` Samuel Wales
0 siblings, 0 replies; 7+ messages in thread
From: Samuel Wales @ 2016-02-13 20:23 UTC (permalink / raw)
To: tomas; +Cc: help-gnu-emacs
find-function-source-path does not work. it is already supposed to work.
"If this variable is nil then `find-function' searches `load-path' by
default."
also we need variables, not only functions.
why did the functionality stop working?
On 2/13/16, tomas@tuxteam.de <tomas@tuxteam.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Fri, Feb 12, 2016 at 01:18:17PM -0800, Drew Adams wrote:
>> > there was a thread about that here a while ago:
>> >
>> > <http://lists.gnu.org/archive/html/help-gnu-emacs/2016-
>> > 02/threads.html#00004>
>> >
>> > The gist is you can set a variable `find-function-C-source-directory'
>> > to tip Emacs in the right direction.
>>
>> I think the OP is talking about Lisp source files, not C.
>> He mentioned byte-compiled files.
>
> Thanks for pointing out my lapsus.
>
> There's a (customizable) variable `find-function-source-path' which looks
> promising (I didn't test it, though).
>
> regards
> - -- t
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAla/SSAACgkQBcgs9XrR2kYUVwCeNgedj1ottSLu6LJbiqBkg65G
> /30An1Dgy2ZMmrY94/YQ8WiP3qVsICUX
> =Xs0G
> -----END PGP SIGNATURE-----
>
>
--
The Kafka Pandemic: http://thekafkapandemic.blogspot.com
The disease DOES progress. MANY people have died from it. And
ANYBODY can get it.
Denmark: free Karina Hansen NOW.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-02-13 20:23 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12 17:24 getting the source finding button in c-h f help buffers to work Samuel Wales
2016-02-12 17:43 ` Drew Adams
2016-02-12 19:15 ` tomas
2016-02-12 21:18 ` Drew Adams
2016-02-13 15:17 ` tomas
2016-02-13 20:23 ` Samuel Wales
2016-02-12 19:16 ` Emanuel Berg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).