Questions tagged [emacs]
emacs is a popular text editor, usually characterized by it's extensibility and 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 extension of it continues to this day.
395
questions
82
votes
3
answers
229k
views
What should I do when I get 'There are stopped jobs' error?
I face this type of situation many times.
For example, whenever I try to open some file in emacs with sudo rights using:
sudo emacs tet.c &
Instead of asking me for the password Ubuntu just ...
76
votes
5
answers
86k
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?
65
votes
17
answers
128k
views
Comparizon between text editors in Ubuntu: Vim vs. Emacs vs. Nano [closed]
I was wondering the difference between these text editors and which is best used with Ubuntu?
What are each of them good for? Are there better ones?
43
votes
2
answers
20k
views
How to upgrade to Emacs 24.1?
Emacs 24.1 was released recently, and I'm wondering what the recommended way of upgrading Precise's Emacs to it is. I know of the snapshot PPA, but I'd like the final, stable version. I've found a ...
42
votes
2
answers
39k
views
Difference between emacs and emacs-lucid packages
After Ubuntu installation(13.10), I found two versions of Emacs 24 in my software center:
GNU Emacs 24(emacs24)
GNU Emacs 24(emacs24-lucid)
I don't understand what the difference between them is ...
38
votes
5
answers
118k
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!
38
votes
5
answers
19k
views
How do I enable Emacs keybindings in apps, such as Google Chrome?
Can anyone tell me how to enable Emacs keybind on Chrome?
I found some links but they are either not clearly mentioning how to do so or not what I want (I don't want external tools to be run for this ...
37
votes
4
answers
20k
views
Emacs-like keybindings system-wide?
Is there a way to set Emacs-like keyboard shortcuts (at least the subset mentioned below) for the whole OS? This is possible in some apps such as the terminal, Emacs (go figure :) and additionally ...
36
votes
1
answer
30k
views
Emacs 25 on Ubuntu 16.10?
Is there any way of installing Emacs 25 or 25.1 on Ubuntu 16.10 without having to compile from source?
I want a stable install of Emacs and do not wish to install an unstable or nightly build.
33
votes
1
answer
29k
views
Emacs, which to use?
There seem to be the following versions: emacs23, emacs23-nox, e3, emacs23-lucid, and jove, as choices to download. Where can I find out what the differences are?
29
votes
2
answers
32k
views
How can I run emacs in gnome terminal without popup interface?
Just like using emacs on putty. I just transfered to Ubuntu from windows.
28
votes
3
answers
23k
views
How to stop Alt from triggering Global Menu?
I am trying to disable Alt from triggering the global menu when I am using an application (I am using Ubuntu 14.04).
My problem is, when I am using emacs, for example, and I hit Alt+h, the help menu ...
27
votes
2
answers
22k
views
What libraries do I need to install if I want to compile Emacs?
I am trying to compile emacs on Ubuntu 12.04. This is because I want to use Emacs 24.2.
However, I am getting the following error. How can I fix it?
checking for long file names... yes
checking for ...
25
votes
2
answers
39k
views
Add line numbers to GNU Emacs
How can I add line numbers to Emacs?
Please explain, I'm an absolute beginner.
25
votes
6
answers
12k
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 ...
25
votes
2
answers
12k
views
The Ctrl space does not set mark in Emacs
I installed Ubuntu 14.04 and use fvwm as the windows manager. The Ctrl+space does not set mark in Emacs. It seems that Ctrl+Space does nothing. I use Ctrl+Alt + F2 to go to the console, and Emacs ...
23
votes
3
answers
45k
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 ...
23
votes
3
answers
32k
views
How to change font size in emacs?
I download emacs with 'sudo apt-get install emacs'. When I run emacs, I see emacs with too big fonts. I don't know why the default setup to have normal font size in emacs. How can I do that?
22
votes
9
answers
68k
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 ...
16
votes
3
answers
71k
views
How do I select and copy text in Emacs using the keyboard?
How do I select text using the keyboard?
After selecting text, I click on Edit. It shows Copy <copy>.
How do I copy text using the keyboard?
16
votes
3
answers
19k
views
Set emacs -nw as default editor
When editing files like sudoers, I want to use emacs instead of nano. So I ran this command
sudo update-alternatives --config editor
And I selected emacs. The only issue is I like emacs in no window ...
16
votes
1
answer
10k
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 ...
15
votes
3
answers
6k
views
How can I make running emacsclient from the unity launcher reuse an existing emacs window
If you create an emacsclient launcher by copying a .desktop file (e.g. the Emacs one), it does not behave in the standard Unity launcher manner. It always launches a new window; it doesn't recognize ...
15
votes
2
answers
3k
views
Emacs info manual missing in Ubuntu 17.10
On Ubuntu 17.10, installing Emacs via $sudo apt install emacs
and then trying to view the Emacs manual using C-h r fails with error "Info file emacs does not exist" The same set of instructions on ...
14
votes
2
answers
13k
views
What is the install routine for Common Lisp/ SLIME/SBCL/Quicklisp on Ubuntu?
I'd like to install above recommended Common Lisp package. What is the best routine to install it on Ubuntu?
13
votes
4
answers
19k
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.
13
votes
1
answer
3k
views
Dead keys in emacs with ibus
I've just upgraded to 13.10 and noticed that dead keys are not working anymore in emacs (a keystroke to ' leads emacs to display <dead-acute> is undefined instead of waiting to the next key. In ...
12
votes
3
answers
22k
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 output ...
12
votes
5
answers
3k
views
Emacs keybindings for textboxes in firefox?
I'm so used to emacs that sometimes, when I'm typing something in a textbox in firefox, I sometimes try and do C-p to move up a line. It is seriously annoying to have to cancel a print dialog box ...
12
votes
1
answer
2k
views
What differences are there between the various version of emacs available?
Ubuntu (10.10) offers emacs21,22,23 and emacs-snapshot. What are the differences between them and which one does the emacs package install by default? Also, I presume emacs-snapshot-gtk is the most up ...
12
votes
3
answers
11k
views
An alternative to the Super key on an old keyboard
I've got a classic M-series IBM keyboard that I want to put to a use. However, it does not have a Windows (a.k.a Super) key, that I use for many windows-manager-related shortcuts. On top of it, I ...
11
votes
3
answers
10k
views
How to make xterm to send the Alt key to emacs as Meta?
I see that this question has been asked multiple times. The solutions given there in does not seem to apply to my setup. Here is my story:
I use ubuntu 12.0.04 LTS, with xmonad (not over gnome), and ...
11
votes
2
answers
3k
views
Emacs C-. not working in terminal
I use GNU Emacs, usually like emacs -nw which launches the terminal version (as opposed to the windowed GUI version).
I write school papers in LaTeX so I use flyspell-mode for spell-checking within ...
10
votes
1
answer
5k
views
emacs keybindings in ubuntu 12.04 [duplicate]
I am trying to get Emacs-like Keybindings in GTK, Firefox, Chrome, etc. I have followed the directions recommended here (and in lots of places) but to no effect.
In other words, I added gtk-key-...
10
votes
2
answers
15k
views
How do I install the *latest* version of Emacs?
I've downloaded the .tar.xz file from the GNU Emacs page, and extracted it, but now I have a huge directory full of files, and I have no idea what to do with them. The README is unhelpful, too.
I am ...
10
votes
1
answer
2k
views
application focus of emacsclient frame
I use emacs24 and I usually start emacs as a daemon at start then use emacsclient frames.
But I've encountered a problem: After I created the first frame, then whenever I created a new frame (after ...
10
votes
2
answers
828
views
Emacs scroll bar renders incorrectly
As the title says, in emacs, the scroll bar renders incorrectly. Old positions are never erased. I also can't click and drag the scroll bar. I've tried searching but can't find anything about this. ...
10
votes
2
answers
1k
views
ess won't fully install ubuntu 12.04
The last time I ran sudo apt-get upgrade ess gave this error and now says its not fully installed. I checked and installed all dependencies and couldn't find any other reports of this issue. I also ...
9
votes
2
answers
17k
views
apt build-dep fails, unable to locate source package, despite deb-src lines present in the /etc/apt/sources.list.d folder
I ran sudo apt-get build-dep emacs24 and it returned the error:
Reading package lists... Done
E: Unable to find a source package for emacs24
Now I know the usual advice in this situation, that is, ...
9
votes
5
answers
4k
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 ...
9
votes
2
answers
4k
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
9
votes
2
answers
12k
views
How can I install emacs 27 in ubuntu LTS (18.04.1)?
Question says it all, emacs 27 doesn't seem to be available through apt-get on my ubuntu version nor PPAs. Does that mean I have to build it from source? Thank you.
9
votes
1
answer
3k
views
How do I remove the gap around maximized Emacs frame on KDE?
I am using Emacs on Kubuntu. On startup, I maximize my Emacs frame with this command in my init.el:
(custom-set-variables
...
'(initial-frame-alist (quote ((fullscreen . maximized)))))
This works, ...
9
votes
2
answers
7k
views
How to remap Emacs evil-mode toggle key from Ctrl-Z?
I'd like to remap the toggle key for emacs evil mode. From Ctrl+Z to something that won't confuse me like the CUA bindings (I'd like Ctrl+Alt+`, but I think that terms don't recognize that one).
In ...
9
votes
1
answer
3k
views
How to compile GNU Emacs 25.1 on 16.10
I've managed to build and install (using checkinstall) an GNU Emacs 25.1 Debian package on 16.04, but on 16.10 for some unknown reason the compilation fails (at the make stage) giving the truncated ...
9
votes
1
answer
4k
views
How to install local applications in ltsp thin clients?
I've configured a ltsp server at home and built the thin client. Though, I'd now like to know how to add local applications to the thin client, namely chromium-browser and emacs24.
9
votes
1
answer
135
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?
8
votes
1
answer
2k
views
Why my ctrl+semicolon was binded globally?
My ctrl+semicolon key was binded to some sort of broken auto-complete program I guess. Whenever I am in typing mode(in terminal, editor, etc), my ctrl+semicolon comb was binded to this program. I have ...
8
votes
2
answers
5k
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 ...
8
votes
4
answers
9k
views
Unable to install Emacs 24 from ppa:cassou/emacs
I followed the following instructions to install Emacs 24 on my machine (borrowed from: http://www.mikeyboldt.com/2011/11/30/install-emacs-24-in-ubuntu/):
sudo add-apt-repository ppa:cassou/emacs
...