Emacs adventures | HCoder.org

As you know, emacs rocks. This blog post give us an “Emacs Sitemap” for the newbies, and I stress…(edited content…)

[…]

  1. EmacsWiki: you probably already know this one, but it’s pretty useful for a variety of reasons.
  2. EmacsRocks / @Emacsrocks: it’s a series of screencasts showing off cool, advanced Emacs features. Each screencast is very short and focused on one thing. Instant awesome.
  3. EmacsRookie / @EmacsRookie: a blog with articles about different Emacs trips & tricks and features. More geared towards beginners (but my impression is that many people stay “beginners” of Emacs for quite a long time).
  4. Steve Yegge described “10 Specific Ways to Improve Your Productivity With Emacs“. In particular, I’d recommend making Caps-Lock behave as an extra Control key (I didn’t swap, I just have one more Control key), invoke M-x without the Meta key (both C-x C-m and C-c C-m) and being comfortable with the buffer commands. For navigation, apart from incremental search, you can also use ace-jump.
  5. Christian Johansen has an interesting intro article to Emacs Lisp.
  6. hippie-expand is a pretty cool completion system, familiarise yourself with it.
  7. yasnippet. Very cool snippet system. Just have a look at the EmacsRocks screencast on yasnippet.

Give a try to Emacs adventures | HCoder.org.

Emacs 23 is out!

“After only 2 years since the previous version, now emacs 23 .1 is available. It brings many new features, of which the support for anti-aliased fonts on X may be the most visible. Also, there is support for starting emacs in the background, so you can pop up new emacs windows in the blink of an eye. There are many other bigger and smaller improvements, including support for D-Bus, Xembed, and viewing PDFs inside emacs. And not to forget, M-x butterfly. You can get emacs 23 from ftp.gnu.org/gnu/emacs/ or one of its mirrors; alternatively, there are binary packages available, for example from Ubuntu PPA.”

via Slashdot: News for nerds, stuff that matters.

For the young readers, emacs is the oldest Open Source project out of there. And it has a lot to teach to the other integrated developement environments!

Continue reading “Emacs 23 is out!”

yasnippet – Google Code

YASnippet is a template system for emacs. It allows you to type a abbrevation and automatically expand the abbreviation into function templates.

Bundled language templates includes: C, C++, C#, Perl, Python, Ruby, SQL, LaTeX, HTML, CSS and more.

Yasnippet system is inspired from TextMate’s template system. You can use a tool to import any TextMate template you have to YASnippet.

via yasnippet – Google Code.

[emacs] save a macro « /home/edivad

Once you have recorded a macro, you can save it for later usage on a file (or within your .emacs). The steps to follow in order to get this work, is (1) give a name to the macro, (2) insert it into a buffer.

M-x name-last-kbd-macro RET my-cool-macro-name

then (what I usually do), open a buffer for saving it and insert the macro into it

C-x C-f ~/my-buffer.el ;;open a new (or existing one) file.

M-x insert-kbd-macro RET my-cool-macro-name ;;insert the macro into the buffer

C-x C-s ;;save the buffer

Now, it’s time to use the saved macro. If you have saved it in your .emacs you’ll have it ready on every emacs startup, otherwise it’s enough to load the .el file when needed (I prefer this way)

M-x load-file RET ~/my-buffer.el

Possibly related posts: (automatically generated)

[emacs] save a macro « /home/edivad

FAQ

What is  about Gioorgi.com?

Last Update: May 2011

We try to write a series of articles focused on the  programming languages and freedom. The subject is vast, our mayor articles are about software, economy and politic (mostly italian politic, anyway),

As a  plus, our old and evil italian and greek teachers (we have done classic study at the college)  talked all day about fundamental concepts like:

  • Bring proof of what you are saying
  • Be polite and compact and write in a correct grammar.
  • Be open to comments
  • Be ready to change your mind

We try to follow these rules in every piece of this site.

How is it big Gioorgi.com?

We plan to have over 300 articles for the end of 2009.
At the time of writing we have collected about 220 articles.

What is your preferred language?

For writing at Gioorgi.com, English is the preferred language (we have the vast majority of posts in English)

The other major language is  Italian, mostly used for politic-related articles.

Can I contribute?

For sure! Leave a request  on any page, along with an e-mail, and the Editorial board will contact you.
We suggest to write a small abstract (200 words or so) about what you want to write. English is the preferred language, but also Italian is allowed.