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

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
11 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
15 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
22 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
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), ...
0
votes
1answer
77 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
20 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
117 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 ...
1
vote
0answers
28 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 ...
2
votes
2answers
71 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
990 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
42 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
18 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
83 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: ...
15
votes
1answer
9k views

Difference between emacs24 and emacs24-lucid

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 ...
26
votes
5answers
25k 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?
9
votes
1answer
86 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?
0
votes
2answers
2k 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
6k 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
32 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
22 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 ...
0
votes
0answers
13 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
22 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
459 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
25 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 ...
4
votes
2answers
3k 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
155 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
21 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
53 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
34 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
310 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
63 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
268 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 ...
2
votes
1answer
173 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
194 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 ...
9
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
38 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
53 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 ?
2
votes
0answers
162 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
296 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
50 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 ...
16
votes
3answers
45k 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
4k 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
283 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 ...
3
votes
4answers
6k 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
28 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
774 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. ...
8
votes
3answers
11k 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
53 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 ...