Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
26 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 ...
0
votes
0answers
8 views

Retrieve the missing libraries

I am compiling emacs 26.1 on ubuntu 18.10 When run ./configure Maybe some development libraries/packages are missing? If you don't want to link with them give --with-gnutls=no as options to ...
0
votes
1answer
41 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 ...
1
vote
0answers
45 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 ...
1
vote
0answers
23 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 ...
0
votes
0answers
187 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. ...
2
votes
1answer
205 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 ...
0
votes
0answers
33 views

emacs-lucid for emacs-25.3+ and and emacs26.x

Is there an emacs-lucid for emacs versions beyond 25.2, possibly in a PPA? If not will there be one in the future?
2
votes
1answer
110 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 ...
0
votes
0answers
65 views

How can I use emacs26 with emacs-mozc without intalling emacs metapackage(emacs25)

emacs-mozc is depend on emacs | emacs24 | emacs23. I want to use emacs26 with emacs-mozc without installing emacs meta package (emacs25). Are there any solutions without rebuilding package with ...
1
vote
1answer
108 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 ...
0
votes
0answers
22 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 ...
1
vote
1answer
75 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:...
0
votes
0answers
356 views

Install problem: 'dpkg-deb: error: subprocess was killed by signal (Broken pipe)'

I'm running Ubuntu 17.10. I'm trying to install Emacs, but get the following error: davnovak@eshkol-e570:~$ sudo apt-get install emacs Reading package lists... Done Building dependency tree ...
0
votes
1answer
662 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 ...
0
votes
0answers
98 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 ...
1
vote
1answer
301 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 ...
0
votes
0answers
235 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 &...
0
votes
0answers
63 views

Error when adding ppa for installing emacs [duplicate]

