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
2answers
330 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
42 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
77 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
1answer
22 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 ...
3
votes
1answer
1k 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 directory....
2
votes
0answers
385 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
145 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
54 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 ...
2
votes
1answer
2k 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 ...
6
votes
2answers
7k 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
2answers
118 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
111 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
509 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. ...
1
vote
1answer
63 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 ...
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?
2
votes
1answer
329 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
66 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
93 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
111 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 ...
2
votes
1answer
309 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
28 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
1answer
72 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 "...
1
vote
1answer
1k 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
1answer
360 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 `/home/nick/...
0
votes
1answer
66 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
259 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 ...
0
votes
0answers
17 views

Choosing the right path for a download and emacs help [duplicate]

I am trying to set up the STk Scheme Package onto my machine. So far almost all of my downloads with Ubuntu have been from the public repository using Terminal which makes it painless. I am having ...
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 ...
9
votes
1answer
93 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?
1
vote
0answers
177 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
3answers
99 views

Replace a specific section of code

I don't know what could do this, sed, vim, whatever. Lets say I have 30 functions, to keep it simple, i'll show 3 #first function AddOne = [ a+1==b, b+1==c ] # second function ...
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
2answers
579 views

Why ubuntu has vi , emacs ,nano with os default?

I am new to ubuntu ..So basically an OS has an app for a purpose.. But ubuntu has three basic text-editors..like nano, vi, emacs ... So what is the reason for that? and what are the advantages and ...
1
vote
0answers
271 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 ...
3
votes
1answer
885 views

How to convert a text file with mixture of encodings to a single encoding?

I created a text file by copying its different parts from different sources (webpages, other text files, pdf files) into gedit and saving it to the file. I guess that is the reason that I have ...
0
votes
1answer
75 views

Upgraded to 14.04 but have a problem editing grub

I am trying to edit this file to add "nomodeset" to the end of the line. Is there any way to edit a buffer? Is there a work-around for this?
0
votes
1answer
3k 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 ...
1
vote
0answers
338 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 ....
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
158 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.
1
vote
0answers
20 views

How to avoid unity lens to capture the meta key so I can use EMACS? [duplicate]

When I use the graphical EMACS and I want for, for example, execute M-x . as soon as I press the Meta key the unity dash opens and I lose focus from emacs, this is really annoying. how do I avoid ...
2
votes
0answers
100 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
2answers
3k views

Compile error: checking for libXaw… configure: error: No X toolkit could be found

Can anyone solve this error? After I configure emacs and run make, i get the following: [jroberts@pc emacs-24.3]$ make make: *** No targets specified and no makefile found. Stop. Here is the ...
2
votes
0answers
185 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 ...
1
vote
1answer
181 views

Unparseable output from pylint in emacs

I just upgraded from Ubuntu 12.04 to 14.04 (clean upgrade, not in-place). I found that I couldn't call pylint from within emacs (M-x pylint) as I used to, so I installed the package python-mode. Now ...
2
votes
2answers
367 views

Emacs 24 in Ubuntu 14.04: Can I remove whitespace of the toolbar?

I have installed Emacs 24 in Ubuntu 14.04 using sudo apt-get install emacs. However it has strange white space in the leftside of the toolbar. Can I remove that, or at least change the color of it? ...
3
votes
1answer
216 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 ...
2
votes
2answers
255 views

How to obtain an Italian dictionary to spell-check within GNU Emacs which correctly recognize accented characters?

I am editing documents in Italian with GNU Emacs and I am used to spell-check my files with ispell. I have an Italian dictionary already installed (the iitalian package for ispell), but it doesn't ...
1
vote
1answer
258 views

Copy & paste non-ASCII characters to an Emacs window from another window doesn't work correctly

I work with emacs with iso-8859-1 coding system. I use emacs23. I have these lines in my .emacs file: (setq default-buffer-file-coding-system 'iso-8859-1) (set-selection-coding-system 'iso-8859-1) ...
0
votes
1answer
81 views

Dinotrace installation

was trying to install dinotrace viewer. instructions at: http://www.veripool.org/projects/dinotrace/wiki/Installing got the following error in make install command: *** Lisp files not installed, you ...