Public bug reported:

I installed git-core and expected the Emacs support to also load.
However, it contains a hedge condition which prevents it from loading on
Emacs 23.  Curiously, the comment states that the Git stuff is already
included in Emacs 23, but I find that this is not the case with the
Emacs 23.1.1 we have on Ubuntu Lucid.

Perhaps I am overlooking something obvious; in any case, the obvious
workaround seems to work for me;

(let ((emacs-version "22"))
      (load-file "/etc/emacs/site-start.d/50git-core.el"))

I notice that the Emacs support has been split out to git-el in newer
versions of Ubuntu, but I'm posting this so that others who have the
same problem can at least find a discussion of it.

era@lvcid$ lsb_release -rd
Description:    Ubuntu 10.04.3 LTS
Release:        10.04

era@lvcid$ apt-cache policy git-core emacs23
git-core:
  Installed: 1:1.7.0.4-1ubuntu0.2
  Candidate: 1:1.7.0.4-1ubuntu0.2
  Version table:
 *** 1:1.7.0.4-1ubuntu0.2 0
        500 http://mirrors.nic.funet.fi/ubuntu/ lucid-updates/main Packages
        500 http://mirrors.nic.funet.fi/ubuntu/ lucid-security/main Packages
        100 /var/lib/dpkg/status
     1:1.7.0.4-1 0
        500 http://mirrors.nic.funet.fi/ubuntu/ lucid/main Packages
emacs23:
  Installed: 23.1+1-4ubuntu7.2
  Candidate: 23.1+1-4ubuntu7.2
  Version table:
 *** 23.1+1-4ubuntu7.2 0
        500 http://mirrors.nic.funet.fi/ubuntu/ lucid-updates/main Packages
        100 /var/lib/dpkg/status
     23.1+1-4ubuntu7 0
        500 http://mirrors.nic.funet.fi/ubuntu/ lucid/main Packages

** Affects: git-core (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/890688

Title:
  50git-core.el loads nothing on emacs 23.1.1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/git-core/+bug/890688/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to