A text editor, usually characterized by its extensibility. Often described as "the extensible, customizable, self-documenting, real-time display editor."

learn more… | top users | synonyms

0
votes
1answer
53 views

emacs line wrapping and numbering

How can I tell emacs to wrap lines at the 80th character? I am looking for a solution I can put in /.emacs. I put this in /.emacs but it doesn't work. ;; ========== Enable Line Numbering ========== ...
1
vote
2answers
112 views

text color settings in emacs

I just switched to emacs from Vim today so I have no idea what I am doing. How do I change the syntax coloring in Emacs? Everything is green or light green. As you can see, latex tex is dark green ...
2
votes
1answer
56 views

Emacs: Interface that mixes commands and arguments

I'm experiencing with ways to configure Emacs to enable me to type less, but achieving the same thing, by exploiting the fact that in programming, you do (type) more or less the same thing over and ...
1
vote
1answer
43 views

Emacs: mode-local macro with dashes and dots

In Emacs, how can I make a macro, that is local to the HTML mode, and uses dashes and dots? Take a look at the Elisp below: (define-abbrev-table 'html-mode-abbrev-table '(("..." "…") ...
1
vote
1answer
80 views

Get zsh to report directory to emacs

From the emacs manual Unlike Shell mode, Term mode does not track the current directory by examining your input. But some shells can tell Term what the current directory is. This is done ...
0
votes
1answer
177 views

emacs fonts from ssh not as good as locally installed

How can I have the same emacs fonts and antialiasing configuration that I have in my local Ubuntu 12.04 also working when I open an emacs session via ssh to a CentOS 5 system? EDIT: I didn't get an ...
0
votes
0answers
103 views

User installation emacs 23 on a centos 5 with system-wide installed emacs-21.4-20.el5?

I would like to install my own copy of emacs 23 on a Centos 5 Linux where I don't have admin rights. I would like to have my own modern copy of emacs on this Centos 5 system since I've got a problem ...
1
vote
1answer
309 views

Replacing Evernote with Emacs and markdown - .org file list

I have grown tired of using evernote with wine or with any of the linux clients. I decided to change to Emacs and write all my notes in markdown so I can easily publish them in HTML and sync them with ...
1
vote
1answer
74 views

emacs change point color to current foreground

I'm trying to customize my emacs so that the point color is the same as the foreground on of the character I'm standing on. I have this now: (defun fixpoint () "awesome stuff happening to point" ...
1
vote
1answer
363 views

Use tabs for indentation in Python mode

I am using Emacs for Python developement. My team is using Tab indentation, so I must do the same. The problem is that I can't figure out how to make python-mode use tabs instead of spaces. I want ...
4
votes
1answer
490 views

Emacs X toolkit support?

From what I understand, Emacs uses GTK as it's default X toolkit. Does Emacs support X toolkits other than GTK? For example, can I build Emacs to use Qt4 instead of GTK?
0
votes
2answers
685 views

problems using slime on emacs24

I install slime through ELPA. Here is what my .emacs file looks like: (setq inferior-lisp-program "sbcl --noinform") (add-to-list 'load-path "~/slime/") (require 'slime) (slime-setup) (setq ...
1
vote
0answers
96 views

emacs shell sync directory

I encounter this quite a lot. when I open a emacs shell and run M-x dirs it will complain to me that:couldn't cd or sometimes just hang emacs what is the solution for this ? What shell are you ...
2
votes
1answer
160 views

Building Emacs from trunk without admin access

I cloned the official trunk branch with: bzr branch bzr://bzr.savannah.gnu.org/emacs/trunk I then built autoconf, automake and texinfo. I also updated my PERL5LIB to make it include ...
1
vote
2answers
172 views

Emacs: mute messages (“echo area”)

I do lots of automatizing in Emacs, by stacking commands that I know from using manually. That is a method I recommend, because it doesn't take much effort: you use Emacs as you ordinarily would, and ...
4
votes
2answers
126 views

printing .cpp file from command line using emacs

The goal is to print a set of *.cpp files on a network printer, but... in a way that the (color) printer prints the files like they appear in the c++ editor including the colors and highlighting. And ...
2
votes
2answers
403 views

Why does my Emacs toolbar look different over ssh w/ X forwarding on Cygwin vs CentOS?

I'm using Emacs 24.2.1 installed on a CentOS 5 server, which I ssh into with X forwarding (using -Y). I have both a Windows laptop with Cygwin/X installed, as well as a desktop running CentOS 6. When ...
5
votes
1answer
284 views

How to get background color in Emacs?

In Emacs no window mode, the background is automatically the same as the terminal (gnome-terminal). When I look at (frame-parameters) I see that (background-color . "unspecified-bg"). Well, for me, ...
3
votes
2answers
148 views

Why does emacs movemail take precedence over mailutils movemail?

I have installed mailutils from the Ubuntu 12.10 repo and specified the rmail-mailmove-program as either /usr/bin/movemail or /usr/bin/movemail.mailutils but in either case emacs reports ...
1
vote
1answer
49 views

Emacs create cursor

Is there a way to create an additional "dummy" cursor in Emacs (preferably multiple)? Ideally I'd like to be able to set its color separately from the original cursor and set its position. Then I'd ...
1
vote
2answers
165 views

Can I run emacs as server on Linux but attach from Windows?

I am able to run emacs as server daemon and attach back to it on Linux. Is it possible to start emacs as daemon on Linux, but attach back to it from Windows with a different client? Emacs or xemacs, ...
2
votes
1answer
59 views

emacs session attach back

When I was at VIM age, I used to enjoy working with screen which gives me the flexibility to switch between mulitple windows. And later I switched to emacs but I lost one of my favorite feature: ...
4
votes
1answer
90 views

How to send the content of an emacs buffer to gcc without writing to disk?

It's common for me to run a throwaway piece of code I'm not particularly interested in saving on my disk, so I'm often working inside emacs in a buffer not attached to any file in my system. When ...
5
votes
2answers
152 views

Emacs on OpenBSD for DEC VAX?

I have managed to install OpenBSD 5.2 on my DEC VaxStation 4000 Model 90 but to my surprise have not found a binary for Emacs (any version) for the VAX architecture. As best as I can tell I do not see ...
0
votes
3answers
1k views

Kate vs VIM/Emacs regarding speed [closed]

I'm trying to learn C++ in school using a UNIX environment and our professor urges us to use VIM or Emacs because a GUI is disadvantageous for two reasons: Moving your hands off the keyboard and ...
2
votes
1answer
414 views

untabify on save in Emacs 24 without make-local-hook

I'd like to untabify whenever I save a buffer. This worked fine until I upgraded to Emacs 24 which broke it, as there is no make-local-hook anymore. Have a look: ;;; untabify on C-x C-s (except for ...
2
votes
2answers
441 views

emacs shell mode (M-x shell)

When I am using the emacs M-x shell mode I see strange characters on my screen which I believe are related to my prompt (which includes an End-Of-Line) and the use of colors. So, here's what I see on ...
3
votes
1answer
97 views

Symbolic link starting with .#

I have a symlink in one of my directories that has the following name: lrwxrwxrwx 1 XXXX ZZZ 37 Jan 15 18:18 .#perl.org -> XXX@YYY.com.2980:1344441539 I am wondering what this symlink ...
5
votes
1answer
177 views

Synonyms (from a thesaurus) in Emacs

I use Emacs 23 on Debian sid. I can check the spelling of a word in Emacs with M-$. How can I obtain synonyms (using a thesaurus?) for a word in Emacs? None of the following were useful: one, two, ...
0
votes
2answers
3k views

How to install emacs using YUM without X11 libraries?

I have installed a minimal installation of CentOS 6.3 inside a VirtualBox VM. Now, I would like to install Emacs for use from the command line only. When I do a search for emacs using yum search ...
2
votes
1answer
178 views

canlock-password - hashed password (?) mysteriously in .emacs

In my .emacs, this has appeared, for unknown reasons: (custom-set-variables ; ... '(canlock-password "fdd7041be5b...") And so on, totalling 40 characters and digits. C-h v offers this: ...
2
votes
1answer
56 views

How to create a function to fill the region to a certain width?

Sometimes I justify text in emacs using C-u 70 M-x fill-region. I would like to have a function in my .emacs file that has a parameter so that I can use a shortcut to call the function instead of ...
1
vote
0answers
48 views

Configure the fields of the Rmail summary

How do I configure the fields of the Rmail summary? The code is in rmailsum.el, but I just can't find the place! For example, the first column in the Rmail summary seems to indicate... mail number? ...
3
votes
2answers
192 views

Creating Emacs TAGS file

I am working through the "Emacs Lisp Intro" book within Emacs 23.4.1 on Debian Wheezy (CrunchBang Waldorf). Section 4.1 discusses the find-tags command and the TAGS file. Instructions are included to ...
2
votes
1answer
137 views

Graphical console applications in Emacs

I am having trouble running htop within an ansi-term in Emacs 24.2. It looks like some of the control characters are not interpreted correctly. I thought ansi-term was capable of handling font ...
6
votes
1answer
112 views

How can I have different Emacs sessions loaded on different Emacs windows while using Emacs on daemon mode?

I'm currently using Emacs on daemon mode. I save my sessions using the desktop package. I also combine that with this in order to have several named sessions saved. If I have several Emacs windows ...
2
votes
2answers
206 views

How to close gdb (or other frames) on emacs?

I'm learning about emacs (using version 2.3 on Ubuntu 10.10), and I'm having some trouble with the frames. When I run gdb, for example, I have to get my mouse and click "File->Close" to close the gdb ...
4
votes
1answer
481 views

emacs --daemon crashing after closing emacsclient -c

I start emacs daemon with the following commnad. $ emacs --daemon This seems to work. After this I start emacs client as follows $ emacsclient -c Whenever I close the emacsclient, the server ...
1
vote
1answer
101 views

How to configure Emacs for literate programming?

I would like to use Emacs for literate programming. I want my code to look like this . <<class Hufftree definition>>= template<typename DataType, typename Frequency> class ...
2
votes
0answers
252 views

Can emacs use gpg-agent in a terminal at all?

I understand that there are problems with getting pinentry-curses to work with emacs (see some of the comments on http://emacswiki.org/emacs/EasyPG), and so using emacs in a terminal isn't compatible ...
1
vote
1answer
72 views

Emacs function on set of files

Is there a way implemented in Emacs to apply a function on a set of files? (Or, if not, do you know of such an extension?) For example, if you have a project in a directory (say, scripts to compile ...
3
votes
3answers
679 views

How to use Emacs to recognize and automatically open GPG encrypted file in ASCII armored format?

gpg -ca passwords.txt create encrypted ASCII file passwords.txt.asc. Emacs open the file as a normal text file: -----BEGIN PGP MESSAGE----- Version: GnuPG v2.0.19 (GNU/Linux) ...
4
votes
1answer
90 views

Emacs depends on perl

Why does emacs depend on Perl? I thought it is all based on C/Lisp? Emacs Version 24.1.4.fc17 (Working on a fresh out of the box fedora17)
6
votes
2answers
676 views

emacs colors based on $TERM environment variable

I want to know if it is possible to make emacs, when running in a gnu screen or tmux session, use the same colors as when TERM=xterm. In a gnu screen or tmux session, TERM=screen and emacs uses a ...
5
votes
2answers
405 views

Emacs move to next whitespace

In emacs there are the functions forward-word and backward-word. Are there also functions which move the point to the next/last whitespace?
0
votes
0answers
100 views

How do I remap Caps_lock to Ctrl from inside emacs?

I use emacs on several machines between work and home, and I'm naturally interested in remapping that Caps_Lock key to save my finger from agony. On some platforms it's a bit more difficult to do than ...
3
votes
1answer
65 views

Undo everything in emacs

Is it possible to undo everything in an emacs buffer in just one step? I can do it step by step using C-x u but how can I do all steps just with one command?
2
votes
1answer
186 views

Reattach to Emacs session

I was trying to save in Emacs and pushed something wrong and Emacs closed. Judging by ps aux | grep emacs the emacs process is still running with the file I need to save running. (Opening the file ...
3
votes
1answer
118 views

How to use the Meta/Alt Key with tput?

I want to redefine keybindings for the commandline of a lisp dialect. The commandline is actually modeled after Vi and implemented with tput/terminfo. I want an alternative version with Emacs ...
2
votes
1answer
493 views

How to jump on a position specified by line and column?

When opening a file one can use $ emacs +2:9 practice.b Which will open file ‘practice.b’ on line 2 and character 9 on that line. How do I jump like this in an already running Emacs? I know about ...