all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About Emacs updating
@ 2013-01-17  9:48 Xue Fuqiao
  2013-01-17 10:21 ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Xue Fuqiao @ 2013-01-17  9:48 UTC (permalink / raw)
  To: help-gnu-emacs

I want to update my Emacs, do I have to `make uninstall' the old version before building and installing the new version?
-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



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

* Re: About Emacs updating
  2013-01-17  9:48 About Emacs updating Xue Fuqiao
@ 2013-01-17 10:21 ` Peter Dyballa
  2013-01-17 11:56   ` Xue Fuqiao
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2013-01-17 10:21 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: help-gnu-emacs


Am 17.01.2013 um 10:48 schrieb Xue Fuqiao:

> I want to update my Emacs, do I have to `make uninstall' the old version before building and installing the new version?

No.

--
Greetings

  Pete

Isn't vi that text editor with two modes... one that beeps and one that corrupts your file?
				– Dan Jacobson, on comp.os.linux.advocacy




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

* Re: About Emacs updating
  2013-01-17 10:21 ` Peter Dyballa
@ 2013-01-17 11:56   ` Xue Fuqiao
  2013-01-17 12:30     ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Xue Fuqiao @ 2013-01-17 11:56 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

On Thu, 17 Jan 2013 11:21:49 +0100
Peter Dyballa <Peter_Dyballa@Web.DE> wrote:

> > I want to update my Emacs, do I have to `make uninstall' the old version before building and installing the new version?
> 
> No.
Thanks for you reply.

Does that mean:
1. PREFIXDIR/share/emacs/VERSION will be deleted and a new one will be created;
2. Info files in PREFIXDIR/share/info will be replaced by new ones;
3. emacs (and etags, ctags, emacsclient...) in PREFIXDIR/bin will be replaced;
4. PREFIXDIR/libexec/emacs/VERSION will be deleted and a new one will be created;
5. man pages in PREFIXDIR/share/man/man1 will be replaced?
-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



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

* Re: About Emacs updating
  2013-01-17 11:56   ` Xue Fuqiao
@ 2013-01-17 12:30     ` Peter Dyballa
  2013-01-17 13:00       ` Xue Fuqiao
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2013-01-17 12:30 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: help-gnu-emacs


Am 17.01.2013 um 12:56 schrieb Xue Fuqiao:

> Does that mean:

Nothing gets deleted. If a new (minor of major) version of GNU Emacs is installed, then some new directories are created to contain version-specific files (ELisp, binaries). Existing INFO and MAN files are usually substituted.

If you want to learn about the actual specifics you can install different versions of GNU Emacs into /tmp or such and check the compile log from 'make install'. Or get yourself some GNU Emacs packages (Mac OS X, Linux, Solaris, BSD) and compare their contents.

I'm a bit lazy today…

--
Greetings

  Pete

Claiming that the Macintosh is inferior to Windows because most people use Windows, is like saying that all other restaurants serve food that is inferior to McDonald's.




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

* Re: About Emacs updating
  2013-01-17 12:30     ` Peter Dyballa
@ 2013-01-17 13:00       ` Xue Fuqiao
  2013-01-17 14:28         ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Xue Fuqiao @ 2013-01-17 13:00 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

On Thu, 17 Jan 2013 13:30:24 +0100
Peter Dyballa <Peter_Dyballa@Web.DE> wrote:

> If a new (minor of major) version of GNU Emacs is installed, then some new directories are created to contain version-specific files (ELisp, binaries).

But PREFIXDIR/bin doesn't include the version number.
-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



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

