emacs - Is a popular text editor, usually characterized by it's extensibility. Often described as "the extensible, customizable, self-documenting, real-time display editor." Now part of the GNU project, it was originally developed by Richard Stallman in the mid 1970s and development, and ongoing ...

learn more… | top users | synonyms

2
votes
1answer
52 views

How to recover offscreen window after disconnecting second monitor?

I use Ubuntu 14.04 on my laptop at my desk with a second monitor. When I disconnect from the second monitor---without fail---my window for Emacs moves off screen. I can Alt-TAB to make Emacs the ...
21
votes
5answers
21k views

How do I download the command-line emacs instead of the GUI one?

I used sudo apt-get install emacs to download emacs. I expected the command-line emacs to start when I ran emacs but instead the GUI emacs started. How can I download the command-line emacs?
1
vote
1answer
73 views

Build dependencies for emacs24 could not be satisfied 14.04

I want to manually install emacs24.4 and am following the widely available tutorials for doing so under 14.04 but when I want to install the required build-dependencies: sudo apt-get build-dep ...
8
votes
3answers
3k views

Emacs-like keybindings system-wide?

Is there a way to set Emacs-like keyboard shortcuts (at least the subset mentioned below) for the whole OS? This is possible in some apps such as the terminal, Emacs (go figure :) and additionally ...
1
vote
1answer
21 views

Unity / gnome-terminal passing control keys

