i have currently switched over to emacs (aquamacs) and am in the process of migrating my entire workflow into it one step at a time (org-mode, dired, etc., from pathfinder, notational velocity, etc.).
the one thing i have yet to try (and seems to be the biggest obstacle thus far) is the built-in emacs shell (shell and/or eshell, here on...
I've been trying teach myself emacs, and because I am using dvorak, I foolishly rebound C-c to a movement key and got used to it. Now i'm actually starting to do some programming with it, and I loaded up a python file and noticed that C-c is the prefix to all the special commands in python-mode.
Can I rebind the prefix key and change al...
I happened to be writing something like this:
int main( int nargs, char **args ) {
int i, j;
if ( i > 0 && NEAR( i-1, j ).dist == INFINITY )
{
NEAR( i-1, j ).dist = 1.0;
NEAR( i-1, j ).X = i;
NEAR( i-1, j ).Y = j;
newWorkPoints.push_back( IPoint( i-1, j ));
}
if ( j > 0 && NEAR( i, j-1...
Today I saw a neat copy function in VI, in which you could copy an entire line until a stop character.
e.g. if( copy == this );
With VI he could copy everything inside the parenthesis. I wonder if you can do it with emacs as well? (Without using ctrl+space and manually marking what I want to kill)
...
I'm running emacs on a terminal mode (no window system) emacs -nw. I've few global keys defined in emacs like C-; C-x C-/ C-, etc.. These control keys aren't taken for account in -nw mode. Any work around or solution please ?..
...
I'm having some issues with rgrep/find on emacs. Any search returns 0 results, with this message:
The filename, directory name, or volumn label syntax is incorrect.
Grep finished with no matches found.
I am using the find bundled with cygwin, so I'm curious if me entering d:/workspace is breaking because find is using cygwin for dis...
I usually work fullscreen with Vim and Emacs on a 30" monitor which means I tend to have a lot of splits. The active pane's modeline changes background in Vim and Emacs, but sometimes that's not an easy to see indicator of the active pane.
Is there a way to change the background color of the active pane so I can easily, at a glance, se...
I'd like to be able to open two windows in Emacs, select a region of text in each window, and get a comparison of the difference between the two selections.
This would be very handy for a large-scale maintenance project, where I'm working on a version tree with multiple branches, lots of copy/paste, and code that is being moved around ...
Hi,
What would be the easiest way to have the same kind of behavior that is in vim for the word back and forth navigation? In vim when you press "w" it moves a cursor forward one word, where word consists of a sequence of letters, digits and underscores, or a sequence of other non-blank characters, separated with white space (spaces, ta...
Let's say I am editing blah.txt with Emacs and I decide to open dired to rename the file blah.txt. When I press C-x d RET (or C-x C-f RET), a dired buffer will show up to display the content of the directory containing blah.txt, but the cursor will not be on blah.txt. So I need to search my file first (C-s blah.txt) to place my cursor on...
I'm trying to byte-compile cc-mode 5.31.3 using emacs 23.1.1 as follows:
$ emacs -batch --no-site-file -q -f batch-byte-compile *.el
But two of the files are failing to compile (in addition to numerous warnings):
In c-init-language-vars-for:
cc-mode.el:168:10:Warning: Function `mapcan' from cl package called at runtime
cc-mode.el:16...
Unlike windows style self explanatory copy/cut/paste commands, I could not understand ring concept in emacs.
Since I don't program very often in emacs, I could have not realized the value of ring feature. Can you tell me what is called ring in emacs and how to use it?
...
Hi, I am trying to find a quick elisp fix that makes w3m under Emacs swap default behaviour of UP/DOWN arrows (moving between hyperlinks in loaded page), with C-n/C-p (moving to next and previous line in the page). These key-bindings must only apply when focus is in a w3m buffer.
Intuitively this configuration would work better for me...
The title says it all! Do there exist an emacs mode for openoffice.org (compressed) package files? For instance, it could decompress each of the included xml files, and open each of them in its own buffer?
...
I use the emacs command 'highlight-compare-buffers' to see the changes between two files. But I don't know how to turn the highlighting off. It seems like it should be really easy, but I can't seem to figure out how even with lots of googling and searching the emacs help files.
...
I'm using emacs.app 23.1.1 on OsX and trying to use git within a shell.
When I use a command like git log-p, I get
WARNING: terminal is not fully functional
- (press RETURN)
I also get something similar with git commit and I'm forced to use git commit -m.
How can I configure emacs.app so this works within its shell?
...
I installed emacs C# mode.
The .emacs file is as follows
(require 'csharp-mode)
(setq auto-mode-alist
(append '(("\\.cs$" . csharp-mode)) auto-mode-alist))
(defun my-csharp-mode-fn ()
"function that runs when csharp-mode is initialized for a buffer."
(setq default-tab-width 4)
)
(add-hook 'csharp-mode-hook 'my-csharp-mode-f...
I tried following the advice gathered from Google searches but I am not able to get it to work. My ~/.emacs.el file contains the following:
;; Set color scheme
(require 'color-theme)
(load-file "/home/manoj/Dropbox/conf/themes/color-theme-chocolate-rain.el")
(color-theme-chocolate-rain)
;; Set font
;; (set-default-font "-unknown-Incons...
What is the emacs equivalent of vi's dd? I want to delete the current line. Tried CTRL + k but it only deletes from current position.
...
I'm on a Macintosh and am using "terminal" for my shell. When I copy text from any window (via mouse drag then right mouse button menu -> copy) and then I paste the text (right mouse button -> paste) into a terminal with emacs running, it doesn't act as a paste. Instead, it is just like entering or typing in text. The problem occurs w...