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

2
votes
1answer
52 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
21 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
73 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 ...
1
vote
0answers
20 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
26 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
166 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
25 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
18 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
738 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
12 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
39 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
133 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
37 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
466 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
124 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
28 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
33 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
22 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
18 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
508 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 ...
1
vote
0answers
187 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
61 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
30 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 ...
1
vote
1answer
100 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 ...
1
vote
1answer
407 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 ...
2
votes
0answers
35 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
65 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 ...
1
vote
2answers
341 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
0answers
66 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
16 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
vote
1answer
51 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 ...
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
164 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
44 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
62 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
52 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 ...
0
votes
0answers
64 views

Using Ibus-m17n with emacs 23 in Ubuntu 14.04

I am having problems getting Ibus-m17n to work with emacs 23.4.1. I have two input methods, the English (UK) supplied with Ibus and a custom method for inputting transliterated roman characters using ...
2
votes
1answer
176 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 ...
1
vote
1answer
20 views

dpkg --status package_name

I'm just playing around with Ubuntu 14.04.1 LTS. I installed emacs, and wanted to double check if it was. ~ 1496 $ dpkg --status emacs dpkg-query: package 'emacs' is not installed and no information ...
0
votes
0answers
70 views

Horribly broken emacs install

After upgrading to Ubuntu 14.04 I can no longer install or update any packages due to broken Emacs packages. I have tried the suggestions on this list including dpkg --purge, apt-get -f install, etc. ...
0
votes
1answer
34 views

Problem rebinding isearch key in Emacs

Hello I am trying to rebind the Emacs key for isearch (C-s) to the more CUA like C-i becuase C-s is bound to save. I did the following: (global-set-key "\C-i" 'isearch-forward) (global-set-key (kbd ...
0
votes
0answers
61 views

Add launcher for emacs

I installed emacs-24.4 and I can run it from the terminal. However, while the process was running, I right-clicked the icon on the dash and chose the Lock to Launcher option. But if I click that ...
1
vote
1answer
781 views

When I install packages, I keep getting fontconfig warning

I'm running Ubuntu 14.04 LTS on a virtual machine, and I was installing packages, specifically text editors in this case (emacs23, sublime, vim..). Anyways, I get this massive warning of font ...
0
votes
0answers
102 views

lenovo z580 ubuntu 14.04

I have a lenovo z580 and I have installed on it ubuntu 14.04(before I had on it 12.04). I have a problem, after a few days I have installed when I try to login into system it not working. I get en ...
0
votes
1answer
156 views

Build Emacs: cannot find -lpng15

I'm trying to build Emacs 24.4 and this error occured: /usr/bin/ld: cannot find -lpng15 collect2: error: ld returned 1 exit status make[1]: *** [temacs] Error 1 make[1]: Leaving directory ...
0
votes
1answer
49 views

Find and replace in whole buffer for emacs23

I have been using emacs for years, but am by no means an expert. When I got my new verion of Ubuntu I got the latest version of emacs (24), but hated it, so dropped back to emacs23. It is like what ...
1
vote
1answer
120 views

Use Super+C/V for copy-pasting in Emacs

In Emacs I activated the option to use CUA keys for copy/cut-pasting with C-c/C-x/C-v. However sometimes it creates a problem when using Latex/Auctex key shortcuts, because it "eats" the first C-c or ...