I'm trying to get a setup with GNU screen in gnome terminal that I'm happy with (emacs user). I really like having Ctrl+^ as my GNU screen command key (as it doesn't interfere with any emacs key ...
2
votes
1answer
26 views

Does `C-x h` and `C-x-h` mean the same thing in Emacs ?

Does C-x h and C-x-h mean the same thing in Emacs ? Why are some commands in Emacs specified without an -, while some are, like the example above ? Does it always mean the same thing ?
1
vote
0answers
20 views

Swapping Caps Lock and Ctrl PROBLEM

I have tried a few different ways to remap ctrl and caps lock and none of them seem to be working. I am running Ubuntu on a Mac through VirtualBox. The two methods I have tried are using ...
2
votes
3answers
166 views

Error 'File is a symlink to a non-existent target'

While working through two active buffers in Emacs, sum.cpp and template.cpp, I accidentally shut down my laptop (Ubuntu 15.04 (Vivid Vervet)) without closing Emacs, and without saving these two ...
0
votes
0answers
25 views

Emacs & Python: How to indent to the previous level of identation (go back one level of indentation)?

Emacs & Python: How to indent to the previous level of identation (go back one level of indentation) ? I've the following problem in Emacs when writing Python scripts: As the image below ...
17
votes
3answers
35k views

How to install emacs 24.3 on Ubuntu?

This is my first time using Ubuntu and I dont know how I should install a program on it. I tried using cd the directory where it is and then ./configure it but it is not working!
3
votes
5answers
3k views

gtk-key-theme Emacs: what keystroke is for select-all?

I prefer emacs keystrokes, but select-all doesn't seem to be part of the emacs vocabulary, or at least, the gtk-key-theme for emacs. M-w isn't working to copy the selected region. What's the ...
1
vote
1answer
133 views

Emacs on phone (e.g. BQ or Meizu)

Is Emacs available on Ubuntu phones such as BQ or Meizu? I heavily use a personalized orgmode (http://www.orgmode.org) as a kind of calendar with a wide range of applications such as running code ...
5
votes
1answer
2k views

Why is the meta key is not working when using Emacs?

Suddenly, I am not able to use any combination of meta keys. The Alt key is not working at all in my emacs. Can anyone help me on this issue?
3
votes
4answers
4k views

How to completely remove my Emacs?

I downloaded Emacs source files, and installed it using make. After installing Emacs successfully, I manually removed the downloaded source files to save disk space. Now I want to remove Emacs and I ...
0
votes
0answers
18 views

Multiple major mode for Emacs

I'm looking for a way to get Emacs to indent and colour mixed PHP and HTML (preferably all programming languages in one go, but that doesn't seem to be the way Emacs works...). I read about MMM-mode, ...
4
votes
3answers
738 views

Why does Ubuntu create a file ending in ~ for every file I create with a text editor like GNU Emacs? [duplicate]

Why does Ubuntu create a file ending in ~ for every file I create with a text editor ? Creating a file with a text editor like GNU Emacs, say myfile, another file called myfile~ is also created. ...
0
votes
0answers
13 views

emacs doesnot work with xdg-open

I use emacs 24.4.1 on ubuntu 15.04. Somehow xdg-open doesnot work if i run it from emacs. For example, if i run "xdg-open 1.pdf" or "gvfs-open 1.pdf" in eshell they do not work. At the same time, ...
7
votes
3answers
9k views

Swap caps lock and ctrl in ubuntu 13.10

Can anyone explain how to swap caps lock and ctrl keys on ubuntu desktop under unity. I use it to avoid emacs pinky.
0
votes
2answers
39 views

emacs closes when terminal closes [duplicate]

I open a file with emacs through terminal just typing emacs file.txt and when I close terminal, emacs closes too, and when I try to execute another thing terminal doesn't let me becuase keeps ...
0
votes
1answer
37 views

how to get emacs24 to highlight PHP

Any emacs veterans able to assist? I can not find the files that the various websites that claim to show you how to obtain or make the settings for emacs24 to highlight PHP. I read contradicting ...
0
votes
0answers
466 views

GTK-Message, when open a file with emacs through terminal

I'm trying to open a text file through terminal just typing: emacs file.txt the file opens on emacs, but when I close the terminal emacs closes too, and I get this message in terminal ...
1
vote
2answers
125 views

How can I disable Alt-Tab application switching in Cinnamon when a certain program is open?

I use emacs and have fill commands set to Alt-Tab in certain modes and, as a creature of habit, would like to keep it that way. Is there an easy way to disable application switching via Alt-Tab when ...
0
votes
3answers
28 views

What is the PAGER used by info pages?

When typing the command info you get a long output with header as: File: dir, Node: Top This is the top of the INFO tree This (the Directory node) gives a menu of major topics. Typing ...
2
votes
1answer
17 views

Using emacs for prolog programs

Is there any way to tell emacs that it should recognize files which ends with .pl as Prolog files? When I currently load a .pl file into emacs it activates the perl-mode. I read some emacs manual ...
0
votes
0answers
33 views

“ctrl-space” not recognized under 'French (alternative)' input source under 15.04

The "ctrl-space" emacs shortcut to set the mark does not seem to work when emacs is launched within the terminal ('emacs -nw') when my input source is set to 'French (alternative)'. Surprisingly, the ...
0
votes
0answers
22 views

How to delele the automated produced file by Emacs

In the process of editing file with Emacs, for a example the name of file test.org, Emacs automatically produce a file #test.org#. I delete the test.org but the #test.org# still exists. I fail to ...
0
votes
1answer
18 views

Bind the make command to a shortcut

I use Emacs under Ubuntu. I would like to bind the make command to a shortcut, so that makefile could be launched. If the compilation fails, I would the error message to be shown in a sub-window or ...
2
votes
1answer
509 views

libMagicWand.so.5 cannot open shared object file?

After update to version Ubuntu 15.04 I have problems when I try to run emacs. emacs: error while loading shared libraries: libMagicWand.so.5: cannot open shared object file: No such file or ...
3
votes
1answer
149 views

How to transform Vim configuration into Emacs one?

I need to setup Emacs editor by preparing the ~/.emacs configuration file. I have been using Vim for years and now I want to switch to Emacs for various reasons that are out of scope of this post. To ...
1
vote
0answers
187 views

Cannot open emacs [closed]

Whenever I try to open emacs, it opens and then close agian. In the terminal I get the following error X protocol error: BadMatch (invalid parameter attributes) on protocol request 139 When compiled ...
1
vote
2answers
493 views

How to use the latest stable version of org-mode?

Is there a ppa for org-mode? I'm using ubuntu 12.04. If not, can I install the latest stable version of org-mode for Emacs manually?
0
votes
1answer
61 views

How can I type the symbol ^ in emacs?

I have Ubuntu and I got Emacs from the Ubuntu store. My keyboard layout is Latin American. To type the symbol \, I use AltGr and the ? key and it works in Emacs. To type the ^ symbol, I use AltGr ...
1
vote
1answer
30 views

Disable X support for emacs globally [duplicate]

First, I tried installing the latest emacs-nox, but that did not work. Then, I added -nw to my ~/.bash_aliases, which works in most cases, except when I need to run sudo emacs [file] I still get ...
1
vote
1answer
100 views

how to uninstall emacs from command line?

I have ubuntu 12.04 I installed emacs using below commands. $ apt-get update $ apt-get install emacs Then, as expected, I could find emacs while searching in dash. Next I wanted to uninstall ...
12
votes
1answer
4k views

How to install emacs 24.4 on Ubuntu?

Emacs is build from the Launchpad sources, which is based on the Debian emacs-snapshot (which is not maintained any more). The cassou PPA only has 24.3 builds available. Do you know any other ways ...
1
vote
1answer
407 views

How to upgrade to the latest Emacs?

I have Emacs 24.3.1 and I'd like to upgrade to the latest Emacs 24.4.x. All documentation that I have visited suggests building from a tarball or source. Is there a reason why there are no package ...
4
votes
2answers
285 views

Emacs screen drawing issues over SSH

I have a Ubuntu 13.10 server installed in VirtualBox on a Windows host. When I connect to it via SSH (tried Putty, Cygwin's OpenSSH and OS X terminal from a different machine) Emacs appears to be ...
2
votes
0answers
35 views

emacs keeps popping up “buffer menu” when I don't want it

Ubuntu 14.04, HP ZBook GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.18.9) When I'm typing into a buffer, or just moving the cursor with ^N,^P, etc, often emacs pops up a "buffer menu" ...
2
votes
0answers
65 views

Shall I install update for my self installed emacs?

Yesterday, I installed the latest Emacs 24.4-1 from its official site by compiling its source code, because the one in repository is older. But today the software update notifies me if I want to ...
12
votes
3answers
3k views

How can I make running emacsclient from the unity launcher reuse an existing emacs window

(I'm actually asking this even though I intend to supply the answer, so this is more by way of providing a tip.) If you create an emacsclient launcher by copying a .desktop file (e.g. the Emacs one), ...
1
vote
2answers
341 views

Clicking Link in emacs no longer opens page in browser

Up until yesterday, clicking a link in emacs would open the corresponding page in my browser (Firefox). Sometime yesterday this changed to always open a new window in the browser, on the home page. ...
0
votes
2answers
330 views

When starting Emacs from menu, it is not obeying .Xresources

I have emacs.font: Inconsolata-13 in my .Xresources (And I have said xrdb -merge .Xresources. I have even rebooted the computer.) When I open Emacs from the command line, it uses Inconsolata. ...
0
votes
0answers
66 views

Open link from application in running firefox profile

Applications that allow opening links (e.g. emacs), always fail to open URLs for me. Instead of immediately opening the URL in a running browser window, they open the firefox profile manager dialog. ...
0
votes
0answers
16 views

Shutdown in Trusty kills processes with unsaved work

In Precise, when I clicked on "Shut Down" from the gear menu, it would shut things down in an orderly manner. E.g. it would tell processes to shut down, and would let me know if e.g. emacs was still ...
8
votes
4answers
3k views

Left Ctrl key not working in VirtualBox

While running an OS in VirtualBox on Ubuntu 10.10 amd64, I find the LCtrl(left-ctrl) key is not being properly detected. (The RCtrl(right-ctrl) is used by Virtual Box, but the LCtrl key should be ...
1
vote
1answer
51 views

Latest Emacs Version, Windowed GUI

I am having an issue with GNU Emacs 24.3.1. I usually only use emacs for the purpose of compiling .pdf or LaTeX documents. And I am unable to open the program correctly via terminal use. I initially ...
3
votes
2answers
618 views

Mouse wheel doesn't scroll in emacs 23.4.1 in Ubuntu 13.04

Scrolling with the mouse wheel doesn't work for me in emacs. When I try, I get the messages: mouse-4 [[or mouse-5]] is undefined I tried M-x mouse-wheel-mode, but get the error: Symbol's value as ...
0
votes
0answers
25 views

Why do my A, N, Enter, Shift Keys seem to have reduced sensitivity to touch?

I recently installed PyCharm, Emacs, and Vim in order to start programming. However, I noticed that my A, N, SHIFT, and ENTER keys on my keyboard seem to not always work when I press them. There was ...
0
votes
0answers
16 views

Broken emacs key mapping

I am running emacs23 on kubuntu 14.04 (Trusty Tahr). Sometimes (once every two weeks or so) the standard key mapping in emacs just fails. The control key doesn't work any more, and I get e.g. "xs" in ...
1
vote
0answers
36 views

Changing default settings in emacs 24.3.1

I am trying to set some default settings in emacs. It was sufficient to just edit ~/.emacs. I tried after updating my Ubuntu and this option is not working, any suggestions?