all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* emacs-21.1-21.2.diff: "the top of the Emacs source tree" is imprecise.
@ 2002-03-21 19:56 Alan Mackenzie
  2002-03-22 10:43 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Mackenzie @ 2002-03-21 19:56 UTC (permalink / raw)


I recently downloaded the file emacs-21.1-21.2.diff from www.gnu.org.
The instructions in this file say "cd to the top of the emacs source tree
and then type 'sh <this file>'.

What exactly does "the top of the emacs source tree mean"?

My directory structure starts off /usr/src/packages/BUILD/, and directly
under this I have emacs-21.1 and emacs-21.2.  I created emacs-21.2 by
cloning emacs-21.1.

I then copied emacs-21.1-21.2.diff to /usr/..../BUILD/emacs-21.2/ and
attempted sh emacs-21.1-21.2.diff.

It didn't work.  More precisely, it didn't find all the files it needed
to patch, and prompted me to tell it where to find them.  I assume I must
have tried to run sh emacs-21.1-21.2.diff from the wrong place.

I think that the phrase ".. the top of emacs source tree .." is too
vague.  Is there any chance that the file comments can be elaborated to
state _exactly_ where it is to be copied to, where it is to be run from,
and what assumptions it makes on the shape of the source tree.

Thanks in advance.

-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").


_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: emacs-21.1-21.2.diff: "the top of the Emacs source tree" is imprecise.
  2002-03-21 19:56 emacs-21.1-21.2.diff: "the top of the Emacs source tree" is imprecise Alan Mackenzie
@ 2002-03-22 10:43 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2002-03-22 10:43 UTC (permalink / raw)


> From: Alan Mackenzie <none@example.invalid>
> Newsgroups: gnu.emacs.bug
> Date: Thu, 21 Mar 2002 19:56:21 +0000
> 
> I recently downloaded the file emacs-21.1-21.2.diff from www.gnu.org.
> The instructions in this file say "cd to the top of the emacs source tree
> and then type 'sh <this file>'.
> 
> What exactly does "the top of the emacs source tree mean"?

It means either the directory where you have the src, lisp, etc,
lwlib, and other subdirectories created by unpacking the Emacs
distribution, or its parent.

Assuming that you unpacked Emacs 21.1 into /foo/bar, unpacking creates
/foo/bar/emacs-21.1.  The scripts assumes that you invoke it either
from /foo/bar or from /foo/bar/emacs-21.1 (in the former case, it
chdir's into emacs-21.1 before proceeding).

> My directory structure starts off /usr/src/packages/BUILD/, and directly
> under this I have emacs-21.1 and emacs-21.2.  I created emacs-21.2 by
> cloning emacs-21.1.
> 
> I then copied emacs-21.1-21.2.diff to /usr/..../BUILD/emacs-21.2/ and
> attempted sh emacs-21.1-21.2.diff.

That should have worked, AFAIK.

> It didn't work.  More precisely, it didn't find all the files it needed
> to patch, and prompted me to tell it where to find them.

Please tell the details: what files didn't it find, and what was the
precise text of the prompt.

> I think that the phrase ".. the top of emacs source tree .." is too
> vague.

The fact is you succeeded to figure it out correctly.  But I'll see
how the wording could be made less ambiguous, thanks for pointing that
out.

_______________________________________________
Bug-gnu-emacs mailing list
Bug-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gnu-emacs


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-03-22 10:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-21 19:56 emacs-21.1-21.2.diff: "the top of the Emacs source tree" is imprecise Alan Mackenzie
2002-03-22 10:43 ` Eli Zaretskii

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.