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

11
votes
3answers
13k views

What should I do when I get 'There are stopped jobs' error?

I face this type of situation many times. For example, whenever I try to open some file in emacs with sudo rights using: sudo emacs tet.c & Instead of asking me for the password Ubuntu just ...
0
votes
2answers
119 views

ubuntu 16.04: cannot disable or change keyboard shortcuts that conflicts with emacs' for setting mark

In Ubuntu 16.04, I have disabled the keyboard shortcuts for typing in the Keyboard settings as such: But this seems to have no effect at all as the keyboard shortcuts remain active. This is true ...
26
votes
5answers
28k 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?
20
votes
4answers
52k 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!
0
votes
1answer
13 views

Ctrl+ punctuation keys ( ; : , .) do not work in emacs no window mode inside gnome term

I have setup a few bindings in emacs such as Ctrl + : or Ctrl + ; These bindings work in emacs gui mode but when running emacs -nw inside Gnome terminal 3.6 they don't do anything. My issue is ...
5
votes
5answers
5k 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
3answers
48 views

Open a file with default application that is not listed in “Open WIth”

I would like to open by default all .txt files with emacs, but when I right-click on the file, and go to properties, and then go to the "Open With" tab, emacs doesn't appear. It is not listed either ...
1
vote
1answer
100 views

How do I reinstall shared dependencies after upgrade to 16.04?

I just upgraded to 16.04. When I tried to launch Emacs from the command line, I get the following error emacs/src/emacs: error while loading shared libraries: libgif.so.4: cannot open shared ...
1
vote
2answers
91 views

How to get back Launcher icon for emacs in 16.04?

