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.

Filter by
Sorted by
Tagged with
5 votes
5 answers
8k views

Emacs installation fails on Ubuntu 20.04

I am trying to simply do: sudo apt install emacs on Ubuntu 20.04. The result is that it appears there is an error installing emacsen-common in emacs-gtk which is ultimately a dependency of all of ...
sanimalp's user avatar
  • 191
2 votes
1 answer
2k views

How to install emacs 26 instead of latest emacs 28 [duplicate]

I've installed emacs28 from snapshot (emacs-snapshot-common) without realizing it's the latest bleeding edge and not the latests stable version. I tries installing 26.3 from Kevin Kelly's repo, as ...
Jonathan Sahar's user avatar
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.
Jose V's user avatar
  • 211
1 vote
0 answers
60 views

Emacs not displaying properly after Ubuntu update

I just spun up a droplet (DigitalOcean) running Ubuntu 18.04. Emacs works fine. After running apt upgrade, emacs is behaving strangely. My cursor is always off by one line and some elements don't ...
Marc's user avatar
  • 11
0 votes
0 answers
1k views

apt stuck in weird state that "apt --fix-broken install" won't fix [duplicate]

When trying to sudo apt upgrade I get this: Reading package lists... Done Building dependency tree Reading state information... Done You might want to run 'apt --fix-broken install' to correct ...
L42's user avatar
  • 335
0 votes
1 answer
104 views

Don't want double emacs in Unity

I just brought up Ubuntu 18.04.4 with default GUI. I'm pretty sure the GUI manager is called Unity. (How do I find out?) First thing I did was install emacs via 'sudo apt install emacs'. Now, when I ...
mhd's user avatar
  • 1
2 votes
0 answers
227 views

`evtest` does not report scancode for TPPS/2 Elan TrackPoint on ThinkPad X1 C6

I am trying to identify scancodes for the three buttons below the space bar (above the trackpad) on my ThinkPad X1C6 using evtest as well as evemu-record. The buttons are working fine but no scancodes ...
Lungten's user avatar
  • 21
3 votes
1 answer
871 views

How to stop emacs resizing its initial frame?

This is an annoying problem I've been having for a couple years. I have ubuntu 16.04 installed on an intel PC, and also 18.04 installed on a Windows box under WSL 1. In both cases I am connecting to ...
Leon Avery's user avatar
1 vote
0 answers
21 views

Rebind peek recorder's C-n key not to create new instance

I installed peek screen recorder and employ it to record gif of Emacs operations. In Emacs C-n invoke next-line, it thus create anther new instance of peek window. How could rebind peek's C-n but ...
Wizard's user avatar
  • 2,891
2 votes
1 answer
342 views

Prevent xbindkeys to work in terminal

