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

How are keys passed to emacs and gnome terminal?

I want to use Alt+6 to switch to the 6th gnome terminal tab. But when I am in emacs under a terminal tab, the key will be passed to emacs, and not work on terminal. Is the key first caught by ...
1
vote
1answer
1k 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 ...
1
vote
1answer
35 views

emacs text mode UTF-8 characters

I can't get emacs (version 24.4.1) in text mode (-nw launch option) to display Unicode characters directly. It outputs them in escaped form, e.g. ä becomes \344. When I save the file, it is encoded as ...
2
votes
0answers
14 views

Toolbar icons unable to load when running Emacs through xhost from FreeBSD to Ubuntu

I'm connected to a FreeBSD Computer using ssh [ip] -X, and emacs launches just fine, but this happens and all the icons are little pieces of paper with red X's: > emacs (emacs:22812): ...
1
vote
0answers
23 views

How to use awk-it in Emacs?

I'm a pretty new Emacs user and I want to call awk from Emacs. After googling around I found awk-it at http://www.emacswiki.org/emacs/AWK_It. However I still can't understand how to use it after I ...
1
vote
2answers
1k views

How do I install emacs 24.3 on Fedora 17 using yum?

I already have emacs 24.1.1, but I need to use version 24.3. I tried: sudo yum install emacs24.3 but it is not recognized. Is there a way to upgrade my emacs or should I simply install emacs 24.3? ...
4
votes
1answer
605 views

Colors for menu bar and the scroll bar on emacs 24

I'd like to change the colours of the menu bar and the scroll bar of emacs 24. The instructions of EmacsWiki (the above links) do not work. This might be because I am using emacs 24. According to ...
0
votes
0answers
15 views

Some apps don't swapped alt&win after xmodmap runs? (GUI emacs)

I have a mac-book-air. I swapped my Alt & Win with xmodmap as per linux post like so: keycode 64 = Alt_L keycode 133 = Super_L remove Mod1 = Alt_L remove Mod4 = Super_L add Mod1 = Super_L add ...
5
votes
2answers
496 views

How can I use two modes in emacs (markdown and auctex)?

When I edit markdown in emacs I use markdown-mode. However I often have to type some math formulas in the markdown file (processed by mathjax). However for those math parts markdown mode is not very ...
3
votes
2answers
388 views

Emacs and Trac Integration

Is there a way to integrate Trac and Emacs? e.g. edit Wiki pages in org mode, edit and manage tickets from within emacs?
0
votes
2answers
71 views

Why is emacs not preinstalled? [closed]

I want to learn Emacs or Vi. I don't like modal editing but Vi is ubiquitous and looks more useful for emergencies. What are the reasons why Emacs is not preinstalled in most distributions?
0
votes
1answer
36 views

Is it possible to access opened gnome terminal session in text console?

I am running Ubuntu 14.04. My desktop environment (compiz and unity) sometimes becomes frozen, which makes it difficult to save my work including text editing in emacs running in gnome terminal. ...
15
votes
1answer
916 views

Keymapping problem when working with Emacs and Openbox

I have an Apple keyboard and I had to do some remapping of the keys to make the mod-4 key the first key to the left of the Space bar for when working with Emacs. The below script worked fine when I ...
0
votes
0answers
21 views

How should I disable or change Alt+digit \for switching tabs in gnome terminal?

I open emacs in gnome terminal 3.6.2 in Ubuntu 14.04. In emacs, I would like to hit M-[number], but that was interpreted as switching tabs in gnome terminal. How can I change or disable the key ...
2
votes
1answer
22 views

Making XMODIFIERS=@im=none emacs24 standard

I run emacs as XMODIFIERS=@im=none emacs24, otherwise some multi-keys for typing things like à won't work. How can I make this option permanent, so when I type emacs24, it runs as XMODIFIERS=@im=none ...
0
votes
1answer
37 views

How to replace tab's indent by space's indent with web-mode in Emacs

