emacs

Erlang Edoc in Emacs

Let's say that I have an Erlang function, with spec. -spec foo(integer(), string()) -> boolean(). foo(_Integer, _String) -> true. My dream would be to generate the edoc from this information within Emacs automatically. The generated code should look like: %%-----------------------------------------------------------------...

Emacs: Yanking not working when executing a macro

When recording a macro, if I perform any kind of kill (backward-kill-word), followed by a yank , the macro stops execution at the point of the yank and exits. Nothing I do seems to work to be able to actually yank something in a macro. I'm running emacs 22 on Ubuntu 9.04. ...

Using Emacs for big big projects

Hello, Maybe is a often repeated question here, but i can't find anything similar with the search. The point is that i like to use Emacs for my personal projects, usually very small applications using C or python, but i was wondering how to use it also for my work, in which we have project with about 10k files of source code, so is veee...

easiest way to setup XEmacs on Gentoo for Python

Hi, I want to use (X)Emacs on my Gentoo system and wonder about the "correct" (or easiest) way to setup it to be used for Python development (i.e. intelligent auto-completion via tab and all those usual stuff). I want to avoid installing anything by hand - I want to use my Portage/emerge as far as possible. I have installed xemacs, py...

^M characters when using Tramp (on Windows) to connect to Ubuntu Server

I've set up Tramp on Emacs on my Windows 7 box (64 bit). For this test, this is the only thing in my emacs-config: (setq tramp-default-method "plink") Then I connect to my Ubuntu Server 9.10 running in a VM on my local network. Connection goes fine, i can use dired to browse folders and open files. Yay! However, git status shows up a...

Can I change the emacs fancy-startup-text?

i would like to change the emacs fancy-startup-text (the splash screen that shows up, i know how to close it but not how to replace it with my own). idea is to build my own startup page that fetches some things from the web (news items, sport fixtures, word of the day etc) for emacs. ...

Emacs: annoying Flymake dialog box.

Hello, I have the following lines in my ~/.emacs.d/init.el (custom-set-variables '(flymake-allowed-file-name-masks (quote ( ("\\.cc\\'" flymake-simple-make-init) ("\\.cpp\\'" flymake-simple-make-init))))) (add-hook 'find-file-hook 'flymake-find-file-hook) When I open a C++ file that has a proper Makefile...

How to use vim's syntax files in emacs to color the text

Are there any snippets to make emacs use the .vim syntax files found in /usr/share/vim/vimfiles/ for coloring text. Many applications like conky have the vim syntax files like "conkyrc.vim" for vim but not for emacs. So is there an easy way to use those files rather than rewriting a new language-mode for each of those available in vimfil...

Preserve window layout in Emacs

I have setup my windows in a certain way. How do I save this setting to be invoked later? ...

Emacs 23.1 make error 139 in Mac OS X 10.6.3

When I try to compile GNU Emacs 23.1 on my machine with Mac OS X 10.6.3 I repeatedly get the following ending: Directories: /src/emacs-23.1/lisp/. /src/emacs-23.1/lisp/./calc /src/emacs-23.1/lisp/./calendar /src/emacs-23.1/lisp/./emacs-lisp /src/emacs-23.1/lisp/./emulation /src/emacs-23.1/lisp/./erc /src/emacs-23.1/lisp/./eshell /src/em...

emacs debugger: how can I step-out, step-over ?

I don't know why I'm having so much trouble groking the documentation for the elisp debugger. I see it has a commands to "step-into" (d). But for the life of me, I cannot see a step-out or step-over. Can anyone help? If I have this in the Backtrace buffer: Debugger entered--returning value: 5047 line-beginning-position() * c-p...

emacs split into 3 even windows

Hi all, Quick question: How do I specify the number of characters in a split window? C-x-3 Splits my window into two windows evenly, but a subsequent split will split one of the windows in half. I'd like 3 equal sized windows. The documentation says that I should be able to specify the number of characters for the left buffer as a p...

How do I instruct emacs to use 4 spaces instead of the tab character for all indentation?

What do I put in my .emacs file to use four spaces instead of the tab character for all indentation? ...

Incorrect emacs indentation in a C++ class with DLL export specification

I often write classes with a DLL export/import specification, but this seems to confuse emacs' syntax parser. I end up with something like: class myDllSpec Foo { public: Foo( void ); }; Notice that the "public:" access spec is indented incorrectly, as well as everything that follows it. When I ask emacs to describe the syntax at ...

Usage of current-buffer in emacs?

I'm using emacs and I have written a script which uses "current-buffer". However the emacs system doesn't recognise "current-buffer". When I try "M - x current-buffer" i get the response: no match : Any idea what I'm doing wrong? ...

Is there a stable emacs automated packaging system?

I'm using Gnu Emacs on OSX, Windows, and Linux. Is there some command which can download and install packages (or .el files) automatically? I've seen there are some work-in-progress projects on the internet (after googling) but I was wondering if I was missing some awesome package manager out there that just works. ...

How can I reload .emacs after changing it?

I am new to emacs and I am playing around with the .emacs file. How can I get it to reload all my definitions that I have updated in.emacs without restarting emacs? ...

Org-mode properties for Emacs diary anniversaries?

I am trying to have the "Birthday" property of an Org-mode contact entry added to the agenda automatically: * John :PROPERTIES: :Name: John :Birthday: 5 4 1900 :END: This can be done manually for each entry using: %%(diary-anniversary 5 4 1900) John's birthday But I don't want to type the date twice. I would like to use the ...

Import CSV into Org-mode properties

I would like to import a CSV into Org-mode. Others have already asked about importing CSV to Org-mode tables. That's not what I am trying to do. I need to import CSV to Org-mode properties. For example, a CSV like this: Name,Tel,Mobile,Fax John,11111,22222,33333 should become: :PROPERTIES: :Name: John :Tel: 11111 :Mobile: 22222 :Fax...

emacs intellisense

Hi, I know this has been discussed a lot of times but is there any nice how-to for c/c++ intellisense in emacs? I have never been able to set up cedet properly. Right now I am working on a maintenance project with a huuge code base and it is very difficult to manage without proper intellisense. Currently I am using vim with ctags/cscop...