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

1
vote
1answer
51 views

Emacs : Ctrl+space (set mark) insert only a space in Konsole

I'm having a problem with emacs in Konsole : I can't set a mark to select text in emacs. Ctrl+space insert a space character instead of setting the mark. On XTerm, i've almost the same behaviour. It ...
0
votes
0answers
73 views

ansi-term no longer works when emacs is run in daemon mode

I shell into a remote server to run emacs using ssh. Ever since I started running emacs as a daemon I've been having problems using ansi-term, shell, and eshell. I can run commands in eshell fine, ...
0
votes
4answers
855 views

Count number of processes with ps -Af

I have to count the number of emacs processes on the machine I'm remote using, by using the command ps -Af. Where do I even start?
2
votes
3answers
111 views

Can I bridge “backwards” from an ssh connection to my local emacs-server?

I'd very much like to log in to a remote machine with ssh and via the $EDITOR environment variable (or something similar) be able to edit in my local Emacs. In this case, specifically for when I log ...
2
votes
0answers
96 views

zsh: Echoing every statement?

I have an odd problem with zsh when I switch between shells in a particular way: Option 1 (works well): I start a zsh shell. I switch to tcsh with /bin/tcsh, and I switch back to zsh with /bin/zsh ...
3
votes
1answer
50 views

Emacs soft line wrap at word boundary

How can I have emacs set to move the the last word at the 80 character mark? What I mean is this: Instead of ran/ ge I would like emacs to place the whole word range on the next line at the 80 ...
1
vote
1answer
31 views

latexmk with emacs only runs once instead of twice

I have latexmk setup to run through Auctex. I hit crtl + c crtl + c and the option latexmk is present. When I run a file that has new bibliography items, it says after compiling that I need to run ...
1
vote
1answer
100 views

emacs elpa load packages

I am using emacs24, and I started using elpa to download the packages to ~/.emacs.d/elpa folder. How can I load these packages? For instance, I have tried (see below) for rainbow-delimiter but it ...
2
votes
1answer
193 views

Gnome Terminal---hide the tilde files produced by Emacs

Editing text file using Emacs will make Emacs make a companion file for its own purpose. For example, after first editing a file called test.c, Emacs will leave a file called test.c~ in the same ...
1
vote
1answer
52 views

How to attach elisp function source code in Emacs?

I could use M-x find-function to find the source code of some elisp functions if the function is not written in C code. But since I am using a Debian binary package of Emacs , some of the source ...
1
vote
0answers
71 views

how to setup AucTex with LuaTex in Emacs

How can I add to the list LuaTeX when I type Ctrlc Ctrlc? I was able to add Latexmk to the list by adding (add-hook 'LaTeX-mode-hook (lambda () (push '("Latexmk" "latexmk -pdf %s" TeX-run-TeX ...
1
vote
0answers
161 views

Emacs on Minix 3?

Has anybody managed to install Emacs on Minix 3? Emacs was available on earlier versions of Minix. I am OK with an earlier version of Emacs if necessary. I don't find Zile, mg or Elle adequate and ...
1
vote
1answer
70 views

Effect if any of changing LD_LIBRARY_PATH environnment variable on emacs fonts?

The rendering of my emacs fonts changes if I define a specific list of directories under the LD_LIBRARY_PATH environment variable just before I call emacs. I changed this because I wanted to use emacs ...
3
votes
4answers
237 views

emacs copy and paste

How can I copy from emacs and paste into another instance of emacs or else where? If I do C-space, M-w, and then C-y, I can only paste in the open instance of Emacs. If I navigate to another Emacs ...
1
vote
2answers
78 views

Logging all input and output in zsh on demand

Is there any way to activate/deactivate the logging of all input and output on a zsh session? I am using oh-my-zsh with a customized prompt with colors, etc. and I would like to preserve all of these ...
1
vote
0answers
39 views

emacs auto indentation

I have Auctex and auto indentation set in my ~/.emacs but it doesn't work correctly for \end{enumerate}. If I had the following, (below is what would happen if I hit tab on the \end{enumerate} ...
2
votes
4answers
1k views

Ctrl-s hang terminal emulator?

I came across a sentence in vimdoc: Note: CTRL-S does not work on all terminals and might block further input, use CTRL-Q to get going again. and this key indeed hangs my vim. I was ...
2
votes
0answers
53 views

Why isn't Gnus scoring emails based on the To: or Cc: headers?

I use Gnus v5.13 in GNU Emacs 24.1.1 to read my email, and I'm having a trouble getting a simple score file to work. Essentially, I want any mail that's sent to (or copies) a particular email address ...
0
votes
1answer
47 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
101 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
55 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
70 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
143 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
94 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
252 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
65 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
229 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
301 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
540 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
81 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
143 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
141 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
112 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
345 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
240 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, ...
2
votes
1answer
120 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
137 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
49 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
86 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
143 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
915 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
312 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
351 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
89 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
158 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
2k 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
154 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
53 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 ...