emacs

Emacs 23.2 with ECB 2.40 | File error: Cannot open load file, semantic-ctxt

How I can use the Emacs Code Browser v2.40 with my fresh installed Emacs 23.2 (Debian distro) In my init.el I have: (semantic-mode) (add-to-list 'load-path "~/.emacs.d/plugins/ecb-2.40") (require 'ecb) When I run Emacs, I get an Error message on statrup: File error: Cannot open load file, semantic-ctxt I have read CEDET suite...

query-replace for macros in emacs?

I use the builtin f3/f4 bindings in emacs a lot to record and repeat macros, and find it to be a very powerful and useful feature, especially when combined with search. However, I noticed recently that whenever I do a query-replace (M-S-5 by default) that recording my macro stops! Is there a way to prevent this? I know that query-replace...

Open a file at line with "filename:line" syntax

Very often, compilations errors are displayed with the file:line syntax. It would be nice to copy-paste this directly to open the file at the right ligne. Emacs already has some mode to handle this in buffers (compile-mode, iirc), but I would like to have this available from the shell command line, since I use the standard shell most ...

Emacs: help me understand file/buffer management

I've been using emacs for all of my text editing needs for the past three years now. When I'm in a single file, working on code or whatnot, I'm fairly efficient. With two files, I can "C-x b RET" between them and I do fine. However, whenever I need to be working on more than two files at a time, I tend to get lost. Here are some of the...

Copy and Paste Foreign Characters

How do I copy foreign characters (like Chinese, German, etc) from my browser into Putty (Emacs)? ...

Running pyflakes remotely with flymake and tramp in emacs?

I'm trying to use flymake to run pyflakes, as suggested here: http://www.emacswiki.org/cgi-bin/wiki/PythonMode#toc9 This works fine for local files, and almost works with remote files with a bit of tweaking, but I'm left with a problem where flymake/pyflakes 'modifies' the buffer when it runs (although nothing actually seems to change),...

How to use emacs as my JAVA IDE ?

I would like to use emacs instead of Netbeans which gets too bloated on my computer. I already got JDEE, I did not digg it, but it looks like it lakes : Classes testing : run a class which has a main method, but which is not the main class of the project Maven integration : this is a minor wish as Netbeans doesn't support maven that we...

Emacs scrollbar customize

Hello, I customized my emacs, fonts, background and etc... But scrollbar remained the same color that was. How to change the color of scrollbar? Thank you. ...

How do I adjust cperl mode indentation in Emacs to match Moose examples?

How can I set up cperl mode in Emacs so that the indentation after brackets, e.g. has 'name' => ( is => 'rw', isa => 'Str', required => 1, ); (default indentation) becomes more like that seen in, for example, the Moose manual, e.g. has 'password' => ( ...

Shift a region or line in emacs

Hi, I'm looking for a way in emacs to shift text to the right or to the left by n spaces. A similar functionality that it in vim << or >>. It should work on a region or if no region is selected on a current line and not move the cursor from its current location. The solution from EmacsWiki does not work very well as the M-x indent-rigi...

Is there a way for Emacs to autocorrect R commands

I'm a relatively new user to R and Emacs and was wondering if Emacs could automatically correct any R commands that i've typed wrong. I know about the alt-/, but I was more thinking along the lines of if i type read.tale, it corrects it to read.table. Also, I was using emacs the other day and whenever i typed read.table, it showed the u...

Indenting nested namespaces on the same line to just one level

In emacs 21: namespace Abc { namespace Def { class X; namespace Ghi { class Y; } } } But now in emacs 22.2.1: namespace Abc { namespace Def { class X; namespace Ghi { class Y; } } } How do I get the old behaviour back? Note that I don't want a fixed column for indentation...

emacs: copying text (without killing it)

In Emacs, how do I copy a region of text (to paste it in another buffer) without killing it (for example: the file I want to copy from is opened in read-only mode, so killing it isn't an option). ...

Can ECB be restricted to "take over" only the current buffer when it's activated?

From the get go: sorry if I'm not using the proper emacs terminology -- I'm relatively wet behind the ears in the emacs world. Most of my work in emacs is for programming R, and I'm using ESS and ECB to do so quite happily. I'd like to build a custom ECB layout which uses the entire bottom of the screen as my R console, while putting so...

Wrong type error in dbus method (GNU Emacs)

Hi all, I am writing an elisp file to integrate GNU Emacs with Zeitgeist over dbus. Because of the lack of good documentation on dbus in emacs and my lack of experience with advanced elisp, I am coming up with the following error in my method zeitgeist-send: Wrong type argument: D-Bus, (zeitgeist-event-timestamp) I have tried cor...

Emacs, ESS, R -How did i do this?

http://picasaweb.google.com/lh/photo/F-p2qK3itxJsgj1tLLGsow?feat=directlink If you look at the picture, theres this usage bit from the R help files at the bottom in the minbuffer. howd i do that? it somehow just appeared, maybe cos i mashed the keyboard trying to run the commands. It disappeared when i restarted emacs:( thanks ...

Emacs global configuration of tabs

I'm attempting to switch from Vim to Emacs, but I'm tearing my hair out trying to configure it to treat tabs how I wish. I require: Inserted "tabs" to be expanded into two spaces. Emacs stubbornly sticks to eight, no matter what I do. Tabs (i.e. real \t characters) to be represented on screen by two spaces. Pressing TAB should insert...

can i modify the color of emacs mini buffer?

i like emacs in terminal,but the blue color of mini buffer is hard to see clearly. really need it,thanks for help! ...

[emacs] retain window configuration for nav-mode?

I often have my emacs frame split vertically so that I have R or Python running in the lower window and a script open in the upper window. When I invoke nav-mode, this configuration is lost. I wonder if there is an easy fix to have nav-mode retain this vertical-split configuration when it opens its own window to the left. ...

is there a way to get the colour theme from the R GUI into Emacs?

I find it hard to sort through all the messages in the R frame(?) in emacs, and I was wondering if it'll be easy to change the colours so that it looks more like the R GUI. Thanks ...