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
0answers
27 views

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

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 ...
0
votes
0answers
16 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-...
2
votes
0answers
17 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 -...
0
votes
1answer
20 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 ((...
-1
votes
1answer
52 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 ...
0
votes
1answer
19 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
vote
0answers
27 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 ...
0
votes
2answers
307 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 ...
0
votes
1answer
14 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 ...
1
vote
3answers
58 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
133 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
20 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
145 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
47 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
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-] ...
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 ...
0
votes
1answer
29 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
31 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
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?
2
votes
1answer
115 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
207 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
96 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
55 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
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 ...
0
votes
0answers
34 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
2k 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
29 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
288 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
51 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
134 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/...
3
votes
1answer
71 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
77 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 ...
1
vote
1answer
239 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<=...
3
votes
1answer
431 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
45 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
301 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
316 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 gnome-tweak-...
2
votes
1answer
73 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
473 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
62 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
47 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
794 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. Why ...
0
votes
1answer
99 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
70 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
455 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
1k 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
765 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 Gtk-...