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

Vi mode or emacs mode in the whole system

I use vi mode in zsh, tmux and my favorite text editor (vim obviously). I'm interested to have this behavior in the whole system. I know I can use plugins in firefox, thunderbird, etc. but if there is ...
2
votes
0answers
12 views

how to make aspell ignore upper case words (acronyms)?

aspell seems to have some support for filters: http://aspell.net/0.50-doc/man-html/4_Customizing.html#filter but I can't find any way to tell it to ignore words that are all capital letters (typically ...
0
votes
0answers
23 views

Can I cheat the docker run -it session by remapping ctrl+p key?

This is regarding this issue with docker: https://github.com/docker/docker/issues/3519 and http://stackoverflow.com/questions/20828657/docker-change-ctrlp-to-something-else As I understand this, the ...
1
vote
1answer
25 views

Loading X resources from .Xresources and .Xdefaults for Emacs

Emacs, as far as I remember, must load the .Xresources file on startup and read the font rendering settings from there. But mine does this only if I run xrdb merge first and then start emacs. I think ...
0
votes
1answer
24 views

font weight in emacs doesn’t work

There’s a font named Meslo. It’s a patched version of a Menlo typeface by Apple, which, in its turn, is a derivative work from Bitstream Vera Mono. I was picking it to try several times, but either ...
0
votes
1answer
21 views

emacs dired regexp mark files beginning with

In Emacs Dired mode, I'd like to mark directories and files whose names begin with Addr but not files that contain Addr inside the name. I'm using RE-Builder to test my regular expressions and am ...
1
vote
0answers
20 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
35 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
103 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
98 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
40 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
26 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
95 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
27 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
85 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
26 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
104 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
55 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
31 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
83 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
84 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
31 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
73 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
79 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
68 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
17 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
64 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
48 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
53 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
205 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
78 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
57 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
1answer
133 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
41 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
118 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
159 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
177 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
58 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
441 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
42 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
326 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
335 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
26 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
32 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
64 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
115 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
89 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 ...