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

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?
4
votes
1answer
169 views

Prevent X/Gnome/Terminal from catching emacs commands

When I use emacs, I often end up typing many exciting key combinations which I would usually not use, such as C-M-t (i.e. Ctrl - Alt - T), which in emacs is supposed to run the command ...
3
votes
1answer
189 views

How to transform Vim configuration into Emacs one?

I need to setup Emacs editor by preparing the ~/.emacs configuration file. I have been using Vim for years and now I want to switch to Emacs for various reasons that are out of scope of this post. To ...
3
votes
1answer
694 views

Lines disappearing intermittently from both Terminal and Emacs

I'm having trouble even finding the right search terms to diagnose this problem. It's also hard to reproduce on my own machine. When I enter a command in the terminal, occassionally I will see no ...
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
1answer
112 views

Emacs Keybindings for all Text Inputs

I type with ten fingers. I try to avoid all keys on the keyboard which are not easily accessible: Pos1 End1 Esc ... Up to now my fingers like the emacs key bindings, since they work in the editor ...
2
votes
1answer
137 views

Emacs keybindings in Lubuntu

Is there a way to enable ubiquitous emacs keybindings in Lubuntu? I've seen solutions for Ubuntu and Xubuntu, such as emacs keybindings in ubuntu 12.04, but I haven't found one for Lubuntu.
2
votes
1answer
1k views

Add PPA cassou/emacs

When I run following command in terminal: sudo add-apt-repository ppa:cassou/emacs It says: Cannot add PPA: 'ppa:cassou/emacs'. Please check that the PPA name or format is correct. Also I am ...
2
votes
1answer
2k views

Unable to install emacs24 on Ubuntu 12.04 Precise

I've added the cassou ppa, but when I try to install emacs24 or emacs-snapshot, apt-get can't seem to find the right packages: $ sudo add-apt-repository ppa:cassou/emacs ... $ sudo apt-get update ... ...
2
votes
1answer
1k views

How to install color themes onto Emacs 24.3?

I'm trying to install the Oblivion color theme into GNU Emacs 24.3. I downloaded the repository as a .zip file then moved the zip folder into my ~/.emacs.d/color-theme/themes directory. I'm pretty ...
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 ...
1
vote
1answer
605 views

Upstart not starting emacs --daemon

I am trying to start emacs daemon through upstart. Here is my script # emacs --daemon - Emacs daemon # # The Emacs daemon provides a server for Emacs clients. description "Emacs daemon" start ...
1
vote
1answer
2k views

Broken fonts in Emacs over SSH

I'm having a problem with Emacs when I SSH from my Ubuntu 12.04 laptop to another Linux machine. FWIW, I believe the remote machine is using SUSE Enterprise Server 10 SP2, which is possibly quite ...
1
vote
1answer
620 views

Problem with the keyboard layout in Emacs (ubuntu 12.04)

I've got some problems with the keyboard layout. I have a french AZERTY keyboard. When I switch to another layout (I tested both programmer DVORAK and Greek) everything seems fine. However, in emacs, ...
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
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
1answer
61 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, ...
2
votes
0answers
161 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
0answers
97 views

Shall I install update for my self installed emacs?

Yesterday, I installed the latest Emacs 24.4-1 from its official site by compiling its source code, because the one in repository is older. But today the software update notifies me if I want to ...
2
votes
0answers
81 views

Is it possible to transform sublime text or emacs to something like bpython?

I'm using sublime text 3 and I like it a lot, but maybe a bit more love for bpython. It detects what libraries are installed and has autocompletion for codes that weren't previously written in the ...
2
votes
0answers
36 views

Long-press enter as Control key

I am a Emacs user and I want to have Long-press enter as an extra control key. I used to do this in Mac OS with KeyboardRemap4Macbook. But was not able to find it how to do in Ubuntu Unity. This would ...
2
votes
0answers
89 views

Disable system shortcut for a single application

When I use emacs, I want to be able to use C-q (quoted-insert). However when I do that in Unity, the program quits since C-q is the system-wide shortcut I set for closing a window. I want to keep C-q ...
2
votes
0answers
161 views

How to install melpa in emacs

I need to install MELPA into my emacs 23.3 version. I have googled for the ways to install it but couldn't find/understand any of them. Can anyone please help me with installing MELPA. I am using ...
2
votes
0answers
79 views

Strange screen fragment when using emacs

I am being bothered by the strange screen fragment while using emacs. Sometimes, when I edit something in emacs, the screen gets fragmented like this: The lines are not correctly updated ...
2
votes
0answers
210 views

stop emacs server being killed on logout

I'd like to run an emacs server in the background and have it persist after logout. I do not want to start it a system service since it's not a system service. A more practical reason is that I'm not ...
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 ...
1
vote
0answers
47 views

Changing default settings in emacs 24.3.1

I am trying to set some default settings in emacs. It was sufficient to just edit ~/.emacs. I tried after updating my Ubuntu and this option is not working, any suggestions?
1
vote
0answers
54 views

How to stop Ctrl+= being swallowed?

I want to bind C-= in Emacs but Emacs sees it as "=". Emacs is 24.3 running in gnome-terminal on Ubuntu 14.10. xev sees that Control is pressed but C-v C-= in bash prints only "=". I assume that ...
1
vote
0answers
170 views

Terminal screen will not be refreshed after suspending program: is this a bug or a default configuration problem?

Sometimes after suspending emacs(CTRL+Z) terminal screen refreshes incorrectly: Never experienced this problem in Ubuntu 12.04 (my current version is 14.04 with gnome-shell 3.6.2)
1
vote
0answers
85 views

Emacs freezing for a few seconds while in use

My EMACS tends to freeze for a few seconds while I am typing code, and I am not sure what is wrong as when I monitor my CPU and RAM usage, there are no visible spikes. System Info: Ubuntu 14.0.4 ...
1
vote
0answers
217 views

How does gedit detect the encoding of a text file?

How does gedit detect the encoding of a text file when opening it? I notice that gedit can always find the correct encoding when opening a text file of mine, while chardet can often fail to and ...
1
vote
0answers
280 views

Configuration error for pep8 and flymake for emacs

I am trying to configure pep8 to ignore E221, E222, and E226 (all related to spacing around operators). I followed this documentation https://pep8.readthedocs.org/en/1.4.6/intro.html to generate a ...
1
vote
0answers
31 views

Where is the URL Package?

The URL package contains code to parse and handle URLs. It was originally part of w3, the web browser written entirely in EmacsLisp. Now it is a separate library available in Emacs 22. I am ...
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 ...
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 ...
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 ...
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 ...
0
votes
0answers
149 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 ...
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 ...
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, ...
0
votes
0answers
742 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 ...
0
votes
0answers
43 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
0answers
94 views

Open link from application in running firefox profile

Applications that allow opening links (e.g. emacs), always fail to open URLs for me. Instead of immediately opening the URL in a running browser window, they open the firefox profile manager dialog. ...
0
votes
0answers
17 views

Shutdown in Trusty kills processes with unsaved work

In Precise, when I clicked on "Shut Down" from the gear menu, it would shut things down in an orderly manner. E.g. it would tell processes to shut down, and would let me know if e.g. emacs was still ...
-1
votes
0answers
29 views

Why do my A, N, Enter, Shift Keys seem to have reduced sensitivity to touch?

I recently installed PyCharm, Emacs, and Vim in order to start programming. However, I noticed that my A, N, SHIFT, and ENTER keys on my keyboard seem to not always work when I press them. There was ...