I don't want to use tabs for indent, so I add (setq-default indent-tabs-mode nil) in my emacs init file. With the setting indents are created by spaces in web-mode, but it doesn't change already ...
0
votes
1answer
21 views

Emacs: query-replace prepend text to the found string

The scenario is that I am trying to append a new class to all the style declrations in my css file. So .oldclass{ float : left; } should change to .newclass .oldclass{ float : left; } The ...
1
vote
1answer
27 views

How do I edit text in Cyrillic / Russian on OpenBSD?

I'm trying to make it possible to easily edit text in Cyrillic / Russian on a remote OpenBSD 5.2 amd64. I'm using emacs-21.4p18-no_x11, which doesn't show any Cyrillic characters whatsoever when I ...
2
votes
1answer
41 views

Uninstall & remove emacs (installed via “make”)

I have installed emacs24.4 through instructions on this site. Now I want to uninstall and remove it completely, but since I haven't installed emacs via apt-get I can't seem to remove it either via ...
3
votes
0answers
35 views

Emacs automatically adding BOM to XML file

This appears to be related to this discussion but I have exactly the opposite use case. I do not wish to insert a BOM but emacs appears to be inserting one in XML mode (without even being in ...
2
votes
1answer
264 views

How to get transient highlighting to work from an elisp script?

I want an elisp script to highlight a region of text. Upon exit, the highlighted selection should disappear when a key is pressed. Everything I've tried results in the highlighting hanging on like the ...
0
votes
0answers
36 views

X protocol errors using lxde on top of Xdmx

I'm trying to setup Xdmx with lxde. Now I have some issues: lxde itself works fine, but as soon as I use it on top of Xdmx, I keep getting various X protocol errors, even when only connecting to a ...
0
votes
0answers
13 views

How to change mouse hovering background in Emacs

When mouse is over a Dired file line, it shows strange background regardless of the highlight-line color. I know there is something to do with theme. How can I set the background color? My Emacs ...
2
votes
1answer
40 views

Automaticaly rename new buffer in term-mode

In Emacs, let's create a buffer in term-mode with M-x term. The resulting buffer is named *terminal*. If one wants to create another buffer also in term-mode, one usually does M-x term again. However, ...
2
votes
2answers
679 views

Can I Change Caps Lock to Hyper/Additional Modifier?

In Arch Linux, I have Caps Lock function as an alternate Ctrl: In the console through a personal keymap, and in X through a "kbd" option in xorg.conf. I've already researched a little about changing ...
0
votes
0answers
53 views

Input is disappearing in emacs

I am currently running the latest version of emacs on RHEL 6.6. The issues I am having is that sometimes when I type input, some of the input randomly disappears and will then reappear when I ...
0
votes
0answers
12 views

How to set font width with fontforge

I recently install this font https://www.facebook.com/Code.New.Roman. It's really nice, but the font width seems strange. Look at this, fonts with are large than calculated by emacs, with other ...
12
votes
2answers
2k views

What is the difference between shell, eshell, and term in Emacs?

In Emacs I can run a shell using following commands - M-x term M-x shell M-x eshell What is the difference between these three?
4
votes
2answers
509 views

How to make a portable Linux app?

I'd like to make a "portable" version of Emacs 24.3. I am using some Debian 7 systems, where I don't have root access. Since Debian 7 is missing Emacs 24, I'd like to build a portable version of it, ...
4
votes
1answer
112 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)
0
votes
1answer
41 views

What does “wd” mean?

What does "wd" mean in the following output of an emacs background job? $jobs [3]- Stopped emacs -nw new\ file (wd: ~/dirlinks/cs/computer_system/composition/hardware)
2
votes
0answers
159 views

Where are the default font preferences in a modern Unix desktop stored (those which affect the choice of the font by an uncustomized Emacs 24)?

