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

4
votes
1answer
180 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 transpose-sexps;...
3
votes
1answer
218 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
726 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
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
1answer
85 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
119 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
162 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
103 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
289 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<=...
1
vote
1answer
680 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 old....
1
vote
1answer
641 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
33 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 ...
0
votes
1answer
23 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 ...
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 ...
2
votes
0answers
21 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 ...
2
votes
0answers
36 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 ...
2
votes
0answers
347 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
0answers
112 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
70 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 ...
2
votes
0answers
94 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
43 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
105 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
187 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
84 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
234 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
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 ...
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 ...
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-] ...
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 ...
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
178 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
99 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
286 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
345 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 running ...
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
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 ...
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
26 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
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 ...
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
38 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
37 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
31 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
295 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
63 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 ...