* find-function-C-source-directory
@ 2006-05-27 21:50 Lennart Borgman
2006-05-28 3:05 ` find-function-C-source-directory Eli Zaretskii
2006-05-28 3:18 ` find-function-C-source-directory Richard Stallman
0 siblings, 2 replies; 10+ messages in thread
From: Lennart Borgman @ 2006-05-27 21:50 UTC (permalink / raw)
It is quite hard for those downloading prebuilt binaries of Emacs to
view the C sources. Would it be possible to document somewhere in the
manual how to do this through the help functions? Or, maybe better:
could perhaps the help functions tell a bit about
`find-function-C-source-directory '?
I think it could be relevant to fix this before the pretest since it
might give more feedback.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-27 21:50 find-function-C-source-directory Lennart Borgman
@ 2006-05-28 3:05 ` Eli Zaretskii
2006-05-28 9:22 ` find-function-C-source-directory Lennart Borgman
2006-05-28 3:18 ` find-function-C-source-directory Richard Stallman
1 sibling, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2006-05-28 3:05 UTC (permalink / raw)
Cc: emacs-devel
> Date: Sat, 27 May 2006 23:50:08 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
>
> It is quite hard for those downloading prebuilt binaries of Emacs to
> view the C sources.
Could you elaborate a bit: what makes it hard?
I assume you are talking about users that do have the sources on their
machine, so the only problem is that the source directory is not what
is recorded in the binary. If so, the only problem I know of is that
they need to type in the directory where they have the sources, only
once per session, when Emacs prompts for it.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-28 3:05 ` find-function-C-source-directory Eli Zaretskii
@ 2006-05-28 9:22 ` Lennart Borgman
2006-05-28 18:19 ` find-function-C-source-directory Richard Stallman
0 siblings, 1 reply; 10+ messages in thread
From: Lennart Borgman @ 2006-05-28 9:22 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii wrote:
>> Date: Sat, 27 May 2006 23:50:08 +0200
>> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
>>
>> It is quite hard for those downloading prebuilt binaries of Emacs to
>> view the C sources.
>>
>
> Could you elaborate a bit: what makes it hard?
>
> I assume you are talking about users that do have the sources on their
> machine, so the only problem is that the source directory is not what
> is recorded in the binary. If so, the only problem I know of is that
> they need to type in the directory where they have the sources, only
> once per session, when Emacs prompts for it.
>
Yes, that is correct. The problem is how they should find out that.
Where is that information? I think that it should be there right when
they try to access the C sources from within help. And possibly
somewhere in the manual too.
If find-function-C-source-directory is nil then the user is prompted for
the directory where the sources are. I think that is good, but not in
accordance with the doc string for this var. But it is quite hard to
find out that it is this variable you should set if you want it Emacs to
remember where the sources are. And if you set it to something wrong
then perhaps a hint about the var should be good?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-28 9:22 ` find-function-C-source-directory Lennart Borgman
@ 2006-05-28 18:19 ` Richard Stallman
2006-05-28 19:07 ` find-function-C-source-directory Lennart Borgman
0 siblings, 1 reply; 10+ messages in thread
From: Richard Stallman @ 2006-05-28 18:19 UTC (permalink / raw)
Cc: eliz, emacs-devel
> I assume you are talking about users that do have the sources on their
> machine, so the only problem is that the source directory is not what
> is recorded in the binary. If so, the only problem I know of is that
> they need to type in the directory where they have the sources, only
> once per session, when Emacs prompts for it.
>
Yes, that is correct. The problem is how they should find out that.
Where is that information? I think that it should be there right when
they try to access the C sources from within help. And possibly
somewhere in the manual too.
If they didn't build Emacs from sources, but they have copied the sources,
they must have done so manually. Emacs has no way of knowing where those
sources are. Only the user would know.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-28 18:19 ` find-function-C-source-directory Richard Stallman
@ 2006-05-28 19:07 ` Lennart Borgman
2006-05-28 20:26 ` find-function-C-source-directory Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Lennart Borgman @ 2006-05-28 19:07 UTC (permalink / raw)
Cc: eliz, emacs-devel
Richard Stallman wrote:
> > I assume you are talking about users that do have the sources on their
> > machine, so the only problem is that the source directory is not what
> > is recorded in the binary. If so, the only problem I know of is that
> > they need to type in the directory where they have the sources, only
> > once per session, when Emacs prompts for it.
> >
> Yes, that is correct. The problem is how they should find out that.
> Where is that information? I think that it should be there right when
> they try to access the C sources from within help. And possibly
> somewhere in the manual too.
>
> If they didn't build Emacs from sources, but they have copied the sources,
> they must have done so manually. Emacs has no way of knowing where those
> sources are. Only the user would know.
>
Oh? I thought Emacs could do anything ;-)
Sorry, I misread Eli´s answer. I mean that they have no way to find out
that they should set find-function-C-source-directory if they want Emacs
to know permanently where the C sources are.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-28 19:07 ` find-function-C-source-directory Lennart Borgman
@ 2006-05-28 20:26 ` Eli Zaretskii
2006-05-28 22:20 ` find-function-C-source-directory Lennart Borgman
0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2006-05-28 20:26 UTC (permalink / raw)
Cc: emacs-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 463 bytes --]
> Date: Sun, 28 May 2006 21:07:40 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> Cc: eliz@gnu.org, emacs-devel@gnu.org
>
> Sorry, I misread Eli´s answer. I mean that they have no way to find out
> that they should set find-function-C-source-directory if they want Emacs
> to know permanently where the C sources are.
You mean, for the other sessions as well? Because for this session,
Emacs remembers the place, and never prompts again.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-28 20:26 ` find-function-C-source-directory Eli Zaretskii
@ 2006-05-28 22:20 ` Lennart Borgman
2006-05-29 3:33 ` find-function-C-source-directory Eli Zaretskii
0 siblings, 1 reply; 10+ messages in thread
From: Lennart Borgman @ 2006-05-28 22:20 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii wrote:
>> Sorry, I misread Eli´s answer. I mean that they have no way to find out
>> that they should set find-function-C-source-directory if they want Emacs
>> to know permanently where the C sources are.
>>
>
> You mean, for the other sessions as well? Because for this session,
> Emacs remembers the place, and never prompts again.
>
Yes, that is what I mean.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-28 22:20 ` find-function-C-source-directory Lennart Borgman
@ 2006-05-29 3:33 ` Eli Zaretskii
2006-05-29 5:37 ` find-function-C-source-directory Lennart Borgman
0 siblings, 1 reply; 10+ messages in thread
From: Eli Zaretskii @ 2006-05-29 3:33 UTC (permalink / raw)
Cc: emacs-devel
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 822 bytes --]
> Date: Mon, 29 May 2006 00:20:27 +0200
> From: Lennart Borgman <lennart.borgman.073@student.lu.se>
> CC: emacs-devel@gnu.org
>
> Eli Zaretskii wrote:
> >> Sorry, I misread Eli´s answer. I mean that they have no way to find out
> >> that they should set find-function-C-source-directory if they want Emacs
> >> to know permanently where the C sources are.
> >>
> >
> > You mean, for the other sessions as well? Because for this session,
> > Emacs remembers the place, and never prompts again.
> >
> Yes, that is what I mean.
Do we have a reason to believe that the sources will be in the same
place for the next session? My Emacs sessions end only when the
system goes down (which happens once in a blue moon). If the user
brings the sources from outside, she might as well change the location
in between.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-29 3:33 ` find-function-C-source-directory Eli Zaretskii
@ 2006-05-29 5:37 ` Lennart Borgman
0 siblings, 0 replies; 10+ messages in thread
From: Lennart Borgman @ 2006-05-29 5:37 UTC (permalink / raw)
Cc: emacs-devel
Eli Zaretskii wrote:
> Do we have a reason to believe that the sources will be in the same
> place for the next session? My Emacs sessions end only when the
> system goes down (which happens once in a blue moon). If the user
> brings the sources from outside, she might as well change the location
> in between.
>
On some OS:es you have to reboot sometimes. Upgrading, security fixes ...
But there is another difficulty too. If the user happens to give the
wrong answer when prompting for the directory then it is hard to find
out how to change it. Maybe there should be a simple sanity check? This
could be at the prompting or (better I believe) when trying to access
the sources. Then a new prompt could be issued.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: find-function-C-source-directory
2006-05-27 21:50 find-function-C-source-directory Lennart Borgman
2006-05-28 3:05 ` find-function-C-source-directory Eli Zaretskii
@ 2006-05-28 3:18 ` Richard Stallman
1 sibling, 0 replies; 10+ messages in thread
From: Richard Stallman @ 2006-05-28 3:18 UTC (permalink / raw)
Cc: emacs-devel
It is quite hard for those downloading prebuilt binaries of Emacs to
view the C sources.
Why do you think it is hard?
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2006-05-29 5:37 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-27 21:50 find-function-C-source-directory Lennart Borgman
2006-05-28 3:05 ` find-function-C-source-directory Eli Zaretskii
2006-05-28 9:22 ` find-function-C-source-directory Lennart Borgman
2006-05-28 18:19 ` find-function-C-source-directory Richard Stallman
2006-05-28 19:07 ` find-function-C-source-directory Lennart Borgman
2006-05-28 20:26 ` find-function-C-source-directory Eli Zaretskii
2006-05-28 22:20 ` find-function-C-source-directory Lennart Borgman
2006-05-29 3:33 ` find-function-C-source-directory Eli Zaretskii
2006-05-29 5:37 ` find-function-C-source-directory Lennart Borgman
2006-05-28 3:18 ` find-function-C-source-directory Richard Stallman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.