emacs

Creating a "counter" in org-mode

Is there any way to have a sort of "counter" in emacs org-mode, preferably one with a target value? I'm basically looking to create a checkbox, but one that doesn't only have the possible values of 0 or 1. For example, let's say that I have a task that I need to do 10 times, for some reason. I'd like to keep track of how far along I am ...

How do I get "rainbow parentheses" in emacs?

Hello StackOverflowers, I would like rainbow parens for editing Clojure in Emacs and since VI does this I assume that in Emacs it should be something like M-x butterfly or something :) ...

Emacs - help() output in web-browser

I started using Emacs (ESS) as a default R editor (yes, @Dirk, as you've said, I want ESS), and I must admit it's by far the best R editor I've been using so far. However, I cannot manage to get an output of help() function up to web browser. It keeps displaying help page in a separate R buffer, even if options(help_type = "html", brows...

Emacs Giving Error on Using Color Themes

Here's the error I'm getting - Windows install, color-theme.el and themes installed. Color-theme-backup-original-values: Symbol’s function definition is void: color-theme- Anyone? ...

Opening multiple files at once in Emacs

In Emacs using ido-mode allows me to open a file from the minibuffer with C-x C-f. This method opens only one file at a time. How do I open all the files in a directory or specify more than one file to open? ...

File path to clipboard in Emacs

What is the most simple way to send current full file name with file path to clipboard? What I am using now is messages buffer: I copy file name that appears there after saving a file. But, I suppose, there should be much more simple way. ...

How to edit multiple strings in emacs at sametime?

I want edit multiple strings at once by selection the list of strings needs to edit. After selection, when I type, it should modify all the text in the selected strings. How to achieve multiple string edit? ...

Opening emacs from prompt always opens scratch

I've changed a setting in emacs and whenever i try to open a file from the command line it opens a scratch buffer on top of the file. is there a way to get rid of this? or a way to reset my emacs startup settings? ...

Printing Colored Characters in Lisp / Emacs

I'm writing a simple connect-4 program in Lisp and ideally each player (red, black) would have their own color when the game state is displayed. Does anyone know how to print colored ASCII characters? How is this done in general? I'm using emacs 23, so the solution might be specific to emacs itself. Anyways, I've checked the hyperspec t...

Move line/region up and down in emacs

Hi, do you know what is the easiest way to move selected region or line (if there is no selection) up or down in emacs? I'm looking for the same functionality as is in eclipse (bounded to M-up, M-down). Thanks ...

emacs vimpulse errors

I've just recently started to use emacs a bit, solely for org-mode. I'm a heavy vim user, so I installed vimpulse to attempt to keep my org-mode usage as close to vim as possible. However, I've been hitting some errors when I try to use some features. For example, if I press V for visual line mode, select some lines, and then push d, it...

Tips and tricks for using emacs to develop a ruby on rails app

What are the best modes, configuration settings, or anything that makes developing a ruby on rails app in emacs better. ...

Add Keyboard Binding To Existing Emacs Mode

I'm attempting my first modification of Emacs. I recorded a little keyboard macro and had Emacs spit it out as elisp, resulting in: (setq add-docstring "\C-rdef\C-n\C-a\C-m\C-p\C-i\C-u6\"\C-u3\C-b") (global-set-key "\C-c\C-d" 'add-docstring) Searching the Emacs reference, though, revealed that C-c C-d is already bound in diff mode...

Emacs, C++ code completion for vectors

Hi, I am new to Emacs, and I have the following code as a sample. I have installed GNU Emacs 23.1.1 (i386-mingw-nt6.1.7600), installed cedet-1.0pre7.tar.gz. , installed ELPA, and company. You can find my simple Emacs configuration at the bottom. The problem is, when I type q[0] in main() and press . (dot), I see the 37 members of the ...

Preview colours in Emacs-ESS

I accidentally managed to get colour names, #HEX, and a colour preview in Emacs. Don't have a bloody idea how, must've pressed some keybinding or menu item... But, now I can't seem to find where's that feature... I'm quite sure I wasn't hallucinating, so it's gotta be there, under some keystroke that I can't reproduce!!! =) ...

elisp macro to write function?

hello I have written few functions, which nearly identical, save for names. For example ; x is name, such as function/paragraph/line/etc. (defun my-x-function (interactive) (mark-x) (do-more-stuff) (modify-x)) is there a way to put it automatically to generate function, paragraph, etc. functions? I have a feeling this is what macr...

elisp newbie question: Can't find 'filename' function definition in org.el?

I really love org-mode in emacs and want to customize a few things. While reading thru org.el, I'm finding several references to filename but can't find filename using describe-function? I'm sure there's a simple answer, but I'm just learning elisp and it's not obvious. Any insight into where filename is defined? And/or if it's not a f...

slate like theme for emacs?

Is there any themes for emacs which looks like this one? http://www.lnbogen.com/VisualStudioNet2005Colors.aspx ...

How to, set-justification-full per line in emacs without messing up on return?

Hi, I have two problems in emacs. First. How do I set-justification-full for the whole document? I can do M-X set-justification-full for a region successfully, but I would like to make it work in the whole document. Second. How do I manage not to get lines jumping from one place to another when I have done set-justification-full, and...

Emacs X11 autocompletion (intellisense)

Hi everyone, I use visual studio for day to day programming (read putting food in my mouth) but for personal programming (read c/c++ hacking) I use Emacs. Right now I am doing a programming exercise involving the X11 API. I am continually referring to the programming API manual to find the signature of function calls. What would be r...