Emacs Source has been managed using git

Source: Internet
Author: User

Related
This article comes from
http://lars.ingebrigtsen.no/2014/11/13/welcome-new-emacs-developers/

{Specific Content}

Emacs switched the version control system from Bazaar to git yesterday, so are the time to start hacking away at Emacs.

Emacs:the best Thing Since sliced Bread If It wasn ' t for the Fact, Emacs was actually invented before sliced Bread.

This was a very short how-to guide on building and then contributing to EMACS.

Depending on what OS you ' re running, should install some libraries and stuff. On Debian/ubuntu you ' d say something like

sudo apt-get build-dep emacs24

(See the end of this post for instructions for other operating systems.)

Then you need to get the Emacs sources and build Emacs. Here's how in most Linux systems:

git clone git://git.savannah.gnu.org/emacs.gitcd emacsmake. /src/emacs &

And you ' re off! If you know the want to add to Emacs, just start hacking away.  If not, you should has a look at the wishlist in the Emacs bug tracker.  Starting with a new feature can is less daunting than starting with a bug, since it's more open ended. and more fun.

First we need to get the bug tracker into Emacs.

M-x package-Install ret debbugs RET

Ready for action!

M-x DEBBUGS-GNU ret c-a c-k wishlist RET

This would list everything that anybody wanted, but nobody got around to doing anything about. Find One think look interesting, hits enter to read more about it, and if you think you want to a go, start Hackin G away.

When you're done, make a diff, reply to the bug report with F, and include the diff in the email.

Emacs requires a copyright assignment on all bits that is larger than lines. Send an e-mail to [email protected] saying your wish to assign your Emacs code to the FSF, and they ' ll get back to The paperwork, which is very un-daunting.

If you ' re fixing lots of bugs and adding lots of new code, just ask for commit rights to the Emacs repository, and your CO De would fly out of a lot faster.

Go Forth and emacs!

——————–

Appendix:

If apt-get BUILD-DEP doesn ' t work in Debian/ubuntu, you could say something like

sudo Install gcc automake autotools libmagick++-Dev   libgtk2. 0-dev libxft-dev libgnutls-dev libdbus-1-dev Libgif-dev

On Fedora you ' d say

sudo Yum Install gcc makeinfo texinfo gtk3-devel gnutls-devel giflib-devel imagemagick-c++-devel autotools Automake  libxaw-devel libpng-devel ncurses-devel libxml2-devel  

If you had instructions for other os-es, or these instructions here is wrong, please leave a comment.

If you need more information on the Git flow for Emacs developers, there is a peek here.

Emacs Source has been managed using git

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.