I try to implement Emacs keybindings in my browser. Currently I have .xbindkeysrc and this chord "if [[ "$(xdotool getwindowfocus getwindowname)" =~ "Chrome" ]]; then xdotool key --window "$(xdotool ...
vdegenne's user avatar
  • 205
1 vote
1 answer
428 views

What should my Emacs version be on Ubuntu 18.04? [duplicate]

I have Ubuntu 18.04.3 LTS. emacs --version returns GNU Emacs 25.2.2 and apt policy emacs returns Installed: 47.0 Candidate: 47.0. Okay what? I thought the latest version of Emacs was 27 something. ...
scribe's user avatar
  • 680
1 vote
0 answers
296 views

Error install emacs-lucid

When I upgraded from 19.04 to 19.10 there was one package that was not able to update that was emacs-lucid. When I try to upgrade it now I get the error: dpkg: warning: old emacs-lucid package pre-...
Budget Tech's user avatar
0 votes
1 answer
209 views

How to Find Escape Sequences For Emacs and Elsewhere

For Ubuntu server version 18.04.3 Emacs does not recognize Alt and Shift keys the same way as the GUI. Emacs experts advised how to get the program to recognize those keys using escape sequences ...
thnx-236659's user avatar
3 votes
1 answer
748 views

How to install emacs modules when using snap emacs

After upgrading to 19.10, the upgrader removed my emacs dpkg installation (a bit rude but at least I accepted it) and now the terminal recommends installing it from snap. I did, but I can't find how ...
Hilikus's user avatar
  • 296
0 votes
1 answer
556 views

Broken Emacs26 Installation

So I tried installing Emacs via this PPA. sudo add-apt-repository ppa:kelleyk/emacs sudo apt-get update sudo apt-get install emacs26 I then get this error. You might want to run 'apt --fix-broken ...
SPD's user avatar
  • 111
3 votes
0 answers
344 views

Ubuntu 16.04 emacsclient -c Desktop Application not working

Dear Ubuntu Community, my goal is it, to use emacsclient (version 24.5.1) as a default editor in Ubuntu 16.04. If I double click on a text file, emacsclient opens new frame quickly. If the the the ...
Andi's user avatar
  • 95
1 vote
1 answer
3k views

How do I install up to date version of emacs

When I install emacs I run the following: $ sudo apt-get emacs-gtk $ emacs --version GNU Emacs 26.1 I would like to use version 26.3 How can I install this?
gburnett's user avatar
  • 113
1 vote
0 answers
261 views

emacs org-bullets not supported

I'm using ubuntu 19.04 with KDE5 org-bullets doesn't seem to work for me on both terminal mode as well as GUI mode. I tried it on a windows VM, it works fine there, but not in my linux machine. My ...
surjit's user avatar
  • 400
2 votes
3 answers
568 views

sudo apt purge emacs* removed ubuntu-desktop, shotwell etc

I wanted to do a fresh install of emacs so I tried to uninstall everything related to emacs using: sudo apt purge emacs* Here is the output: $ sudo apt purge emacs* Reading package lists... Done ...
vishless's user avatar
  • 131
4 votes
0 answers
531 views

emacs commands system wide like in mac

I am used to a macOS where I have default basic emacs commands in every text input field. Additionally there exists the option of adding desired emacs commands by adding a keybinding.dict file in ~/...
Nathanael Skrepek's user avatar
0 votes
1 answer
115 views

Emacs 24.5.1 search and replace

I can find the string I'm looking for by using Ctrl+s, but then I cannot figure out how to replace it at all. Even though there is something in the status bar that kind of seems like it's telling me ...
Ramurb Idieh's user avatar
0 votes
1 answer
1k views

How do I remove emacs 25 and keep 26 when apt is in a "--fix-broken" state? [duplicate]

I would like to remove emacs25 entirely from my system and keep emacs26. Unfortunately, I am stuck in a fix-broken state Here is the output... Try to remove emacs25 > $ sudo apt remove ...
Scott Speidel's user avatar
4 votes
1 answer
2k views

Which websites provides the packages that Ubuntu often used?

Currently my Ubuntu server cannot reach external websites. I need provide a list of websites to the IT department that need to be whitelisted so that I can upgrade my Ubuntu packages via apt-get ...
Tony Xu's user avatar
  • 151
1 vote
0 answers
52 views

Change End-Of-Scroll Sound in Ubuntu 18

This is probably trivial to do, but I am wondering how one can change the end-of-scroll sound made by Ubuntu 18. This sound is also heard when I use some unknown key-chords in Emacs. I am not sure ...
MadPhysicist's user avatar
0 votes
0 answers
389 views

Meta Key not working for emacs in Ubuntu 18.04

For example, When I press L-alt or R-alt with 'V' to move back one screen as per tutorial, it just types 'V'. I have tried super key but its not the meta key either, ctrl is working fine.
user3748198's user avatar
0 votes
0 answers
176 views

Purging a Package Is About to Purge a Lot of Dependencies

I was experimenting with having two different versions of Emacs (24 and 25) side-by-side on my Ubuntu 16.04 machine. Now I would like to remove Emacs 25 because it errored during the installation (...
MadPhysicist's user avatar
0 votes
1 answer
661 views

Emacs opened in terminal on an Ubuntu server does not show colors

I am connecting to an Ubuntu server from the terminal via ssh -Y .... When I open Emacs via emacs in a separate window, I see the color theme that I chose in my ~/.emacs setup file (which is why I ...
Marius Hofert's user avatar
0 votes
1 answer
1k views

Emacs server/emacsclient won't connect

I just installed Ubuntu 18.04 and GNU Emacs 26.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.22.30) on my Lenovo W541 laptop. Under this new installation, the emacs server & emacsclient ...
Kreuzfeld's user avatar
3 votes
1 answer
1k views

emacs install fails under 18.10

Installing emacs under 18.10 (Cosmic Cuttlefish) fails When I search for libotf, it is there: locate libotf.so /usr/lib/x86_64-linux-gnu/libotf.so So why does fixing the install fail? sudo apt ...
Dov's user avatar
  • 811
1 vote
0 answers
648 views

Emacs freezes for a minute

This is a problem that started a few weeks or so ago. Emacs suddenly freezes, while all the other windows (and the mouse) continue to work. After a minute or so, it unfreezes. This happens several ...
Norbert S's user avatar
  • 181
0 votes
0 answers
563 views

which key is used for meta in Emacs on modern keyboards

I get that some people use their Caps Lock key as Ctrl key but I have a hard time imagining that people use the Alt key left to the Space bar as meta key since it is inconvenient to type in ...
CD86's user avatar
  • 151
0 votes
0 answers
400 views

Fail to invoke emacs from terminal

I installed emacs25.2.2 me@me:~$ /usr/bin/emacs --version GNU Emacs 25.2.2 Copyright (C) 2017 Free Software Foundation, Inc. GNU Emacs comes with ABSOLUTELY NO WARRANTY. You may redistribute copies ...
Alice's user avatar
  • 1,710
2 votes
1 answer
4k views

How to start emacs as service?

I'm trying to start the emacs daemon as a service but the service stops immediately upon startup. in the Emacs page is this service script for systemd. [Unit] Description=Emacs text editor ...
alejandrohtadinom's user avatar
3 votes
0 answers
306 views

User .desktop file duplicates and hijacks system app icon in GNOME dock

I'm trying to set up a custom "Open in Emacs" .desktop file that uses the emacsclient utility to open a new buffer in an existing Emacs instance, if available, or start a new instance otherwise. In ...
duncanka's user avatar
1 vote
0 answers
184 views

problem with FontSet conversion using xemacs and pstoedit in 18.04 and 16.04

Problems with font conversion ongoing with xemacs, sometimes with evince and after system updates around end of October 2018 in 18.04 and 16.04. xemacs starts with: "Warning Missing charsets in ...
Budny's user avatar
  • 11
1 vote
0 answers
727 views

Ubuntu 18.04 automatically downgrades my emacs 26 compiled from source to the respository version emacs 25

I had a fresh install of Ubuntu 18.04.1 and Emacs 26 compiled from source. However I notice somehow the system always installs Emacs 47.0 which is Emacs 25.2.2 from the official Ubuntu repository. ...
Fanpeng's user avatar
  • 111
3 votes
1 answer
1k views

Dell XPS 15 (9570), TB16 dock, and mixed DPI dual monitors

I'm currently running Ubuntu 18.04 on my Dell XPS 15 (9570) with the 4K display. I am trying to use the TB16 dock to connect to an external display at work that is 1920x1080 and I'm facing the ...
George Beckstein's user avatar
3 votes
1 answer
856 views

Emacs crashes on pasting the Unicode symbol "⛔"

I find that on Ubuntu 18.04 LTS my emacs 24.5.1 crashes when I copy-and-paste the Unicode symbol "⛔" (no entry) or when I open a file with that character. I have not encountered another Unicode ...
Finn Årup Nielsen's user avatar
2 votes
1 answer
444 views

info emacs missing after upgrade to Ubuntu 18.04

After starting emacs 25 (GUI) and pressing C-h r I get the message "info emacs file missing". The same holds for the elisp manuals which are normally accessible from emacs. What happened and how can I ...
ixohoxi1's user avatar
0 votes
0 answers
41 views

How to make emacs to start allwais --nw if I launch it from command line?

How to make Emacs to start always --nw if I launch it from command line? I have such export in my .profile: alias emacs='emacs -nw' when I type emacs alone it will launch it in terminal in terminal ...
user avatar
1 vote
1 answer
531 views

emacs 27 systemd service inherit environment variables

On Ubuntu 18.04, running emacs 27, emacs installs a systemd config $ cat ~/.config/systemd/user/default.target.wants/emacs.service [Unit] Description=Emacs text editor Documentation=info:emacs man:...
Rorschach's user avatar
  • 205
3 votes
2 answers
3k views

emacs25 and emacs26 from a PPA cannot coexist

I have installed emacs25 from this PPA: https://launchpad.net/~kelleyk/+archive/ubuntu/emacs, and it coexisted well with emacs 24 from the repositories (Ubuntu 16.04). Now that emacs26 is available ...
rvf0068's user avatar
  • 155
1 vote
1 answer
1k views

Emacs launched from favorites doesn't read .bashrc

If I open emacs from the command line, it loads my .bashrc and correctly sets my paths. M-: (getenv "PATH") Returns my actual $PATH variable. If I open emacs from the command line, pin the icon to ...
Mittenchops's user avatar
  • 1,620
4 votes
1 answer
2k views

Integration of Emacs/LuaLaTeX with Evince/Zathura not working in Ubuntu 18.04. How can I fix it?

After my recent upgrade (per new install) to Ubuntu 18.04, I have started having quite some troubles with my tool chain (Emacs, Lualatex, Evince). I am using forward/backward search to approximate ...
mfg's user avatar
  • 1,277
0 votes
1 answer
469 views

Emacs gtk keys not working in ubuntu 18.04 with i3

Ubuntu 18.04 with i3 4.15 Note: works with Ubuntu default gnome desktop :-( and is a regression to 16.04. bash> gsettings get org.gnome.desktop.interface gtk-key-theme 'Emacs' and Keyboard &...
klar's user avatar
  • 161
5 votes
1 answer
2k views

How can I set path so it can be read from GUI and command line by the same program?

I installed texlive and I want to add it as an environment variable to my Path so that Emacs AucTeX can read it when I start emacs from the GUI or from the command line. So far I've read that emacs ...
bit's user avatar
  • 175
0 votes
1 answer
164 views

Install emacs and ruby [duplicate]

I'm a new user of ubuntu and I tried to install emacs and ruby but there is an error and I don't know how to resolve. The emacs error is this: E: Could not open lock file /var/lib/dokg/lock - open (...
Nayeli's user avatar
  • 1
0 votes
0 answers
75 views

messed up my fonts after uninstalling emacs

so I installed emacs today and then removed it sudo apt install emacs then when I uninstalled i did sudo apt remove --purge emacs sudo apt autoremove but then my Terminal font became taller, so ...
Hammi Cloud's user avatar
4 votes
2 answers
1k views

window-switching keyboard shortcuts interfere with emacs and cannot be changed in the main keyboard system preferences

As of Ubuntu 16.04, Some emacs key combinations involving Ctrl and Alt conflict with the keyboard shortcuts in Ubuntu. One way to fix this is to go to System settings > keyboards > shortcuts and ...
xdavidliu's user avatar
  • 211
1 vote
1 answer
4k views

Where can I find my .emacs file for Emacs on Ubuntu?

I am trying to install Proof General (A generic Emacs interface for proof assistants), and it's saying add some lines in your .emacs file but I am not able to find .emacs file on my system.
user avatar

1
2
3 4 5
8