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
0answers
19 views

Stop emacs from sort-of maximizing in Cinammon

I am running Linux Mint 17.1 with Cinnamon. Every time I launch emacs24, either from a command line or from a launcher, it sizes itself to just less than the full size of the screen. --geometry has no ...
2
votes
1answer
27 views

View Japanese text in emacs without X11

Is it possible to view Japanese (or more generally, international) fonts in emacs without running X11? If yes, what is the process? Nearly all the references I have found on the internet related to ...
0
votes
4answers
81 views

“emacs: standard input is not a tty”

I followed http://unix.stackexchange.com/a/43460/674: after $ locate -i linux | less I type g|$emacs - in less, but nothing is opened in Emacs, and the terminals says: emacs: standard input is not ...
1
vote
1answer
59 views

When not started from a terminal, Emacs does NOT pick up the SSH_AUTH_SOCK environment variable

When I don't start it from a terminal, Emacs 24.5.1 (compiled from source) doesn't pick up my environment variables. In particular, to "import" the environment variables from shell, I have in my ...
0
votes
1answer
28 views

installing emacs with x-toolkit

I am installing Emacs 24.5.0, and I want to install it with X. I am on Fedora. the configuration script cannot find any x-toolkit. How do I find out which one is good for me, and in which folder do I ...
0
votes
1answer
23 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 ...
3
votes
2answers
79 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
25 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
1answer
69 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 ...
0
votes
0answers
24 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 ...
0
votes
2answers
91 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?
1
vote
1answer
48 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. ...
0
votes
0answers
29 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
59 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
71 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
27 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 ...
2
votes
1answer
56 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
65 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 ...
0
votes
0answers
53 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
15 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 ...
1
vote
1answer
52 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 ...
0
votes
0answers
18 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 ...
2
votes
1answer
46 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, ...
0
votes
1answer
51 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
190 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 ...
0
votes
0answers
69 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 ...
3
votes
1answer
50 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 ...
1
vote
1answer
116 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, ...
0
votes
1answer
40 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 ...
4
votes
2answers
111 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 ...
2
votes
2answers
146 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 ...
3
votes
1answer
167 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 ...
1
vote
1answer
53 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
371 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
0answers
37 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. ...
3
votes
1answer
299 views

Can I have emacs automatically indent my whole code after it is all written?

My emacs is set up to automatically indent my code as I write it and also re-indent things correctly if I push tab on any line that got misaligned somehow (usually because I changed the code). I am ...
1
vote
0answers
14 views

Start emacs client on Windows XServer [duplicate]

I have managed to get X-forwarding running to use xemacs on my local Windows machine. Now I can start xemacs from the ssh terminal to my remote linux machine. This results in xemacs running in a ...
5
votes
2answers
285 views

Why can't Emacs running in a terminal distinguish Ctrl+; from “;”?

This question arose from my previous question on emacs beta. In short I want to bind C-; to an Emacs functions in a terminal, but it seems that something captures this key before it reaches Emacs: ...
1
vote
0answers
24 views

How to use emacs alphabet key bind even with Thai input method

I'm emacs user and learning Thai language. I can read and write Thai characters with Emacs comfortably. But all Emacs key binding can't be used with Thai input mode. For example when I try to use ...
0
votes
1answer
28 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
59 views

Press Alt+< on a Hungarian keyboard (where < requires AltGr)

I use a Hungarian keyboard layout. To type a less-than sign, I have to press: AltGr+í. By default, the Emacs Meta key is set to Alt, so I think I would have to press all of AltGr, Alt and í at once. ...
1
vote
1answer
108 views

Different kinds of copy-paste in Emacs under X

From http://stackoverflow.com/a/65473/156458 Let's be careful with our definitions here An Emacs copy is the command kill-ring-save (usually bound to M-w). A system copy is what you ...
0
votes
1answer
33 views

Mixture of encodings

For a text which is a mixture of different encodings, is there no way to find all encodings? And convert them to a single encoding such as utf8? I copied from different sources possibly with ...
1
vote
2answers
86 views

Emacs shows octal escapes for some characters in a UTF-8 file

I copied some math formulas into some files under gedit, using the default settings of gedit from websites, such as math.stackexchange.com, wikipedia, ... When I open the files now under emacs, the ...
1
vote
1answer
42 views

How do I change emacs application name from “Emacs” to something else in OSX?

I run multiple emacs instances with open -n -a Emacs.app command. The problem is that it's hard to distinguish between them when you switch with Cmd+Tab, because they're all named "Emacs" there. How ...
0
votes
1answer
49 views

change search regex pattern in Emacs?

I start regex search by C-M-s. After typing in some pattern, I would like to edit the pattern shown in the bottom bar. But it seems that I can only append new characters at the current pattern, but I ...
0
votes
1answer
45 views

Quick way to copy the rest of a line?

In Emacs, I want to copy the rest of the current line. The regular way is to select the rest of the current line, and then M-w. A quicker way is C-k C-_. Is there a non-customized way using only ...
0
votes
1answer
105 views

Can the menu of emacs still be accessible in terminal?

when running Emacs inside terminal emulator, there is a menu bar on the top. Can we select a menu item, expand it and select a sub-menu item? Under Xemacs, we can, but I haven't found a way under ...
4
votes
1answer
69 views

Copy the last Emacs message into the current buffer

Is there a function I could use to quickly copy the message in the echo area (if any) into my working buffer? Should I define the shortcut for that function with define-key or global-set-key or some ...
1
vote
1answer
82 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 ...