Bug 235431 - Emacs support for git
Emacs support for git
Product: Fedora
Classification: Fedora
Component: git (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Chris Wright
Fedora Extras Quality Assurance
: Patch
Depends On:
  Show dependency treegraph
Reported: 2007-04-05 14:34 EDT by Ville Skyttä
Modified: 2013-01-10 05:18 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-06-26 07:28:41 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Emacs support, other small specfile tweaks (3.37 KB, patch)
2007-04-05 14:34 EDT, Ville Skyttä
no flags Details | Diff
site-start.d snippet (60 bytes, text/plain)
2007-04-05 14:34 EDT, Ville Skyttä
no flags Details

  None (edit)
Description Ville Skyttä 2007-04-05 14:34:21 EDT
Here's a patch that adds Emacs support for git, as well as does some trivial
specfile fixes, among with the perl-devel -> perl(ExtUtils::MakeMaker) change
will make it possible to use same spefiles for all distro versions again.
Comment 1 Ville Skyttä 2007-04-05 14:34:21 EDT
Created attachment 151795 [details]
Emacs support, other small specfile tweaks
Comment 2 Ville Skyttä 2007-04-05 14:34:56 EDT
Created attachment 151796 [details]
site-start.d snippet
Comment 3 Chris Wright 2007-04-05 15:17:56 EDT
Could you point me to info on the perl-devel -> perl(ExtUtils::MakeMaker) change?
I'm glad to remove that from specfile, but I'd like to understand it too.
Comment 5 Stephen 2007-06-06 17:50:35 EDT
Any chance that git.el for emacs can be included in the git package?
Comment 6 Ville Skyttä 2007-06-18 13:50:08 EDT
Anyone (co-maintainers Cc'd)?
Comment 7 Josh Boyer 2007-06-20 09:19:28 EDT
I'll try to look at this tonight.
Comment 8 Josh Boyer 2007-06-21 21:40:31 EDT
I have some scratch builds here:


Ville, (or anyone else interested) could you give them a test?  I'm not an emacs
user so I don't really know what to look for.
Comment 9 Josh Boyer 2007-06-22 09:58:47 EDT
There are also some F7 scratch builds now at:

Comment 10 Stephen 2007-06-22 12:36:02 EDT
Should git-init.el have something like the following added to it:

(autoload 'git-status "git"
  "GIT mode." t)
(autoload 'git-blame-mode "git-blame"
  "Minor mode for incremental blame for Git." t)

So that the git-status and git-blame-mode functions can be called interactively?
(I picked these up from the commentary in git.el and git-blame.el)

(I'm not an expert on emacs packaging or git -- I was actually hoping to use the
emacs front end to learn git.)

Thanks for looking at this!
Comment 11 Ville Skyttä 2007-06-24 05:19:07 EDT
vc-git.el appears to work as intended in the F-7 builds.  I don't use git.el nor
git-blame.el but the idea in comment 10 looks ok to me.

(In case anyone's wondering why there's no XEmacs stuff here - vc-git.el will be
included in upstream XEmacs packages collection soonish and will enter Fedora
that way.)
Comment 12 Josh Boyer 2007-06-26 07:28:41 EDT
I've added the autoloads from comment 10 to git-init.el in CVS.  They should get
picked up with the next build.
Comment 13 Stephen 2007-08-21 09:33:47 EDT
$ rpm -q emacs-git

Build Date: Fri 22 Jun 2007 02:54:28 PM BST
Build Host: xenbuilder2.fedora.redhat.com
Source RPM: git-

I must have got this from comment #9, to test?


$ sudo yum upgrade

Running rpm_check_debug
--> Populating transaction set with selected packages. Please wait.
---> Package git-core.i386 0: set to be updated
ERROR with rpm_check_debug vs depsolve:
Package emacs-git needs git-core =, this is not available.

So this change only made it into rawhide, and not f7 updates? Any chance it might?

Note You need to log in before you can comment on or make changes to this bug.