My situation and my question are like the ones in http://lists.gnu.org/archive/html/help-gnu-emacs/2012-06/msg00183.html: after the recent upgrade to emacs 24.x (...) my font size is too large ...
2
votes
0answers
290 views

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

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 ...
4
votes
2answers
85 views

Save scratch emacs file without access to terminal

I'm trying to save the contents of an Emacs scratch buffer, which I can't access any more due to an inaccessible terminal. On my Linux box I've ssh'ed to a server, and started Emacs. My Linux box has ...
4
votes
3answers
752 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
41 views

How to switch Emacs windows from vertical split to horizontal split? [closed]

Suppose I have two windows open in Emacs: Window A .............. Window B Is there a way to switch to : : Window A : Window B : : (horizontal split to ...
2
votes
2answers
141 views

Open clickable text in emacs in new/neighboring window

Currently I have a mode (magit to be precise) when I have clickable text switches buffer to the file. However I'd prefer sometimes to open in new or neighboring window. Is it possible to do it? PS. ...
1
vote
1answer
90 views

how to disable gcr-prompter dialogs?

Whenever i save *.gpg files (symmetric password) using emacs the gcr-prompter displays dialog and asks me for password twice! It's so annoying, especially that my emacs remembers the password i type, ...
3
votes
1answer
338 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 ...
3
votes
1answer
155 views

Can you run X11 in Emacs?

I'm new to Emacs, and I find it to he very useful, it's almost like a Text UI with tabs and windows and such. And so many applications. Such as IRC, shell, email, and file manager. But there something ...
0
votes
1answer
39 views

Cycling through the *Buffer List* with C-n, C-p

Is there a way to use the C-n or C-p shortcuts (or some other shortcut) in the Buffer List to cycle through the list of buffers? Currently when I get to the top (or bottom) of that list it doesn't ...
2
votes
2answers
106 views

How will apt-get handle my manual installed software?

Suppose the Emacs version in the APT repository is 24.3, I configure && make install my own emacs 24.4. After a long time, the software in the APT repository was updated to 24.5. What would ...
15
votes
3answers
4k views

Shift-arrow not working in emacs within tmux

I recently started using tmux (was a screen user before) and I'm loving it, except for one small problem. I use emacs within my tmux session and I am used to using Shift-arrow keys to move between ...
1
vote
1answer
361 views

php indent in web-mode with Emacs

I'm using Emacs web-mode and write a setting for it like this. (require 'web-mode) (add-to-list 'auto-mode-alist '("\\.php\\'" . web-mode)) (defun web-mode-hook () "Hooks for Web mode." (setq ...
1
vote
1answer
40 views

Open an emacs file from terminal

I want to open emacs + an emacs file directly from terminal, the file in question, how should I go about it?
2
votes
0answers
263 views

How to set LANG in locale, despite it's in /etc/default/locale in ubuntu for unicode support?

I run Ubuntu 12.04, I can't set the locale to en_US.utf8. I set the LANG by configuring /etc/default/locale as described here. $cat /etc/default/locale LANG=en_US.utf8 $locale LANG= LANGUAGE= ...
1
vote
1answer
76 views

S-M-* commands aren't recognized by Emacs

I've noticed commands like M-> (end-of-buffer) and M-S-<right arrow> (org-meta-right) aren't being recognized by Emacs. This was confirmed by describing key bindings using C-h k, which showed ...
3
votes
1answer
59 views

Window display table and buffer display table conflict in Emacs

In Emacs; Is there a way for both window-display-table and buffer-display-table to have effect at the same time? The reason is, I'm using Pretty-Control-L (from Emacs Goodies El script package) and ...
0
votes
1answer
26 views

Disable docview in emacs-w3m

How can I disable docview in emacs-w3m? I want to open an Internet pdf file in xpdf or just download it. I don't want it to open in docview.
1
vote
0answers
36 views

Autocomplete include directories in c++

VisualStudio has some extension which checks the include directories and makes suggestions while typing. My current project uses a lot of included libraries, sometimes with rather long pathnames. ...