The challenge of upgrading from Emacs 21.2 to 23.2 continues... In my .emacs I have the very convenient:
(global-set-key (quote [f4]) (quote dired-omit-toggle))
It used to work since Emacs 18... but it no longer works in Emacs 23.2:
Lisp error: (void-function
dired-omit-toggle)
Any idea how I can replace this functionality in ...
I'm trying to learn org-mode and noticed my files are folded neatly when I exit emacs. When pressing S-TAB in an attempt to unfold the entire file, I get the following error message in the mini-buffer: M-[ z is undefined. Googling the error wasn't helpful. Any idea where the hiccup is occurring and how I might fix it?
I'm using Mac OS X...
There has got to be a better way to indent a block of code for stackoverflow posts using Emacs. My current strategy is to:
Select a text region
execute M-x indent-code-rigidly
run C-x z three times to reindent the region
This seems brain-dead. Please enlighten me as to how to make this happen in a clever and elegant manner.
...
Hi,
I am working on a large c++ project. I am working with emacs for the last six months.
I have try to configure CEDET so as to be able to navigate easily but i have found some problems.
1.- Sometimes semantic does not find some symbols and sometimes he don't ... i do not know clearly which files is semantic indexing.
I have tried to...
I am working on an emacs mode for a review tool, and want to use ediff for viewing diffs... the problem is that the review tool only yields a diff, rather than old and new files. I'd like to put the old file in a buffer and apply a diff rather than copying the file, calling out to diff as a subprocess and loading it into a separate buffe...
I need to comment out some blocks of code in Python.
How can I do that with emacs? How can I prepend # character at the start of each line of a block?
...
This article has the mention that "We say Emacs has redo because you can reverse direction while undoing, thereby undoing the undo.".
What does this mean? How can the user can 'redo' with emacs?
...
Does emacs has the feature of 'open recent'?
I see that Aquamcs of Mac OS X has the open recent as a part of its menu. But, I'm curious all the emacs have this feature.
...
I set up my Emacs for Clojure using the instructions at Clojure's web site. I used the first option in setting up the inferior-lisp-program variable, basically "java clojure.main".
With this setup, C-c C-z works in getting me to the Clojure REPL. However, when I'm editing a file and I type C-c C-l to load the file into the REPL, Emacs ...
In org-mode, pressing M-S-RET (meta-shift-return) will create a new TODO on a new line. This key sequence sends M-RET to emacs through my terminal. I've checked this with C-h c ESC-S-RET, which returns M-RET is undefined in the mini-buffer.
I'm using Snow Leopard with Emacs 23.2.1 running in Terminal.app. There is no option to define a ...
I recently added Emacs (delete-trailing-whitespace) function to my 'before-save-hook for some programming modes, but I find it rather frustrating that it deletes whitespace from the line I am currently editing. Any suggestions as to how to fix this problem?
...
I just set up a new emacs installation, installed ELPA and installed swank-clojure with using ELPA. Although Clojure 1.2 is released, when I hit "M-x slime", it still downloaded Clojure 1.1 for me instead of 1.2
How do I get it to use 1.2 now that it's available? Do I have to do it manually? Do I have to wait for slime/swank to be updat...
How can I get into the C++mode automaticaly when open .h files?
I uses emacs23.2 in fedura6.
I open .cpp file use C-x C-f xxx.h .
...
GNU Emacs on Mac OS X, by default, uses the control key as CTRL, and the command key as META. This drives me crazy, because my MacBook Pro contains only a single control key on the left, while I'm used to having a control key on both sides of the keyboard.
With my GNU Emacs installation, I was able to modify the variables mac-control-mo...
Surely an alternative or superior package exists for Emacs?
...
Hello,
For some reason I got the default M-del key binding for backward-kill-word mapped to a scan for matching brackets and resetting is not working, so I am trying to set the global key binding in lisp. So I wrote in ~/.emacs.d/init.el the lisp commands:
(global-set-key (kbd "M-h") 'backward-kill-word)
(global-set-key (kbd "M-<\dele...
When I try to close emacs I get the message
"buffer ido.last modified; kill anyway?"
and whatever I answer, emacs stays open. But I can't open this buffer and the ido.last file doesn't exist. How can I get my emacs closed?
...
This problem is killing my productivity.
The Emacs Starter Kit automatically enables hl-line, which highlights the current line. It makes me unable to see the highlighting on the current line.
I've tried setting (global-hl-line-mode nil) and (hl-line-mode nil) globally and added to the mode hooks such as clojure-mode-hook, but it still...
Hello everyone,
I'm trying to print a page with very long lines in emacs. Someone out there has never heard of the 80 columns rule, and now I'd like to print that file. I'm using the ps-print-buffer-with-faces command
When I launch this command, I get lines wrapped in the middle of words. Extremely uncomfortable. But if I use the longl...
I want to show a directory in Dired with some sub-directories opened recursively (as if I passed "R" option for them). Is it possible to do this in Emacs? Any ideas how to implement this easily in Elisp?
In windows explorer I would press '*' in folders window to open a directory recursively (of course only sub-directories are visible, n...