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

Map the Right Alt to Right Control in Xubuntu

I am using Xubuntu 16.04 and I want to try out Emacs. I think binding the Right Alt key to Right Control key would help. I already tried using setxkbmap but it did not work. I did this : setxkbmap -...
2
votes
0answers
20 views

Ubuntu Mate global shortcut for hiding/showing application

I am an Emacs user, and would love to be able to hide and show emacs from whatever I am doing, just as seen in Guake/Tilda. I am running Ubuntu Mate 16.04, and using compizconfig-settings-manager I ...
0
votes
1answer
21 views

How do I launch zathura from bash/emacs maximized / fullscreen?

I use recently discovered zathura and I like it a lot. I use it now to check the documents from emacs/AUCTeX like: (setq TeX-view-program-list '(("zathura" "zathura --page=%(outpage) %o"))) Which ...
2
votes
0answers
35 views

How to use CTRL+HOME in the terminal?

When I use emacs in graphic mode, I can go to the beginning of the buffer with Ctrl+Home. When in bash, emacs won't recognize the combination and only sees the Home. I checked like here and, in ...
0
votes
1answer
31 views

Gedit error for non sudo - undefined symbol: cairo_surface_set_device_scale (undefined symbol: cairo_surface_set_device_scale)

for some reason I am unable to run gedit as a normal user. I get the following error: heberto@heberto-XPS-13:~$ gedit gedit: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgdk-3.so.0: undefined ...
3
votes
2answers
483 views

rtl text in emacs

I'm using emacs to write my thesis. I need to create a Hebrew abstract. Is there a way to enable right-to-left text display in emacs? (the correct answer should be how can I enable right-to-left text ...
1
vote
0answers
30 views

Emacs Ctrl+L/Space/K… do not work any more since last update (2016-06-18 or a bit earlier) [closed]

All is in the subject: most of Emacs keys bindings (using CTRL) do not work any more since my ubuntu 14.04 TLS has been updated yesterday... I cannot tell exactly what has been update but this is one ...
9
votes
2answers
7k views

What library I need to install if I want to compile emacs

I am trying to compile emacs on Ubuntu 12.04. This is because I want to use emacs 24.2. But I am getting this error. How can I fix it? checking for long file names... yes checking for X... no ...
1
vote
1answer
283 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; i<=...
0
votes
0answers
18 views

Desktop entry start 2 times!

I have a desktop entry to start emacs daemon at boot. The desktop entry is as follows: [Desktop Entry] Type=Application Name=EmacsServer Exec=emacs --daemon Comment=Emacs daemon X-GNOME-Autostart-...
0
votes
1answer
25 views

How to remove gap around maximized Emacs frame on KDE4

I am using Emacs (24.3.1) on Kubuntu (Ubuntu 14.04 with KDE 4.13.1). On startup I maximize my Emacs frame with this command in my init.el: (custom-set-variables ... '(initial-frame-alist (quote ((...
0
votes
1answer
20 views

Emacs suspends right after starting in bash

(Possibly) important info: Ubuntu version - 16.04 LTS GNU Emacs version - 24.5.1 GNU bash version - 4.3.42(1)-release I'm trying to edit my apache2.conf file in /etc/apache2/, but using sudo emacs -...
-1
votes
1answer
74 views

Opening emacs in terminal results in Gtk-WARNING

This warning is shown when I try to open emacs in terminal: (emacs:5854): Gtk-WARNING **: Theme parsing error: gtk.css:2603:31: Missing name of pseudo-class Why is this happening, and how can I fix ...
1
vote
0answers
31 views

how to fix font appearance on a remote terminal?

after logging in to my terminal server via ssh kyes, I use the text editor emacs24 instead of the default nano, but no matter how I change the font, the system doesn't seem to pick that font. Adding ...
11
votes
3answers
14k 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 ...
1
vote
2answers
467 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 ...
28
votes
5answers
30k 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?
22
votes
4answers
56k 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
18 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
64 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
206 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
179 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
21 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 ...
2
votes
1answer
135 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
59 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
2k 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
9 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
13k 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
48 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
3k 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
30 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
33 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
25 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
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
220 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
149 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 directory....
0
votes
0answers
56 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
101 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
150 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: http://ubuntuforums.org/...
9
votes
1answer
93 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
4k 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 ...
15
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
21 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 ...