[Python-apps-commits] r4772 - in packages/mercurial/trunk/debian (4 files)

vdanjean at users.alioth.debian.org vdanjean at users.alioth.debian.org
Tue Feb 16 00:49:25 UTC 2010


    Date: Tuesday, February 16, 2010 @ 00:49:20
  Author: vdanjean
Revision: 4772

Install mercurial.el in examples directory only

not useful with emacs22 or newer (vc-hg.el provided by emacs*-common is better)

Modified:
  packages/mercurial/trunk/debian/NEWS
  packages/mercurial/trunk/debian/README.Debian
  packages/mercurial/trunk/debian/mercurial-common.examples
  packages/mercurial/trunk/debian/mercurial-common.install

Modified: packages/mercurial/trunk/debian/NEWS
===================================================================
--- packages/mercurial/trunk/debian/NEWS	2010-02-16 00:48:59 UTC (rev 4771)
+++ packages/mercurial/trunk/debian/NEWS	2010-02-16 00:49:20 UTC (rev 4772)
@@ -1,3 +1,11 @@
+mercurial (1.4.3-1) unstable; urgency=low
+
+  mercurial.el (emacs mode for mercurial) is not installed anymore in emacs
+  paths. Emacs22 or newer has vc-hg.el that is better. If needed, this file
+  is still provided in the examples directory.
+
+ -- Vincent Danjean <vdanjean at debian.org>  Mon, 15 Feb 2010 18:06:52 +0100
+
 mercurial (1.1.2-1) unstable; urgency=low
 
   Since the 1.1.2-1 version, mercurial does not enable any extension by

Modified: packages/mercurial/trunk/debian/README.Debian
===================================================================
--- packages/mercurial/trunk/debian/README.Debian	2010-02-16 00:48:59 UTC (rev 4771)
+++ packages/mercurial/trunk/debian/README.Debian	2010-02-16 00:49:20 UTC (rev 4772)
@@ -33,21 +33,7 @@
 
 Emacs support
 *************
-This package installs a mercurial.el file.  However, it is not enabled (loaded)
-by default. Users who want to use it should in their start-up files (such as
-~/.emacs) include something like:
-
-  (require 'mercurial)
-
-It may be better to do instead:
-
-  (when (locate-library "mercurial")
-    (autoload 'hg-find-file-hook "mercurial")
-    (add-hook 'find-file-hooks 'hg-find-file-hook))
-
-because it defers loading Mercurial until it is needed, meaning that
-Emacs will boot faster and use less memory when not using Mercurial.
-
-This is not done system-wide by this package because the "until needed" is a
-bit of a fallacy in this case: find-file is likely to be run at or shortly
-after boot.
+This package installs a mercurial.el file in the example directory
+(/usr/share/doc/mercurial/examples/). However, with emacs22 or better,
+vc-hg.el provided directly by emacs is better. This is why mercurial.el
+is not installed by default anymore.

Modified: packages/mercurial/trunk/debian/mercurial-common.examples
===================================================================
--- packages/mercurial/trunk/debian/mercurial-common.examples	2010-02-16 00:48:59 UTC (rev 4771)
+++ packages/mercurial/trunk/debian/mercurial-common.examples	2010-02-16 00:49:20 UTC (rev 4772)
@@ -5,6 +5,7 @@
 contrib/hgsh
 contrib/hgwebdir.fcgi
 contrib/hgwebdir.wsgi
+contrib/mercurial.el
 contrib/perf.py
 contrib/python-hook-examples.py
 contrib/rewrite-log

Modified: packages/mercurial/trunk/debian/mercurial-common.install
===================================================================
--- packages/mercurial/trunk/debian/mercurial-common.install	2010-02-16 00:48:59 UTC (rev 4771)
+++ packages/mercurial/trunk/debian/mercurial-common.install	2010-02-16 00:49:20 UTC (rev 4772)
@@ -2,7 +2,6 @@
 templates usr/share/mercurial
 debian/tmp/usr/lib
 
-contrib/mercurial.el usr/share/emacs/site-lisp
 contrib/mq.el usr/share/emacs/site-lisp
 
 contrib/logo-droplets.svg usr/share/mercurial




More information about the Python-apps-commits mailing list