emacs

Anything similar to Emacs' buffer/window support for Eclipse?

I'm trying to make the switch from Emacs to Eclipse. One thing that seems to be missing is its buffer/window support. I know in Eclipse I can drag an editor's tab title over to split the view, creating the equivalent of a new Emacs window, which is a step in the right direction. I can't find any key bindings for this functionality, ...

Searching for marked (selected) text in emacs

I use emacs for viewing and editing code and other text files. I wanted to know if there is a way to search forward or backward for text which is marked in the current buffer. Similar to what I can do in notepad or wordpad. As in can I mark some text in the buffer and do a C-s or C-r and be able to search with the marked text without act...

How do you beat RSI?

I've been worried more and more about RSI lately. Especially of the dreaded "Emacs Pinky" as I'm an avid emacs users. How do you guys beat RSI? I thought we could share ideas for beating this common problem. EDIT: Advice here is not meant to replace advice from a medical professional. If you are having serious pain, go see a doctor. ...

How can I check the syntax of Python code in Emacs without actually executing it?

Python's IDLE has 'Check Module' (Alt-X) to check the syntax which can be called without needing to run the code. Is there an equivalent way to do this in Emacs instead of running and executing the code? ...

Filtering text through a shell command in emacs

Hello, In vi[m] there is the ! command which lets me pipe text through a shell command -- like sort or indent -- and get the filtered text back into the buffer. Is there an equivalent in emacs? Thanks, Rohit ...

What is the key sequence for closing the current buffer in EMACS?

If I click on File -> Close, it closes the buffer like I want, but doesn't list a key mapping. What is the key mapping? ...

Why should I use an IDE?

In another question, Mark speaks highly of IDEs, saying "some people still just dont know "why" they should use one...". As someone who uses vim for programming, and works in an environment where most/all of my colleagues use either vim or emacs for all of their work, what are the advantages of IDEs? Why should I use one? I'm sure thi...

Good Resources For Emacs.

So to give a bit of context, I'm a programmer and my work has me constantly switching between my laptop (Mac OS X) and Linux/Windows machines. I really would love to find a good text-editor for all of these, I've tried vi and it's a great editor for my basic tasks but since I'm doing programming I wanted something a bit more geared towa...

How do I pass a function as a parameter to in elisp?

I'm trying to pass one method to another in elisp, and then have that method execute it. Here is an example: (defun t1 () "t1") (defun t2 () "t1") (defun call-t (t) ; how do I execute "t"? (t)) ; How do I pass in method reference? (call-t 't1) ...

Emacs JavaFX Script mode?

Does such a major mode exist? ...

How can I change the language in Emacs when using ispell?

I would like to use the ispell-buffer command in Emacs. It uses the english language by default. Is there an easy way to switch to another dictionary (eg another language)? ...

Does anyone have emacs style keybindings setup in Visual Studio 2008?

I'm looking for a .vssettings file that has emacs keybindings in it so that a member of our development team can use them. Anyone already have one setup they can share? ...

Emacs Lisp: How to add a folder and all its first level sub-folders to the load-path

If I have a folder structure set up like this: ~/Projects emacs package1 package1-helpers package2 package2-helpers package2-more-helpers package3 package3-helpers How do I add these folders: ~/Projects/emacs ~/Projects/emacs/package1 ~/Projects/emacs/packag...

Best Common Lisp IDE

I've used Slime within Emacs as my primary development environment for Common Lisp (or Aquamacs on OS X), but are there other compelling choices out there? I've heard about Lispworks, but is that [or something else] worth looking at? Or does anyone have tips to getting the most out of Emacs (e.g., hooking it up to the hyperspec for easy ...

determining the line terminator in emacs

I'm writing a config file and I need to define if the process expects a windows format file or a unix format file. I've got a copy of the expected file - is there a way I can check if it uses \n or \r\n without exiting emacs? ...

Re-open *scratch* buffer in emacs?

If I accidentally closed the scratch buffer in Emacs, how do I create a new scratch buffer? ...

How can I run Cygwin Bash Shell from within Emacs?

I am running GNU Emacs on Windows so entering: M-x shell launches the Windows command-line DOS shell. However, I would like to instead be able to run the Cygwin Bash Shell (or any other non-Windows shell) from within Emacs. How can this be easily done? ...

Finding the Unicode codepoint of a character in GNU Emacs

In XEmacs this is done by the calling the function char-to-ucs on a character. GNU Emacs does not seem to have this function. In GNU Emacs, characters seem to be ordinary integers. Running C-x = on a latin character reveals that the Emacs codepoint is different from the Unicode codepoint for the corresponding character. How do I find...

Fontifying variable references within string literals in Emacs font-lock-mode

When I type the following code in Emacs ruby-mode, the "#{foo}" is fontified in a different color than the enclosing string. How do I do this in my own Emacs mode? I tried to decipher the ruby-mode source code but couldn't understand it in a reasonable amount of time. "a #{foo} a" ...

Are there any emacs or vim editors with code completion plugins for C#?

It would be nice if it did both a list of methods to choose from and the list of potential input parameters. This was done for powershell and I was curious if there was any similar functionality implemented for emacs or vim? Clarification: A fellow developer I work with wants to use either vim or emacs for the low overhead without run...