Be Open Source
Posts tagged emacs
Dos to unix in emacs
Mar 23rd
To convert an Emacs buffer from DOS line endings to Unix, type C-x [ENTER] f unix [ENTER].
Emacs 23 is out!
Jul 30th
“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 More >
yasnippet – Google Code
Jul 6th
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.
[emacs] save a macro « /home/edivad
Dec 26th
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 More >
Comments / Commenti