I am trying to install latest stable emacs on Lubuntu 18.04, following http://wikemacs.org/wiki/Installing_Emacs_on_GNU/Linux#Emacs_25. But I got error at the first step: $ sudo apt-add-repository -y ...
2
votes
1answer
498 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 ...
0
votes
1answer
75 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 (...
0
votes
0answers
47 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 ...
4
votes
1answer
188 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 ...
0
votes
1answer
177 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.
1
vote
0answers
252 views

How to make Emacs transparent with i3-wm?

As instructed here I added the following lines to my emacs configuration file: (set-frame-parameter (selected-frame) 'alpha '(85 . 50)) (add-to-list 'default-frame-alist '(alpha . (85 . 50))) But ...
0
votes
1answer
193 views

Need help adding a $PATH variable

I want to add /data/biocs/b/bio425/bin to the $PATH variable in the .bash_profile file (using vi or emacs). What I have done so far is vi .bash_profile and then I attempted to add /data/biocs/b/...
7
votes
1answer
511 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 ...
0
votes
1answer
261 views

Can't find .emacs file

I just did a fresh install of Ubuntu 17.10 and installed Emacs25 from the Software Centre. I tried to add MELPA to the .emacs file, but running emacs .emacs created a new file. I have not been able to ...
1
vote
1answer
396 views

`emacs24` package not available on Ubuntu 17.10

I use Emacs24 for testing Emacs modes. emacs24 package is not available on Ubuntu 17.10. Any external ppa or help would be very helpful.
1
vote
0answers
291 views

17.10: How to get the right version of Emacs when searching for it?

I regularly use Emacs and I have gotten used to on my Mac to just search for the first few characters and hit enter. Doing this for Emacs - typing "emacs" - has worked well on Ubuntu too until I ...
1
vote
0answers
185 views

Set ipython as default interpreter in emacs

I happen to experiment with Emacs for Python coding. I'd tried to change the default interpreter with Anaconda's ipython by the following ways in .emacs: (setq python-python-command "~/anaconda2/bin/...
0
votes
1answer
315 views

Emacs24 unmet dependencies problem

I'm unable to use apt-get due to unmet dependencies in emacs24. I'm not sure what happened, but I'm unable to apt anything. Here is the output: user5@system:/var/cache/apt/archives$ sudo apt ...
5
votes
2answers
194 views

Prevent extraneous formatting of apt output

When using apt from "dumb" terminal (this is a code word for Emacs), it produces many lines of garbage output (it probably tries to display progress, but it doesn't work on this kind of terminal). ...
0
votes
1answer
79 views

A shorthand for rIght-click…paste

It doesn't always work to ctrl+y to paste text (while it works in emacs and at the terminal). Is there something that always work so I don't have to right-click and select paste in the terminal when ...
6
votes
1answer
197 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. ...
0
votes
1answer
141 views

emacs + screen not properly handling keys

I'm sshing to an ubuntu server: cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=zesty DISTRIB_DESCRIPTION="Ubuntu 17.04" I run screen, and then emacs. $ screen --...
2
votes
1answer
610 views

What is Emacs Key Theme?

I recently installed Ubuntu Gnome 17.04 and in Gnome Tweak Tool I have a menu called Keyboard and Mouse. In there I see Key Theme and I can select between Default and Emacs, but I haven't installed ...
1
vote
0answers
299 views

Cannot open Emacs as a window

I am new to Ubuntu and am currently using Ubuntu 14.04. I installed Emacs 25.2. When I use the emacs command, the files are directly opened in terminal and I cannot open emacs window. I used these ...
2
votes
0answers
244 views

Navigate back and forth in IntelliJ without using arrow keys [closed]

I am an emacs person. In emacs, to navigate forward and backward one character I use ctrl-f and ctrl-b. Using IntelliJ I do not want to use the arrow keys. The arrow keys slow me down significantly. ...
1
vote
1answer
520 views

can't enable xft and freetype support for emacs 25.2

This question relates to emacs compilation, but it is more about library lookup problem on Ubuntu so I think I should put here. If it is better to put over emacs forum, I will do that later. Emacs 25....
0
votes
0answers
47 views

I have both Agda 2.4.2.5 and 2.5.2.2 on my computer, how do I uninstall 2.4? Or at least tell my computer to use 2.5?

I need agda and emacs installed for a class I'm taking at my university. I installed Agda 2.4 on accident, then installed 2.5.2.2 using cabal install Agda, however the agda-mode setup command yields ...
0
votes
0answers
419 views

Installing package with gdebi incorrectly finding newer version of package

I am trying to install Emacs version 25.1. I have the .deb package for this, which I created using checkinstall. This was part of the short tutorial that I followed (perhaps the clue is there ...
3
votes
1answer
469 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 ...
2
votes
1answer
37 views

In emacs, having mouse over other frame cause Alt key to produce a <switch-frame> event

In emacs, if I have two frames open and the mouse is positioned over the other frame (i.e. not over the active one), pressing the Alt key produces a <switch-frame> event. While this event does ...
0
votes
1answer
646 views

Menu bar invisible in Emacs

I just did a fresh install of Ubuntu, then installed Emacs. The icon bar (with commands such as copy and paste) is invisible (grey). When launching Emacs in a terminal, I get this : (emacs:15443): ...
2
votes
1answer
1k views

Starting session with exwm

Today I found that emacs has its own window manager with very impressive showcase. However I can't really understand how to configure it from the brief documentation where I don't understand how can I ...
0
votes
1answer
77 views

Moving to a word in bash in Emacs mode

I am using the command line in Emacs mode and would like to move my cursor to a character forwards or backwards. Are there any shortcut keys that I can type to get to that position fast. For e.g., the ...
3
votes
1answer
603 views

Emacs25 Empty Menus

I am running Ubuntu 16.04 and Emacs 25.1.2, which I installed from here: https://launchpad.net/~kelleyk/+archive/ubuntu/emacs According to: Emacs toolbar icons missing in Ubuntu-16.10, struggle to ...
0
votes
1answer
77 views

Hiding text in emacs

Every time I open up emacs, I tend to get this text on my screen.. How do I permanently hide it? Thanks! http://imgur.com/a/9KdHt
3
votes
0answers
135 views

Emacs Keybinding customization

I have just discovered that using gnome-tweak-tool it is possible to use emacs keybindings inside every input field and I think this is an amazing feature. Anyway I would like to customize this ...