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
0 votes
1 answer
82 views

libtiff.so.5 issue with emacs after upgrade to Ubuntu 23.04

When I recently upgraded to Ubuntu 23.04 from 22.10, I was unable to start Emacs (I am using Doom Emacs). In the terminal I get this message: emacs: error while loading shared libraries: libtiff.so.5:...
David's user avatar
  • 3
1 vote
1 answer
97 views

Warnings & Errors when launching Emacs from WSL

I have a WSL Ubuntu system with systemd enabled. I also configured snap and installed my Emacs using snap. When I start Emacs from WSL console, I can see the GUI and use Emacs. But I got the following ...
David S.'s user avatar
  • 387
0 votes
1 answer
41 views

Two files with exact same permissions, but one is opening read-only

On an Ubuntu 22.04 VM, when I look at my files, I see that they have read/write/execute permissions set up correctly for root and vboxsf: $ ls -lrt foo.pvs bar.pvs -rwxrwx--- 1 root vboxsf 23492 Jan ...
Ben Hocking's user avatar
1 vote
0 answers
43 views

Emacs from activities overview behaving differently than emacs from terminal - how to find our what command is run

DISCLAIMER: With "activities overview" I mean whatever is invoked when pressing the Super key / Windows key. I'm using Ubuntu 22.04.1 and depending how I start emacs (v27.1, installed using ...
jpb's user avatar
  • 164
0 votes
0 answers
132 views

How to install emacs with magit on Ubuntu 20.04 (clean example)

I try to find an easy way to install emacs with magit on Ubuntu. Sounds easy, right? Here is what didn't work: sudo apt install emacs then sudo apt install magit # --> no magit emacs . -> M+...
mcExchange's user avatar
  • 2,798
0 votes
0 answers
142 views

emacs installation broke my apt and dpkg system

I messed around with emacs installation some weeks ago, now I cannot install other packages anymore using dpkg for example sudo apt install apt-transport-https gives me >>Error occurred ...
mcExchange's user avatar
  • 2,798
0 votes
0 answers
37 views

Cannot launch emacs on bspwm

I just have a fresh installation of Ubuntu on my machine and I have set up BSPWM, but I am having an issue with launching emacs from terminal emulator. Running the command emacs gives me the ...
gamale's user avatar
  • 1
0 votes
0 answers
36 views

cool-retro-term doesn't understand the {} symbols

