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

1
vote
3answers
39 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
2answers
35 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
17 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
54 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
0answers
26 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 ...
1
vote
0answers
7 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-] ...
0
votes
0answers
39 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 ...
0
votes
1answer
19 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 ...
0
votes
2answers
28 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
1answer
72 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
4answers
171 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
1answer
69 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 ...
0
votes
0answers
49 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 ...
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
36 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
19 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
28 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 ...
0
votes
0answers
270 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
38 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. ...
0
votes
2answers
112 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: ...
2
votes
1answer
66 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
55 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 ...
0
votes
1answer
166 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; ...
3
votes
1answer
316 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
41 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 ...
1
vote
1answer
246 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 ...
2
votes
0answers
262 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
1answer
64 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
3answers
394 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
58 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 ...
0
votes
0answers
40 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
784 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
1answer
88 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, ...
0
votes
2answers
61 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 ...
1
vote
1answer
406 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 ...
0
votes
1answer
702 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
759 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
298 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
41 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
65 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
51 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
27 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
22 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 ...
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 ...
2
votes
0answers
355 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 ...
0
votes
1answer
128 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 ...