I'm trying to code up an Emacs script that has to manipulate the clipboard (just getting the last entry and manipulating it as a string). The problem is that I work on Linux (at home) and Windows (at work). In Windows, I have to use the function (w32-get-clipboard-data), whereas Linux uses (x-get-clipboard) for the same purpose (and each...
Rinari hasn't been updated in the last few months, and there doesn't seem to be such progress made in the branches on github.
I've never tried emacs-rails, but from what I can see, the same applies.
So, is there a rails mode somewhere that's compatible with v3 ?
...
Why is Ctrl+M bound to Enter in Ubuntu Jaunty? How to turn it off?
I'm using Emacs and would like to bind Ctrl+M to some other command.
...
When I use grep-find it opens another window (area in the frame) with a list of results that I can select. When I select one it opens the target file in a different window than grep-find is in.
How can I get the target file to open in the same window as the grep results (replacing the grep results window with what I am actually looking...
Today I've been trying to bring more of the python related modes into
my emacs configuration but I haven't had much luck.
First what I've noticed is that depending on how emacs is
launched(terminal vs from the desktop), the interpreter it decides to
use is different.
launched from kde menu: M-! which python --> /usr/bin/python
launche...
Hi, I often have multiple processes running (R, Python, eshell/shell), and for each I often have an associated script from which I send snippets. For this purpose I usually split each frame into two windows vertically so that my script file (e.g., .py) is in the top window and the REPL or interactive program is in the lower window (e.g.,...
I'm trying to compile CEDET from CVS for Emacs 23.1.50 on Windows and I've got error on "Step 6: Turning on EDE...": "defvar: Symbol's value as variable is void: cedet-menu-map". Compilation of CEDET 1.0pre6 raises the same error.
...
Hi,
I'm writing a plugin for emacs to compile and run a java source file with one keystroke.
Now I would like to find out the name of the main class or if there is none.
Anyone knows how to match a java main class name with regexp?
My first thought, in pseudo code regex is
find the first word preceded by "class " and succeeded by "{"....
I'm trying to use ack-grep as a replacement for grep + find in Emacs on Windows, but ack-grep exits immediately (successfully) without printing any matches. I've tried just about every conceivable combination of command-line parameters to ack-grep, but nothing seems to work.
M-x grep-find
Enter "ack html" to search for files containin...
How to debug python programs in emacs?
I use python-mode.el
I get reference like
import pdb; pdb.set_trace();
but not sure how to use it.
...
I am using emacs in ido-mode. When selecting a desired buffer, instead of the buffer showing up in the current window I will be taken to a separate frame and window in which the buffer is already open. Is there a way to modify (turn off) this behavior? It seems like something I expect from (pop-to-buffer) but in ido.el there is no such r...
Hi,
I've downloaded and installed the GnuWin32 tools, and added the grep executables to the Emacs bin. I've also, for what its worth, added the GnuWin32 bin folder to my Path variable.
Problem is though, when I try and run with suggested grep commands, I always get:
Grep exited abnormally with code 53 at Wed Feb 24 17:16:12
For the ...
I use Emacs remotely using X-Server in a Windows client and Linux server. I noticed that I can halt it using ctrl-z and then type fg 1 to get it working again. Is there some way that I could get it to halt on the machine that I am on, and then log into a different machine and start where I left off? When I start a new ssh session, the...
I use python debugger pdb. I use emacs for python programming. I use python-mode.el. My idea is to make emacs intuitive. So I need the following help for python programs (.py)
Whenever I press 'F9' key, the emacs should put "import pdb; pdb.set_trace();" statements in the current line and move the current line to one line below.
Senten...
How do I make the cursor in Emacs a black box with underneath text displayed in white?
like so:
screenshot is from the Carbon Emacs package, but I want the same behavior in Cocoa Emacs 23
...
When I start emacs, I can use the --title= option to control the title of the x-window that holds the emacs application. Is it possible to change the title after emacs starts from elisp?
...
Hi All,
I have a question regarding how to "gracefully exit SLIME", when I quit Emacs. Here is the relevant portion of my config file:
;; SLIME configuration
(setq inferior-lisp-program "/usr/local/bin/sbcl")
(add-to-list 'load-path "~/Scripts/slime/")
(require 'slime)
(slime-setup)
;; configure SLIME to gracefully quit when emacs
;;...
Hey,
I have the following function and keybinding in my .viper file:
(defun th-change-to-regexp (regexp)
(interactive "s")
(kill-region (point) (progn
(re-search-forward regexp nil nil 1)
(- (point) 1)))
(backward-char)
(viper-insert))
(define-key viper-vi-global-user-map "ct" ...
Hi!
I've seen questions here about moving the cursor from window to window with C-x o and M-- C-x o. Fine.
I want to map that to C-TAB and C-S-TAB.
This is what I added to my .emacs:
(global-set-key [C-tab] 'other-window)
(global-set-key [C-S-tab] '(other-window -1))
C-tabworks, but not C-S-tab.
The minibuffer tells me:
Wrong typ...
The problem is - I like old goods ;)
Having some old laptop which I just LOVE. It runs Xorg of course, and it's fast. But Intellij IDEA is still slow.
Thought about emacs, but never used. Isn't emacs too complicated?
Going to work in text mode under X in many windows and make some scripts to automate things.
...