This tag is associated with 8 posts

Numbered lists in Emacs

Imagine that you’re using Emacs and you have a list of items that you would like to convert into a numbered list. We’re going from: first second third To: 1. first 2. second 3. third Obviously, there are many ways to achieve this, but one is to use the Emacs Keyboard Macro Counter. Put the … Continue reading

PHP Mode for Emacs – Flymake

I always find flymake extremely useful when editing code in Emacs. In this period, I’m working a bit with PHP and I’ve immediately thought that enabling flymake for Emacs was indeed a good idea. Well, someone has apparently already thought about it, so everything you need to know about it is explained here. I tried … Continue reading

How to integrate Firefox and Emacs

Sometimes, when you edit a textarea on a web page (for example, to write a new post on your blog), you would really like to use an external text editor for that. I personally love Emacs, I’m addicted to its shortcuts and key bindings and I would love to use it, for example, for searching … Continue reading

PHP and Emacs. How to Browse Documentation.

I’ve just started using Emacs for PHP development and the first thing I wanted to do was to browse the official PHP documentation directly from within Emacs. I know that a couple of existing PHP modes claim to offer documentation browsing, but as far as I’ve seen they merely open a browser and point to … Continue reading

Special Pasting in Emacs

Sometimes you want to paste some old content from the clipboard, instead of the last copied thing. In this case, just paste as usual: C-y Then, browse the clipboard history by typing: M-y

SVN Revert within Emacs

If you want to revert your changes to the last revision, just type: C-x v u

SVN View Diff within Emacs

If you want to see the differences for a buffer before committing it, just type: C-x v =

Running Shell Commands within Emacs

If you want to run a shell command within Emacs, you can simply type: M-! If you want to include the output into the current buffer, then: C-u M-!


Get every new post delivered to your Inbox.