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

Emacs and gvim display no content on FreeBSD 10.2

I just installed FreeBSD 10.2 with the Mate desktop environment and most things seem to work. I have a problem with emacs and gvim though. Since the problem has the same symptoms with both editors, I ...
1
vote
1answer
21 views

emacsclient connection refused

I am running emacs in daemon mode and I got dissconnected from the server on which it was running. After re-connect, when I run emacsclient -nc I get the error connect localhost port 6012: ...
0
votes
0answers
28 views

readline emacs equivalent to vi's 'fc'

In vi readline, I can use the command fc where c is a character I want to find and jump to in the current line. E.g. echo 'hello world' fw --------> Is there an equivalent command in emacs mode? ...
0
votes
1answer
18 views

The server Emacs can't recognize the ALT key when link by a Mac

I use Mac's ssh to get access the server. I find the emacs in server can't recognize the ALT key. My server is REHL with emacs23
1
vote
1answer
14 views

I cannot use the keyboard shortcut <ctrl>+<alt>+<enter> in matlab running in emacs running in screen

In my usual setup, I use use matlab-emacs to run Matlab through the emacs gui. I run matlab and emacs on a linux server, and use ssh and X forwarding so this all shows up on my local ubuntu laptop. ...
0
votes
0answers
19 views

Emacs, window mode is not seeing .bashrc shell variables

I launch emacs from my ubuntu menu bar icon and when i try to access .bashrc variable as, (getenv "ENV_VAR") it returns nil. I collected Gilles' inputs on this issue, added the line . ~/.bashrc ...
1
vote
1answer
35 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
14 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
37 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
42 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
29 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
25 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
21 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
38 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
151 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 ...
2
votes
1answer
137 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
56 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
38 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
109 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
30 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
118 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
29 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
123 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
56 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
36 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
111 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
94 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
32 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
89 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
89 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
79 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
18 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
69 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
20 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
50 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
57 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
225 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
92 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 ...
17
votes
3answers
343 views

What is the name of this terminal window graphical trick, which shows accented edges around highlighted text?

I've noticed a few screenshots of terminal windows online which show thin highlighted edges around status bars or highlighted lines. In the following example, note the light grey edging around lines ...
3
votes
1answer
61 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
151 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
128 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
191 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
182 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
63 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
490 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
44 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
335 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 ...