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
1 vote
1 answer
67 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: ...
user avatar
-1 votes
0 answers
80 views

Ubuntu 22.04-Use CapsLock as Hyper key only for Emacs

I want to use the CapsLock key only for Emacs. With the Gnome Tweak Tool I changed the CapsLock behavior. But I've no clue how I can turn off the Hyper Key for Ubuntu, so that only emacs uses this key....
user avatar
2 votes
0 answers
95 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 -...
user avatar
0 votes
0 answers
27 views

Emacs change font for comments to bold

I want to change font for comments to bold. Should I change both font-lock-comment-delimiter-face and font-lock-comment-delimiter-face ?
user avatar
  • 27
0 votes
0 answers
28 views

How do I customize my Ubuntu terminal to look like Cygwin's default color theme?

I really enjoy working on the default Cygwin terminal from my Windows machine and I want to transfer the same color settings to my Ubuntu terminal. I especially enjoy working with emacs on Cygwin ...
user avatar
  • 1
0 votes
0 answers
28 views

Emacs Org Mode - Using normal weight for org strike-through

I am using the following code to change the colour of emphasis (strike-through). But I also want to use normal weight for the font. How can this be done? (defface emph-strike '((default :inherit (:...
user avatar
  • 27
0 votes
1 answer
39 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. ...
user avatar
0 votes
0 answers
48 views

Some Emacs's keybindings Don't work on Ubuntu 20.04

Some of my many Emacs 27.5's customized keybindings do not work when I work with Ubuntu 20.04 on a Lenovo ThinkPad T15g Gen 1 with a US keyboard. Most keybindings work, but some like super-o or super-...
user avatar
  • 3
0 votes
1 answer
32 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 ...
user avatar
  • 154
0 votes
1 answer
103 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 (...
user avatar
0 votes
0 answers
22 views

Help with TCL mode (Silly experiment changing inferior process)

I'm trying to use tcl mode to program tcl Scripts for vivado. It would be handy to eval tcl code directly usign vivado tcl mode as an inferior process. However if I start vivado with the proper flags ...
user avatar
0 votes
0 answers
437 views

Error Installing Newly Built Emacs 28 on Ubuntu 20.04

After compiling the latest version (28) of Emacs on Ubuntu 20.04, I get the following error after running sudo checkinstall Selecting previously unselected package emacs. (Reading database ... 412866 ...
user avatar
0 votes
1 answer
31 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 ...
user avatar
0 votes
0 answers
42 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 ...
user avatar
0 votes
1 answer
122 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 ...
user avatar
0 votes
0 answers
37 views

what double equal sign acts? emacs org mode

I use emacs org mode , and noticed that text sandwiched by double equal sign changed color. what this ? example line == aaaa ==
user avatar
  • 3
0 votes
0 answers
38 views

Why is it that about 50% of the time, when I start ubuntu under WSL 2 (Windows 10) my .bash_profile doesn't launch the applications

I have my .bash_profile configured to launch emacs, and usually the first time it tries to, nothing happens, the command shows up in my "log file" but I don't get an emacs, but then if I ...
user avatar
0 votes
0 answers
41 views

How can I make chrome open text files in emacs instead of downloading them?

When I get a text file attachment in Gmail I'd like to be able to open it in emacs instead of downloading it. At the moment, when I click on the file, it says: No preview available [Download] [Connect ...
user avatar
  • 1
1 vote
0 answers
30 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 ...
user avatar
2 votes
0 answers
26 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?
user avatar
  • 63
0 votes
0 answers
44 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 ...
user avatar
0 votes
1 answer
33 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.
user avatar
  • 1
0 votes
0 answers
23 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 ...
user avatar
  • 1,078
1 vote
1 answer
246 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 ...
user avatar
0 votes
1 answer
161 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 ...
user avatar
  • 111
0 votes
0 answers
153 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 ...
user avatar
0 votes
0 answers
231 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 ...
user avatar
0 votes
1 answer
37 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 ...
user avatar
5 votes
1 answer
1k 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 ...
user avatar
  • 331
0 votes
1 answer
195 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 ...
user avatar
  • 105
1 vote
1 answer
141 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 ...
user avatar
1 vote
1 answer
3k 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 ...
user avatar
  • 677
3 votes
0 answers
490 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 ...
user avatar
1 vote
0 answers
767 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 ...
user avatar
  • 111
0 votes
1 answer
476 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 ...
user avatar
  • 184
0 votes
0 answers
48 views

Emacs 25 installed but not listed on Ubuntu Software as being installed

I have installed Emacs 25 using Ubuntu Software. It works. But now I want to remove it and install Emacs 26, instead. In Ubuntu Software, Emacs is not listed among the installed items. Why ?
user avatar
0 votes
0 answers
35 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 ...
user avatar
1 vote
0 answers
111 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-...
user avatar
1 vote
0 answers
133 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 ...
user avatar
  • 2,847
10 votes
2 answers
10k 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 ...
user avatar
3 votes
3 answers
5k 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 ...
user avatar
  • 171
2 votes
1 answer
1k 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 ...
user avatar
10 votes
2 answers
11k 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.
user avatar
  • 221
1 vote
0 answers
26 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 ...
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 ...
user avatar
  • 325
0 votes
1 answer
99 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 ...
user avatar
  • 1
2 votes
0 answers
142 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 ...
user avatar
  • 21
3 votes
1 answer
462 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 ...
user avatar
1 vote
0 answers
15 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 ...
user avatar
  • 2,491
2 votes
1 answer
194 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 ...
user avatar
  • 205

1
2 3 4 5
8