After installing 16.04 the Emacs icon in the Launcher turned into a question mark: In 15.10, the icon looked more like this: I guess the problem might be that I installed Emacs from source ( and ...
0
votes
1answer
18 views

How can I make pasting work like yanking?

If I press ctrl+y (yank) in some programs, then the program will output what's in the clipboard to the current selected screen area. But why doesn't it work from the terminal? I would like a more ...
1
vote
1answer
89 views

Emacs installation from tar file fails on make [Ubuntu 14.04]

I am trying to install Emacs 24.5 on Ubuntu 14.04 by following this guide. I have downloaded Emacs 24.5 package from FTP and proceeded with ./configure which ran ok, but after running make getting ...
1
vote
0answers
32 views

Uninstall packages with stow

I recently compiled (in Ubuntu 14.04) the latest version of emacs 24.5 using the following script from here. #!/bin/bash # Build latest version of Emacs, version management with stow # OS: Ubuntu ...
2
votes
1answer
1k 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 ...
18
votes
1answer
11k views

Difference between emacs and emacs-lucid packages

After Ubuntu installation(13.10), I found two versions of Emacs 24 in my software center: GNU Emacs 24(emacs24) GNU Emacs 24(emacs24-lucid) I don't understand what the difference between them is ...
1
vote
0answers
8 views

unity somehow captures Control+G from Emacs

When I press Control+G in Emacs (C-g in Emacs's conventions), it does not do what it is supposed to do, eg quit from a minibuffer, instead it just blinks "Quit" but remains there (so I exit with C-] ...
9
votes
3answers
12k 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
0answers
45 views

Uninstall Emacs

I have downloaded and installed emacs from the homepage and now want to unistall and reinstall it. When i do remove purge or autoremove the emacs icon is still to see at the sidebar left, but the ...
6
votes
2answers
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?
0
votes
1answer
24 views

Cannot Remap CapsLock after Swapping with Ctrl

I've remapped my caps lock key so that development in Emacs will be much faster. To do this, I edited /etc/default/keyboard to include: XKBOPTIONS="ctrl:swapcaps" This swapped the Caps lock key with ...
0
votes
0answers
27 views

Emacs keyboard with Compose(CapsLock) instead of Control

How can I set up Emacs shortcuts system wide and map the Control key for the Emacs shortcuts to the Compose key(CapsLock in my case) without interfering with the normal behavior of the Control key? ...
0
votes
0answers
24 views

Remove emacs and all related files

How can i completely remove emacs from my computar? I messed up and i have more than 100 files related with emacs. I tried locate emacs and delete one by one, but i wonder if there is a way to remove ...
12
votes
3answers
4k 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), ...
0
votes
1answer
194 views

How to paste into emacs --no-window-system without auto-indent?

If I paste a piece of code from the browser to emacs -nw with middle mouse button, or Ctrl+Shift+v (in gnome-terminal paste from clipboard), it's incorrectly indented. Original code: for (i=0; ...
0
votes
2answers
29 views

Emacs fullscreen on LTS 14.04

It seems the F11 is not bound for fullscreen. I am using Emacs24 on Ubuntu 14.04, when I hit F11 i get the message: /bin/bash: wmctrl: command not found. How can I bind the F11 key for fullscreening?
1
vote
4answers
193 views

Ubuntu 14.04 LTS crashes often

I have a brand new thinkpad (x250) with Memory: 7,9 GiB - Processor: Intel Core i5-5200 CPU 2.20GHz x 4 - Graphics Intel HD Graphics 5500 (Boardwell GT2) x86/MMX/SSE2 - Disk 243,8 GB. I installed ...
2
votes
2answers
108 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" ...
3
votes
1answer
1k 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 ...
0
votes
0answers
51 views

boot services were changed and therefore Ubuntu does not work

I was changing the boot services to make the boot faster and now I get a black screen (the screen is working but it is black) after I enter my password in the login page. I can't do anything to solve ...
1
vote
1answer
83 views

How to remap single key on bluetooth keyboard with Ubuntu Touch?

I'm using a bluetooth keyboard with Ubuntu Touch (N7), it connects fine but its single Alt key sends the key code for AltGr. I need it to be mapped to Alt / L_Alt (Emacs standard Meta key, as atm I ...
9
votes
5answers
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 ...
0
votes
2answers
121 views

ubuntu 14.04 emacs: how to revoke the fullscreen default?

When I start emacs, it is always fullscreen. I can't find the configuration to have emacs start not in fullscreen (maximized). I'm not the only one with this problem: ...
9
votes
1answer
90 views

How can I use emacs instead of Ubuntu SDK to write Ubuntu Touch Apps?

I want to use emacs and console tools instead of Ubuntu SDK to edit and debug my projects. Where can I learn about doing that?
2
votes
2answers
3k views

Compile error: checking for libXaw… configure: error: No X toolkit could be found

Can anyone solve this error? After I configure emacs and run make, i get the following: [jroberts@pc emacs-24.3]$ make make: *** No targets specified and no makefile found. Stop. Here is the ...
14
votes
1answer
7k 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 ...
0
votes
0answers
38 views

How to disable `Alt+Tab` in unity under 12.04?

I can not find Alt+Tab in Shortcuts of Keyboard of System Settings. Emacs need Alt+Tab. How to disable it in unity ? Thanks
0
votes
0answers
37 views

How to fix this debug message upon Emacs startup?

I run GNU Emacs 25.1.50.2 on my machine having Ubuntu 15.04 and there is always an error on startup: Warning (initialization): An error occurred while loading ‘/home/ffs/.emacs.d/init.el’: Symbol's ...
1
vote
0answers
20 views

How to add composite shortcut key to activate other windows on Windows Spread mode?

By default, pressing super-w will get a bunch of open windows spreaded on screen, and then we can press arrow keys to choose other inactive windows. But instead of pressing arrow key, I want to press ...
0
votes
0answers
29 views

Unmet deps when removing emacsen-common

I have a problem with unmet dependencies. I'm looking for an answer on how to solve the problem in this specific case and also I wan't to know if there is a general method so that I can solve problems ...
3
votes
1answer
1k views

How to install the latest Emacs in 12.04?

In 12.04 , emacs version is 23.3.1. How to install the latest version ? I remember there is a PPA about the newer Emacs. Emacs 24.5 can be compiled and installed manually in 12.04? Is here anyone ...
0
votes
0answers
27 views

How to get the filenames of the emacs files I have open to display on Launchpad/Dash?

I am unhappy with what I have to do to use emacs23 in Ubuntu 12.04 LTS on several files at once. Here's the situation: I used emacs to open a file.Then I used emacs to open another file. To make ...
5
votes
2answers
6k 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 ...
0
votes
0answers
284 views

Problem with packages after upgrading to ubuntu 15.10 from 15.04

I upgraded to ubuntu 15.10 from 15.04 this morning and now I can't install any packages or anything. Indeed when I run a sudo apt-get install I get : Reading package lists... Done Building dependency ...
1
vote
1answer
44 views

How can I get emacs24 fonts to smooth like in the terminal?

I've seen the question asked many times, but I can't find an answer which works. I've tried editing .Xresources. But in the end, I cannot get emacs fonts to look as nice as they do in the terminal. ...
2
votes
1answer
67 views

Custom keyboard shortcut to bash script doesn't work

I am an emacs user and have written a few emacs configuration files. I wanted to run the client-server feature of emacs using a single bash script that would take care of the emacs server and client. ...
2
votes
1answer
59 views

How to open files with emacs in new tabs

I normally open files in emacs with: $ emacs file.txt & But what really gets me crazy, is that eventually I have dozens of files - each one opened in a separate window and as a result ...
2
votes
2answers
334 views

How to use ESC key for Emacs

When typing Esc within an Emacs window under Unity (Emacs 23 standard package), the sound is turned on/off, but Emacs does not receive the key. How can I change (probably) unity such that the Esc ...
0
votes
1answer
92 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, ...
1
vote
2answers
291 views

bug in gforth.el preventing emacs24 from ppa from installing

I'm having trouble installing emacs24 from the repository ppa:cassou/emacs because of an error in gforth.el. The problem is with a known-bug in gforth.el failing on a byte-compile. I'm currently not ...
3
votes
1answer
365 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 ...
1
vote
1answer
274 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 ...