emacs

changing .emacs to use IronPython.exe and using code completion for IronPython modules ?

I configured my Emacs for code completion and other help using this link (from another question here on SO). I am a complete newbie to emacs. Can anyone tell me what should I change so it (rope, ropemacs, pymacs, yasnippet etc) picks up symbols of IronPython modules for code completion and snippets. Also I want to map: C-x RET - to i...

How to reconnect to slime/swank-clojure session?

It seems that whenever I disconnect from clojure slime session, I cannot reconnect again. I am using leiningen to start the swank session (with lein-swank plugin). So, every time I quit emacs (I know I shouldn't) or reboot/logout I have to restart both slime and swank. Is there a way to re-connect to a slime/clojure-swank session? ...

In AucTeX, new item in itemized list after comment results in commented next item

In AucTeX, when editing an itemized list: \begin{itemize} \item My item % note to self \end{itemize} when I do C-c C-j after 'self' I get: \begin{itemize} \item My item % note to self % \item \end{itemize} when I want: \begin{itemize} \item My item % note to self \item \end{itemize} Is there a setting a can modify to make t...

Why would you use Dropbox but also Git for your Emacs initialization file?

I hear a lot of Emacs users have their init file (.emacs or init.el) under git version control and sync the git repository over Dropbox, when they run Emacs on multiple systems. Why would you use git in this situation exactly? Usually checking which system you're on and which things to load and set depending on that can happen in one a...

emacs: x-popup-menu max size constraints?

I'm working on an intellisense or code-completion capability for C#. So far, so good. Right now I have basic completion working. There are 2 ways to request completion. The first cycles through all the potential matches. The second presents a popup menu of the matches. It works for types: And also for local and instance variabl...

Finding where varables have been declared in what file?

Hello, GNU Emacs 23.1.1 I am maintaining someones code. There are many files and directories for the headers and source files. I am wondering if there is a easy way to use emacs that when I highlight a variable name I can go straight to where it is declared? Some of the structures I am working in are declared in other header files, r...

What are useful Emacs features for Rails development

What Emacs feature(s), packages, add-ons, etc. helps you in your daily Ruby On Rails development? ...

How can I background the R process in ESS / Emacs?

I often run long R scripts when I start my R environment. I would like to be able to load / run the R script in Emacs / ESS and continue other work in another buffer. When I press C-g or C-c C-c the process is interrupted, and I must restart the script. What is the best way to background the R process in ESS / Emacs? EDIT: Thank you ...

Parsing whole project with semantic

I'm searching for a way to parse the whole directory with source code with semantic. Is this possible to do without explicitly opening each file in emacs ? ...

How to set up Erlang + Emacs with erlang.el?

I have downloaded and installed Erlang and EmacsW32. But how do I use erlang.el in Emacs? Where do I place it or install it? I have read Erlang/OTP R13B04 documentation and Erlang mode for Emacs documentation but I haven't found any information about how to set up it. UPDATE 1: I have found more documentation on The Erlang mode for Ema...

Can I customize the indentation of ternary operators in emacs' cperl-mode?

In emacs cperl-mode, ternary operators are not treated specially. If you break them over multiple lines, cperl-mode simply indents each line the same way it indents any continued statement, like this: $result = ($foo == $bar) ? 'result1' : ($foo == $baz) ? 'result2' : ($foo == $qux) ? 'result3' : ($foo == $quu...

like-vim emacs ruby indentation

ruby-mode from svn, looks equal to 1.1 version here is emacs indentation of hash User.all({ :joins => :account, :conditions => {:delete_at => nil} }) here is the same in vim User.all({ :joins => :account, :conditions => {:delete_at => nil} }) How to make emacs indent like vim in ruby-mode? ...

emacs cedet set up doubt

Hi, I installed cedet successfully today and got most of it working; thanks to Alex Ott's Gentle Introduction to Cedet. However i am having a problem When I give the exact path relative to the current file i am working on then auto-completion is working fine. #include "../../opensource/inc/lldp_port.h" void test_func() { lldp_por...

How to configure emacs behind an authenticated http proxy?

There's another question that answers this though it doesn't specify anything regarding proxy authentication. Its solution is (setq url-proxy-services '(("no_proxy" . "work\\.com") ("http" . "proxy.work.com:911"))) ...

Does ClojureBox support auto-align out of the box?

I am switching to Clojurebox to edit my clojure files. However I can't get the automatic alignment to work. I want the cursor to move two spaces after the line that I am editing when I hit return. ...

infinite loop shutting down ensime

When I run M-X ensime-disconnect I get the following forever: string matching regex `\"((?:[^\"\\]|\\.)*)\"' expected but `^@' found and I see this exception when I use C-c C-c Uncaught exception in com.ensime.server.SocketHandler@769aba32 java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Nat...

Emacs : problem with tags file ?

I am using ctags to create tags for my Emacs to read symbols from, using cygwin. Emacs says "visit-tags-table-buffer: File /home/superman/tags is not a valid tags table" here are my options to find files and generate tags. $>find . -type f -regex '.*\.[hc]\|.*\.cpp' -print0 | xargs -0 ctags -e --extra=+q --fields=+fksaiS --c++-kinds...

More than one emacs terminal

I am getting more and more used to doing everything from inside emacs, but it seems that eshell, shell and term will only run one instance each. Is there a way to run multiple terminals (preferably term) inside emacs? ...

How can I run Octave under Emacs on Windows (Vista)?

Hello, I installed Emacs 23.1.1 and Octave 3.2.3 on my computer running Vista. To make Emacs find Octave, and to make Octave's prompt what Emacs expects, I added the following to the end of my .emacs file: (setq inferior-octave-program "C:/Octave/3.2.3_gcc-4.4.0/bin/octave-3.2.3.exe") (setq inferior-octave-startup-args (list "--eval...

emacs: is there a semantic-jump-to-declaration (using semantic.el)?

Suppose I am editing a buffer containing C code. I have started semantic with semantic-load-enable-code-helpers . I have point placed on the name of a function . If I then invoke senator-jump I can jump to the place where that fn is first declared, in that module. If there is an extern declaration in that module, then it goes to tha...