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

0
votes
0answers
10 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 ...
16
votes
3answers
34k 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!
3
votes
5answers
3k 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
1answer
99 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 ...
5
votes
1answer
2k 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?
3
votes
4answers
4k views

How to completely remove my Emacs?

I downloaded Emacs source files, and installed it using make. After installing Emacs successfully, I manually removed the downloaded source files to save disk space. Now I want to remove Emacs and I ...
0
votes
0answers
14 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
732 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
0answers
7 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, ...
7
votes
3answers
9k 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
2answers
37 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 ...
0
votes
1answer
29 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
195 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
96 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
23 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
17 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
26 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
21 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
17 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 ...
2
votes
1answer
307 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 ...
3
votes
1answer
147 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 ...
1
vote
0answers
158 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 ...
1
vote
2answers
479 views

How to use the latest stable version of org-mode?

Is there a ppa for org-mode? I'm using ubuntu 12.04. If not, can I install the latest stable version of org-mode for Emacs manually?
0
votes
1answer
53 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 ...
1
vote
1answer
28 views

Disable X support for emacs globally [duplicate]

First, I tried installing the latest emacs-nox, but that did not work. Then, I added -nw to my ~/.bash_aliases, which works in most cases, except when I need to run sudo emacs [file] I still get ...
21
votes
5answers
20k 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?
1
vote
1answer
69 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 ...
11
votes
1answer
3k 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 ...
1
vote
1answer
194 views

How to upgrade to the latest Emacs?

I have Emacs 24.3.1 and I'd like to upgrade to the latest Emacs 24.4.x. All documentation that I have visited suggests building from a tarball or source. Is there a reason why there are no package ...
4
votes
2answers
265 views

Emacs screen drawing issues over SSH

I have a Ubuntu 13.10 server installed in VirtualBox on a Windows host. When I connect to it via SSH (tried Putty, Cygwin's OpenSSH and OS X terminal from a different machine) Emacs appears to be ...
2
votes
0answers
34 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" ...
2
votes
0answers
58 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 ...
12
votes
3answers
3k 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), ...
1
vote
2answers
320 views

Clicking Link in emacs no longer opens page in browser

Up until yesterday, clicking a link in emacs would open the corresponding page in my browser (Firefox). Sometime yesterday this changed to always open a new window in the browser, on the home page. ...
0
votes
2answers
307 views

When starting Emacs from menu, it is not obeying .Xresources

I have emacs.font: Inconsolata-13 in my .Xresources (And I have said xrdb -merge .Xresources. I have even rebooted the computer.) When I open Emacs from the command line, it uses Inconsolata. ...
0
votes
0answers
65 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
15 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 ...
8
votes
4answers
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 ...
1
vote
1answer
49 views

Latest Emacs Version, Windowed GUI

I am having an issue with GNU Emacs 24.3.1. I usually only use emacs for the purpose of compiling .pdf or LaTeX documents. And I am unable to open the program correctly via terminal use. I initially ...
3
votes
2answers
602 views

Mouse wheel doesn't scroll in emacs 23.4.1 in Ubuntu 13.04

Scrolling with the mouse wheel doesn't work for me in emacs. When I try, I get the messages: mouse-4 [[or mouse-5]] is undefined I tried M-x mouse-wheel-mode, but get the error: Symbol's value as ...
0
votes
0answers
25 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 ...
0
votes
0answers
16 views

Broken emacs key mapping

I am running emacs23 on kubuntu 14.04 (Trusty Tahr). Sometimes (once every two weeks or so) the standard key mapping in emacs just fails. The control key doesn't work any more, and I get e.g. "xs" in ...
1
vote
0answers
36 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
1answer
147 views

What is the purpose of the package emacs24-common-non-dfsg?

I tried to run C-h r from Emacs, but got error Info file emacs does not exists After googling i found the package emacs24-common-non-dfsg. What is the purpose of this package, and why would I ...
1
vote
0answers
42 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
61 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 ...
0
votes
1answer
2k views

Dependency Problems after updating to 14.04?

I can't seem to install or uninstall anything after updating to 14.04 because emacs and LaTeX was broken. I think I removed all the corrupt LaTeX files, but the emacs ones won't go away. Anyone know ...
2
votes
1answer
163 views

Copy-Paste from Mac to Emacs of ubuntu

(* I have post the same question on AskDifferent, so far I have not got any answer yet, I guess here fits this question better *) I use version 10.9.2 of OS X and a virtual machine 6.0.5 VMware ...
0
votes
1answer
49 views

Short keys to make a line comment in shell script Emacs?

I want to write shell scripts by using Emacs. I have already known to turn shell-script-mode on, but still don't know which short keys to make a line become comment. For example, which short keys in ...
6
votes
2answers
3k views

How do I integrate git with emacs?

What do I need to install to be able to do something like the lines below in Ubuntu 11.04? M-x git-status git-commit-file command (c key) git pull git push