Driving Git With Emacs - Pure Magic With Magit - Part One

Getting to grips with Git was not to much of a learning curve, although I found it quicker to work on the command line than using graphical tools. Using git status and git log made it easy to keep a handle on my code changes.

As I do most of my Clojure development in Emacs, it was great to discover I could drive git from Emacs using Magit. What follows is a flow through the first steps with Magit.

In part two I look at Git logs with Magit

Read More

Emacs Tip - Turn Auto Fill Off When Writing Blog Posts

The Fill minor mode will wrap your text so the lines dont become too long. Whist this is good for code, it puts in hard line breaks for your text which you would have to remove if copied into your blog post.

If you are using emacs to write the content for your blog you probably want to turn off the Fill minor mode, as this seems to be on by default when using Emacs 24 and the Emacs starter kit.

Easiest way for the new starter is to use the right mouse button to select the mode options on the control bar at the bottom of the buffer you are working in.

For those who enjoy the keyboard, fire up the macro auto-fill-mode to toggle the mode on and off.

If you would like to have a keyboard oriented lifestyle but are still learning Emacs, press the key combination Meta-x, type auto-fill-mode and press return. This toggles the mode, so if its on it switches it of and vice versa.

On a Linux PC, Meta-x is the keyboard combination Alt-x, on MacOSX it is Option-x

Happy Emacs fun!

Thank you.
@jr0cket


This work is licensed under a Creative Commons Attribution 4.0 ShareAlike License, including custom images & stylesheets. Permissions beyond the scope of this license may be available at @jr0cket
Creative Commons License