I installed cool-retro-term. It works fine except for one thing: when I try any text editor (vi, emacs, etc), I cannot write the symbols {}. When I used another terminal, I do not have the problem (...
Nisanio's user avatar
  • 101
0 votes
0 answers
12 views

Abbrev feature in emacs

Does anybody know how to set up abbrev feature in emacs? I thought it would not be difficult, but I was wrong. What would I need to set up. Would be grateful for a small example that I can try out.
Nameh's user avatar
  • 33
1 vote
0 answers
94 views

Okular (Snap & Flatpak) problem with inverse search

I am on Ubuntu 20.04, and the Okular versions available to me seem to be the following: apt: 20.04.0 snap: 20.12.3 flatpak: 22.04.03 I would like a version > 20.12, because that allows me to ...
pglpm's user avatar
  • 149
0 votes
1 answer
109 views

Unable to completely wipe emacs - getting emacs-gtk errors

As the title says. I had a corrupted emacs installation so I'm trying to purge everything before reinstalling. Unfortunately, whenever I run: sudo apt-get remove emacs-bin-common emacs-common emacs-el ...
Mogric's user avatar
  • 1
2 votes
2 answers
663 views

Gcc Emacs under 22.04: libotf0 missing

My emacs executable points to version 28 installed from source following these instructions, and works as expected under 21.10. Upon moving to 22.04, running emacs returns the following: libotf.so.0: ...
unvarnished's user avatar
2 votes
0 answers
155 views

Why did upgrading Ubuntu from 18.04 to 20.04.4 break emacs?

I just updated my ubuntu to 20.04.4 and noticed that emacs is no longer there. Other programs that I had downloaded prior to updating, like racket and ocaml, still work. Emacs however, is not working -...
manissss's user avatar
0 votes
1 answer
61 views

Why doesn't Ubuntu provide the compiled version of emacs .el files

I just noticed that when I start emacs on MATE 20.04, the system packages it loads are source files, not their binaries. I'm curious to know why since, as I understand, the binaries load much faster. ...
mikemtnbikes's user avatar
0 votes
1 answer
160 views

Open + Save File window buggy in several applications (resizing left side also changes right side, moving window moves application, etc.)

I'm using Ubuntu 20.04, and several applications (Emacs, Firefox, Okular, Libre Office, OpenSCAD) all have buggy popup windows for opening and saving files. For example, when saving a file in Firefox ...
jpb's user avatar
  • 164
0 votes
1 answer
149 views

Ubuntu 21.10 - English (US) Layout - Right Alt not recognised

I have an English US keyboard (it has an Alt on the right of the spacebar), I have set the English US Layout and if I use "Show Keyboard Layout" and press the right Alt the key on the right (...
Marco Villotta's user avatar
0 votes
1 answer
52 views

Write .odt file from Emacs text buffer

I've got a text buffer with some italics, indicated in each case by the italic text property. All I want to do is somehow write a .odt file from Emacs, which appears exactly same as the text buffer ...
daveboss's user avatar
0 votes
0 answers
74 views

emacs error in Ubuntu of MobaXterm

I am using Ubuntu on MobaXterm Personal Edition v21.2 on Windows 10. Whenever I open emacs editor, it opens and works fine, but I keep getting dconf-CRITICAL ** with following error lines multiple ...
ZeroTwo's user avatar
  • 101
0 votes
1 answer
286 views

I can't indent my file indentation

I write C file on Emacs and I'm using 4 tab width for my files. In Emacs, I see that my file is indented with 4 tab-width. But when I try to read my file with cat command, I see that my file is ...
Ferhad Mehdizade's user avatar
1 vote
0 answers
62 views

el-get in Emacs "No Match"?

Demonstrating this problem on 20.04: sudo apt install el-get Run emacs, hit Meta+x and type el-get-install Get "No Match". Attempt to solve it: Run dpkg -l on el-get and observe that there ...
Tankman六四's user avatar
2 votes
0 answers
34 views

Emacs still shown in 'Software' program even though it's uninstalled

Emacs is still shown even though I've removed and purged it. It's not installed it, the terminal lets me know it's not installed and I can't lauch it, yet that remains. What can be done?
Juan M's user avatar
  • 63
0 votes
0 answers
57 views

Keyboard layout switching by itself when I click emacs window

I use various language-learning and dictionary websites and maintain multiple language glossaries using emacs, so I switch keyboard layouts frequently (using Super-Space or the pulldown menu). This ...
user1951615's user avatar
0 votes
1 answer
41 views

Text wont change emacs

I'm trying to change text using emacs but it wont change on the site. i ran command emacs /var/www/html/index.html. on emacs the text has changed, but not on the site.
Toni's user avatar
  • 1
0 votes
0 answers
33 views

emacs 26.3 gets package-install-from-archive: HTTPS support could not find ‘ssl’ library error

I'm running emacs 26.3 (installed with Ubuntu 20.10). I'm trying to run the package manager. When I select a package to install (realgud), I get the message: package-install-from-archive: HTTPS ...
Chelmite's user avatar
  • 1,133
3 votes
1 answer
570 views

cannot use emacs in kde konsole - Output has been suspended by pressing Ctrl+S. Please press Ctrl+Q to resume

I am trying out the kde terminal app, konsole, on my ubuntu gnome machine, and I think it is great, in general. However, when I ssh to another machine, and open a file in emacs, searching the ...
excyberlabber's user avatar
0 votes
1 answer
257 views

Problems sending with msmtp

I'm using notmuch message mode in emacs and I'm trying to send a message using msmtp. When I try to send a mail from within emacs it suddenly opens my default system email client, Evolution, and ...
RubyNoob's user avatar
  • 111
0 votes
0 answers
282 views

Package 'emacs26' has no installation candidate

I get this error message when trying to install emacs. I have run upgrade and update multiple times. The instructions here and here come up when searching my error, but are either irrelevant or do ...
Display name's user avatar
0 votes
0 answers
393 views

If I installed Emacs from package manager, where is the .emacs file, and how do I get Emacs to see it?

I am completely blind and am currently in a job or internship where I have to use Emacs on a regular basis to learn Lisp. I was informed by other blind Linux users that Emacspeak would allow me to get ...
HeavenlyHarmony's user avatar
0 votes
1 answer
54 views

What is the purpose of each of the 5 GNU_Smalltalk Packages

The names of the packages are as follows: gnu-smalltalk gnu-smalltalk-common gnu-smalltalk-el gnu-smalltalk-doc gnu-smalltalk-browser Is there any downside to installing all of them? I already know ...
Gary Highberger's user avatar
5 votes
1 answer
2k views

Manually updating GNU ELPA keyring for Emacs 25

I'm getting this error whenever I run M-x package-refresh-contents or M-x package-list-packages, which is related to Emacs keyring update: Failed to verify signature archive-contents.sig: No public ...
wyphan's user avatar
  • 339
0 votes
1 answer
259 views

How to configure Atom Beautify?

I have installed Atom editor and Atom Beautify package on Ubuntu. However, when opening a new file and trying to "Beautify editor contents" with right-click, Atom pops up the following ...
jsxs's user avatar
  • 105
1 vote
1 answer
198 views

can Emacs24 be installed under Ubuntu 20.04

I have a new machine with a fresh install of ubuntu 20.04. For java development I use the emacs/jdee environment. After a fairly rigorous search, the latest emacs version that works with jdee is ...
Rich Johns's user avatar
1 vote
1 answer
4k views

How to install Emacs 27.1 via ppa on 20.04.1?

I have a fresh 20.04.1 Ubuntu and I want to install Emacs 27. The standard emacs from apt-get is 26.3, so I want to install it via ppa. So I run software-properties-gtk, go to other software and add ...
user2740's user avatar
  • 967
3 votes
0 answers
619 views

emacs crashing in 20.10

I just upgraded from 20.04 to 20.10 and now emacs is crashing frequently. This never happened for me in any earlier version of Ubuntu. I started from the shell and at the time of the crash, I see: X ...
user1951615's user avatar
1 vote
0 answers
1k views

WSL Ubuntu 20.04 is giving errors when installing zathura and other programs [duplicate]

I am trying to install zathura, and this operation has worked fine for me on the Windows WSL2 Ubuntu-18.04. However, when I installed Ubuntu-20.04 in its stead, I keep getting errors like these which ...
herophant's user avatar
  • 111
0 votes
1 answer
643 views

How to remove emacs28 from ubuntu? [duplicate]

When I start "emacs" from the terminal Emacs version 28 is opening. I don't know from which package manager, I have installed Emacs. which emacs shows: /usr/bin/emacs I tried removing Emacs ...
David's user avatar
  • 206
0 votes
0 answers
38 views

emacs issue with fontconfig-config_2.13.1

I'm running Ubuntu 20.04.1. I recently installed the emacs snap. When I run emacs, I get many Fontconfig errors and warnings. I looked for a solution and found a suggestion to regress to ...
Scott Butler's user avatar
1 vote
0 answers
131 views

apparmor: how to allow emacs snap to redirect output to files on CLI?

I'm running Ubuntu 20.04.1 LTS and: $ which emacs /snap/bin//emacs $ emacs --version GNU Emacs 27.1 If I set up this file: mwe.el (defun output () (princ (apply #'concat (nthcdr 5 command-line-...
Joe Corneli's user avatar
1 vote
0 answers
250 views

How to disable "Keybindings for desktop switching" in Lubuntu 20.04?

How to disable the shortcut keys for "Keybindings for desktop switching" for Lubuntu 20.04 as described in https://manual.lubuntu.me/stable/F/keyboard_shortcuts.html? I need to use some of ...
tinlyx's user avatar
  • 3,084
11 votes
2 answers
13k 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 ...
schuelermine's user avatar
3 votes
3 answers
6k 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
  • 171
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
10 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
  • 221
1 vote
0 answers
42 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
  • 325
0 votes
1 answer
103 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
207 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
656 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 ...
AbstProcDo's user avatar
  • 2,711
2 votes
1 answer
290 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
2 3 4 5
8