* Re: About Emacs updating
  2013-01-17 13:00       ` Xue Fuqiao
@ 2013-01-17 14:28         ` Peter Dyballa
  2013-01-17 23:47           ` Xue Fuqiao
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2013-01-17 14:28 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: help-gnu-emacs


Am 17.01.2013 um 14:00 schrieb Xue Fuqiao:

> But PREFIXDIR/bin doesn't include the version number.

That's right. It's easier to add the version number to the binary so you can install hundred different binaries into one bin directory instead of having hundred directories with only one binary in it.

Example:

lrwxr-xr-x  1 root  wheel        13 15 Jan 10:57 /usr/local/bin/emacs -> emacs-24.2.92
-rwxr-xr-t  1 root  wheel   9413448 11 Sep 23:07 /usr/local/bin/emacs-23.4
-rwxr-xr-t  1 root  wheel  14402100 26 Sep 01:23 /usr/local/bin/emacs-24.1
-rwxr-xr-t  1 root  wheel  13858960 21 Jul 17:06 /usr/local/bin/emacs-24.1.50
-rwxr-xr-t  1 root  wheel  14412640  4 Nov 21:39 /usr/local/bin/emacs-24.2
-rwxr-xr-t  1 root  wheel   7385428 23 Okt 11:05 /usr/local/bin/emacs-24.2.50
-rwxr-xr-t  1 root  wheel  10972980 15 Jan 10:57 /usr/local/bin/emacs-24.2.92
-rwxr-xr-t  1 root  wheel  10910040 12 Jan 17:40 /usr/local/bin/emacs-24.3.50
-rwxr-xr-t  1 root  wheel   7329720 11 Nov 22:06 /usr/local/bin/emacs-24.3.50-IM-32-X11
-rwxr-xr-t  1 root  wheel  11780824 21 Dez 19:46 /usr/local/bin/emacs-24.3.50-IM-64-X11
-rwxr-xr-x  1 root  wheel     32928 15 Jan 10:57 /usr/local/bin/emacsclient

(Some suffixes added by me manually after the installation had happened.)

--
Greetings

  Pete

Let's face it; we don't want a free market economy either.
		– James Farley, president, Coca-Cola Export Corp., 1959




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

* Re: About Emacs updating
  2013-01-17 14:28         ` Peter Dyballa
@ 2013-01-17 23:47           ` Xue Fuqiao
  2013-01-18  0:12             ` Peter Dyballa
  0 siblings, 1 reply; 9+ messages in thread
From: Xue Fuqiao @ 2013-01-17 23:47 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

On Thu, 17 Jan 2013 15:28:15 +0100
Peter Dyballa <Peter_Dyballa@Web.DE> wrote:

> That's right. It's easier to add the version number to the binary so you can install hundred different binaries into one bin directory instead of having hundred directories with only one binary in it.

Thanks.  Whenever I want to use the trunk, I only need to:

bzr pull (or bzr update)
make (or make bootstrap)
make install

despite there is a new major or minor version, is that right?
-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



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

* Re: About Emacs updating
  2013-01-17 23:47           ` Xue Fuqiao
@ 2013-01-18  0:12             ` Peter Dyballa
  2013-01-18  3:20               ` Xue Fuqiao
  0 siblings, 1 reply; 9+ messages in thread
From: Peter Dyballa @ 2013-01-18  0:12 UTC (permalink / raw)
  To: Xue Fuqiao; +Cc: help-gnu-emacs


Am 18.01.2013 um 00:47 schrieb Xue Fuqiao:

> Whenever I want to use the trunk, I only need to:
> 
> bzr pull (or bzr update)

Depends on whether you have a full or partial copy of the mirrored branch, I think (I have meanwhile almost ¾ GB on disk). You'll see which of the two methods works. You can also use 'bzr pull -v' so see a bit of the cause for the change you are downloading.

> make (or make bootstrap)

No, there is one step more necessary: ./autogen.sh. Bzr will remind of this step.
It's also possible to change your mind and run configure with new settings; './configure --help' gives an overview. 'make clean' can also be useful – otherwise, by using 'plain' make, a large number of DOC-<version>.<try> and emacs-<version>.<try> files can be installed.

> make install

Quite often a 'sudo make install' is necessary…


Most of these things can be performed in compile-mode in a *compilation* buffer. This can be a quite colourful experience…

--
Greetings

  Pete

Imbecility, n.:
	A kind of divine inspiration, or sacred fire affecting censorious critics of this dictionary.
				– Ambrose Bierce: _The Devil's Dictionary_




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

* Re: About Emacs updating
  2013-01-18  0:12             ` Peter Dyballa
@ 2013-01-18  3:20               ` Xue Fuqiao
  0 siblings, 0 replies; 9+ messages in thread
From: Xue Fuqiao @ 2013-01-18  3:20 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: help-gnu-emacs

On Fri, 18 Jan 2013 01:12:47 +0100
Peter Dyballa <Peter_Dyballa@Web.DE> wrote:

> It's also possible to change your mind and run configure with new settings; './configure --help' gives an overview.
I prefer seeing changes in etc/NEWS.

> Most of these things can be performed in compile-mode in a *compilation* buffer. This can be a quite colourful experience…
That's true.
-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



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

end of thread, other threads:[~2013-01-18  3:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-17  9:48 About Emacs updating Xue Fuqiao
2013-01-17 10:21 ` Peter Dyballa
2013-01-17 11:56   ` Xue Fuqiao
2013-01-17 12:30     ` Peter Dyballa
2013-01-17 13:00       ` Xue Fuqiao
2013-01-17 14:28         ` Peter Dyballa
2013-01-17 23:47           ` Xue Fuqiao
2013-01-18  0:12             ` Peter Dyballa
2013-01-18  3:20               ` Xue Fuqiao

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.