emacs

Emacs: TODO indicator on left fringe has a strange side-effect - deleting characters

I just read Emacs :TODO indicator at left side, and tried it out. It seems intriguing. The little indicator triangles appear, but I'm getting a weird side effect: the text itself is being altered. Characters are being deleted. Before: After: The mode-line does indicate that the buffer has been altered after running annotate...

C++ Lib/Headers in Emacs

Hi, Where could I find C++ libraries in my emacs? I have already installed emacs on my computer and already using it lately. I just want to add boost libraries in emacs so I could use them. ...

Emacs swap row position

Hi, how can I change the rows position such as the following: This is the first row And this is the second Into And this is the second This is the first row ? Thanks. ...

How to setup custom font in emacs?

I would like to use Proggy font for my programming in Emacs. How can I set it up? Please note it is a bitmap font. ...

Emacs - Can't get buffer-offer-save working

I would like to have Emacs ask me whether I want to save a modified buffer, when that buffer is not associated with a file. To open a new buffer (not visiting a file) I have the following function in my .emacs file: ;; Creates a new empty buffer (defun new-empty-buffer () "Opens a new empty buffer." (interactive) (let ((buf (gene...

Emacs Style "artist-mode" for Eclipse?

Is there anything that resembles Emacs' artist mode available for Eclipse? ...

dired mode single window? (emacs)

Hi, is there a way to have dired operate in a single window so that when I traverse through directories I don't have n number of dired buffers for the intermediate directories? However - if I start another dired buffer in a completely separate directory (from the minibuffer rather than hitting [enter] on a subdirectory in an already open...

What elisp or macro magic can make this text transformation?

I have a set of SQL statements formatted like so: INSERT INTO reports.workload (workload_id,event_time,event_type_id,agent_id) VALUES (-42000,'2010-02-23 07:30:38.941436',1,NULL); Right now, the VALUES tuple is aligned at the start with the column name tuple. However, what I want is to have the tuple's el...

Emacs: Is it possible to browse images in a directory? On Windows?

I read about auto-image-file-mode , which I think displays image files as images within emacs. I'd like to use it. This doc says it has been replaced by image-mode. I can't get either to work. Any help? ...

Emacs: highlighting TODO *only* in comments

This question is related to another one, Emacs :TODO indicator at left side. I recently came across a minor mode I like a lot called FixmeMode. It supports auto highlighting of TODO marks, and navigating between them. However, I think it makes more sense to recognize the "TODO" strings only in comments, rather than polluting the whole fi...

Emacs + js2-mode: disable indenting completely?

I'm using js2-mode for working with javascript in emacs and for the most part it's very useful. However, the indenting methods are terribly frustrating when working with jQuery, closures, and JSON... for instance, code that I wish to be indented like this: var foo = jQuery('#mycontainer ul li').each(function(el){ var bar = el.html()...

How can I get emacs to open a new buffer quickly?

I'm not sure that's a great title so I'll describe what I'm trying to do. I used to be able to open a new buffer in Emacs quickly using the command C-x b <non existent buffer name> Somehow I've broken this in my version of Emacs (23.1). When ever I try to do this now I get the message [No match] in the command buffer. Does anyone kno...

Jump to function definition in Emacs + Slime/leiningen-Swank + Clojure

I'm using Emacs with clojure mode and slime connected to a swank server produced by running lein swank and would really love to be able to easily jump to function definitions within my project. Can I do this with out having to manually rebuild tags every time I change branches? ...

Other editors that can use slime/swank?

I have been quite happy with Emacs/slime+swank for a long time, and was just wondering if there are any other editors/IDEs that can connect to a swank instance? ...

Can I connect two emacs/slimes to the same swank instance?

when I start swank through leiningen it accepts the next slime connection and off I go. I would really like to have several emacs instances connect to the same swank instance. Can I do this? can I do this through leiningen? ...

Emacs collaborative buffers open in the wrong mode

I am using Emacs and Rudel to collaborate with a remote programmer. Rudel has a concept of published buffers. When my partner publishes a buffer, I can subscribe to it and the we can both edit it simultaneously. My problem is that when he publishes a Python file with a *.py extension and I subscribe to it, my buffer is not set to pyth...

Emacs recursive project search

I am switching to Emacs from TextMate. One feature of TextMate that I would really like to have in Emacs is the "Find in Project" search box that uses fuzzy matching. Emacs sort of has this with ido, but ido does not search recursively through child directories. It searches only within one directory. Is there a way to give ido a root...

personal dictionaries in emacs flyspell-mode

I'd like to make flyspell aware of certain words I use frequently--like foreign proper names, etc. But I don't want flyspell to think that this list is a complete dictionary; rather I'd like it to take the union of this list and its default dictionary. How can I do this? ...

matlab script editing

Hi, I would like to edit matlab scripts in two cases (1) In matlab Command window running in a linux terminal, how to create and edit a script file? use edit(filename) will invoke the interactive editor, which is not desired while operating on a linux server. (2) In emacs, is there any way to edit matlab script conveniently? Which ...

Emacs batch publishing with Rudel

I am using Emacs and Rudel to do remote pair programming. In order to publish the current buffer with Rudel you do: M-x rudel-publish-buffer Likewise the other person must subscribe to each buffer one by one: M-x rudel-subscribe RET <buffer name> RET Is there a way to publish or subscribe to all buffers with one command? ...