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
436 views

Corrupted gnu-screen session not displaying UTF-8 correctly

(Edited to clarify the role of Emacs in the problem with the display.) My current gnu-screen session has gotten corrupted somehow, and Emacs fails to display UTF-8 characters properly. I've ...
2
votes
1answer
120 views

Emacs Key-binding and the TERM variable

I changed the value of TERM to screen-256color from xterm and it effects the key-bindings in Emacs. Mainly the bindings that use the arrow keys now inserts A,B,C,D instead of running backward-word and ...
1
vote
1answer
55 views

Emacs - Strange Whitespace

(I posted this same general question here on StackOverflow thinking it had something to do with my emacs configuration, but after following a comment there, I think it is exclusive to urxvt) My ...
2
votes
1answer
53 views

How do I skip special buffers when killing the current buffer?

I have some code in my .emacs that prevents it from showing some pre-defined special buffers when I'm using previous-buffer and next-buffer: (defadvice next-buffer (after ...
2
votes
1answer
69 views

How can I run emacs with no shell?

I'm administrating an Arch Linux server. How can I securely add emacs to my /etc/sudoers editor variable? Currently I have "emacs" but that allows M-x shell. Basically, I want something like rvim, ...
3
votes
1answer
496 views

Make hunspell work with emacs and german language

I want to make hunspell work with emacs24 and a german dictionary on a ubuntu 13.04-box. To do so I installed hunspell and hunspell-de and added the following to my .emacs file: (setq ...
1
vote
2answers
71 views

Setting default emacs font not saving (built from source OS X 10.8)

I built emacs 24.3 from source on OS X 10.8 and when I attempt to set the default font with Options -> Set Default Font -> [font] My choice is not saved next time I open emacs. I'm attempting ...
1
vote
1answer
107 views

How to know I am using vi or emacs input?

Crash shell allows to specify the command line editing mode to vi or emacs. What will be the difference in these input methods? I am not asking about the internal features.
1
vote
2answers
143 views

Emacs 24 not finding system fonts

Emacs doesn't offer me the possibility of installing several of the system fonts that I have. It only offers Courier and Lucida. Other programs, like LibreOffice, have no problem in using my system ...
2
votes
1answer
54 views

How to apply org-todo to multiple items

Consider an emacs org-mode file like this: ** item 1 ** item 2 ** item 3 ** item 4 Now I can apply org-todo to every item separately (bound to C-c C-t). But how can I apply it to every item in ...
1
vote
0answers
50 views

How to run Emacs nnrss-* commands

Specifically, I want to run nnrss-opml-import command, which should import an OPML file. Trying to run the command with M-x nnrss-opml-import tells me the command doesn't exist. I want to experience ...
2
votes
1answer
657 views

Visualizing ansi color escape codes in log files correctly in Emacs [duplicate]

I have some log files that have ansi-color codes in them. When I open them in Emacs I see garbage:           As an example, I run the following: ls --color=yes -ald -- * ...
1
vote
0answers
35 views

How to use the same emacs daemon for user and root accounts?

I often work in both user and root accounts but I don't like that I have two emacs daemons running for each user. Is it possible to set the same, only one emacs daemon for user's and root's clients?
2
votes
1answer
123 views

Emacs - finding the cursor in multiple windows

I've started splitting my emacs frame into two side-by-side windows, but often I'm unable to tell at a glance which window the cursor is currently in. I've bound the other-window command to a special ...
0
votes
1answer
68 views

Emacs key problem

I am using Cygwin to connect to an Ubuntu installation, and for some reasons my Ctrlh for the help has been remapped to CtrlDel. When I actually type Ctrlc,h I get the error: No operation mapped ...
5
votes
1answer
197 views

Linux VT Emacs in tmux, breaks color and cursor

TERM is set to screen. I tried with screen-256color, but then the colors went really nuts. I also tried xterm, linux, and some others (that I could think of, not really thinking) but screen is the ...
3
votes
1answer
720 views

Showing type of newline character in Emacs

How can I have Emacs display the type of new character? I am looking for something similar to what Notepadd does (see below). I read that Emacs comes with M-x whitespace-mode but this doesn't seem to ...
2
votes
3answers
70 views

Emacs paste into search (C-s) field?

Let's say you are writing code in one of Emacs window and then want to search for a string that you have copied manually (M-w) some time before. The problem is, that by default, when you issue C-s, ...
1
vote
1answer
86 views

Where is the Ctrl+/ (^/) bash shortcut for undo defined?

I can not find the mapping in bind -p nor in stty -a. Also, it only works in the terminal emulators I've tried (xterm, konsole, gnome-terminal) and not in the linux system console. I think it's ...
2
votes
1answer
135 views

Use emacs as an editor within itself (ansi-term)

I'm using M-x ansi-term within emacs, and a lot of the tools I use (not only git) are opening editors using $EDITOR. Because running emacs within itself is kind of annoying, I'd like to configure my ...
0
votes
1answer
93 views

emacs-nox doesn't load the files I ask it to at command line

I have a few different Ubuntu installs and this is the first time I've experienced this. I have emacs-nox installed, because I hate graphical versions of emacs. Normally when I type emacs test.txt ...
1
vote
0answers
182 views

What would make the Simple Emacs Spreadsheet more newbie-friendly?

I am familiarizing myself with ses and I find that it's not very welcoming towards a new user. I am preparing to submit some sort of bug report or improvement suggestion, but I'm not really sure what ...
0
votes
1answer
164 views

Emacs 24 and linux distributions

I just downloaded Ubuntu 12.04 LTS and was very disappointed that emacs 24 was not yet supported for it. I found some links where you could build it from source, but regardless I am looking for a ...
0
votes
2answers
50 views

Emacs ssh connection abbreviations [closed]

When connecting to a remote server via ssh in bash I use abbreviations in ~/.ssh/config file: Host aaa HostName aaa.ssh.myhost.com User user1 So I can connect to aaa.ssh.myhost.com, typing: ssh ...
4
votes
2answers
228 views

Getting wmctrl to work with multiple Emacs windows

I'm trying to write a script that switches focus to Emacs. This is what I have: #!/bin/bash wmctrl -a 'emacs@pat-ubuntu-desktop' It works fine when there is only one Emacs window (or "frame," in ...
-2
votes
2answers
227 views

Joe,pico,emacs missing

I've installed a 'linux in a box' at home using FreeBSD and Virtual Box.But when I tryed to make a C file,joe,emacs and pico give me 'Command not found'. joe z.c,emacs z.c, pico m.c are the commands ...
4
votes
1answer
90 views

Emacs: make portion of buffer readonly

I sometimes edit files in emacs where portions of the file are documentation or something else that shouldn't be edited, and another portions are "play areas" where I'm free to edit and create new ...
0
votes
1answer
44 views

Keyboard shortcut to switch files in one Emacs instance?

I've multiple files opened in an Emacs client. Right now, to toggle between files, I've to click on the file name at the bar below in the editor. Any keyboard shortcuts for switching between files?
0
votes
2answers
95 views

Emacs “jump to class definition” functionality?

I want to jump to a class file "A" from another file "B" which defines objects "A". In eclipse, it is done using F3. Is there a way to achieve this in emacs?
1
vote
1answer
107 views

How to open all the files in a directory, using terminal, in emacs?

I've 4 java files in a directory, which I want to work with in emacs. How do I open them all with one command?
2
votes
2answers
143 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
81 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
1k 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
125 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
104 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
73 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
35 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
129 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
258 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
57 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
79 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
202 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
75 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
422 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
112 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} ...
7
votes
4answers
4k 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
62 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
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 ...