Red Hat Bugzilla – Bug 235431
Emacs support for git
Last modified: 2013-01-10 05:18:13 EST
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.
Created attachment 151795 [details]
Emacs support, other small specfile tweaks
Created attachment 151796 [details]
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.
Any chance that git.el for emacs can be included in the git package?
Anyone (co-maintainers Cc'd)?
I'll try to look at this tonight.
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.
There are also some F7 scratch builds now at:
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!
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
I've added the autoloads from comment 10 to git-init.el in CVS. They should get
picked up with the next build.
$ rpm -q emacs-git
Build Date: Fri 22 Jun 2007 02:54:28 PM BST
Build Host: xenbuilder2.fedora.redhat.com
Source RPM: git-18.104.22.168-2.fc7.src.rpm
I must have got this from comment #9, to test?
$ sudo yum upgrade
--> Populating transaction set with selected packages. Please wait.
---> Package git-core.i386 0:22.214.171.124-1.fc7 set to be updated
ERROR with rpm_check_debug vs depsolve:
Package emacs-git needs git-core = 126.96.36.199-2.fc7, this is not available.
So this change only made it into rawhide, and not f7 updates? Any chance it might?