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.
391
questions
1
vote
1
answer
772
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
0
answers
407
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
0
answers
472
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
1
answer
1k
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 ...
7
votes
2
answers
826
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
1
answer
307
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 ...
10
votes
2
answers
822
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
1
answer
669
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
1
answer
1k
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
0
answers
1k
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
0
answers
659
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. ...
2
votes
1
answer
1k
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
0
answers
1k
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 ...
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 ...
2
votes
1
answer
61
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
1
answer
1k
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
1
answer
3k
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
1
answer
283
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 ...
4
votes
2
answers
1k
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
1
answer
120
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!
https://i.stack.imgur.com/LbSPt.jpg
2
votes
0
answers
251
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 ...
1
vote
0
answers
306
views
Removing emacsen-common Ubuntu 16.10 [duplicate]
I've installed emacs via apt-get but then I uninstalled it but this package still remained installed.
When I try to uninstall it it says:
sudo apt-get remove emacsen-common
Reading package lists... ...
0
votes
1
answer
381
views
Ubuntu 16.04 Changes Installed Emacs Version
I used this guide to build emacs 25.1 on 16.04 and accomplished it without a problem.
Before installing, I did not have emacs installed. A part of the building process, however, is to sudo apt build-...
1
vote
0
answers
299
views
Difficulty Installing GLOBAL
Preface: I don't know what I am doing.
With that out of the way, I found a tutorial that is trying to make me a competent emacs user. In it, there was a section describing how to install GLOBAL. ...
5
votes
2
answers
8k
views
Problem compiling Emacs (no x development libraries were found)
I'm still new to Ubuntu/Linux use
I'm installing Emacs (version 25.1)
that I've downloaded source files,
uncompressed and extracted the files using tar
It seems I have to use ./configure.
Computer ...
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.
0
votes
1
answer
208
views
Display the date with Emacs editor
I'm trying to configure Today is 20/11/2016 with Emacs editor. I think the command date is located in \bin. Therefore, with the editor I wrote what is in the following image :
I know it should be ...
0
votes
1
answer
2k
views
Why am I seeing error configure: error: No package 'gtk+-3.0' found when I installed libgtk-3-dev?
I have successfully installed libgtk-3-dev using sudo apt-get install libgtk-3-dev. However, when I run ./configure to install emacs, I get an error showing the following:
checking for GTK... no
...
0
votes
3
answers
312
views
Package in emacs-25.1.tar.gz
I'm a new user of Linux/Ubuntu, and I'm still not comfortable with the notion of a packages. Actually, I'm trying to install Emacs 25.1 and I try to find out the good package in emacs-25.1.tar.gz (see ...
0
votes
0
answers
35
views
Associating an alias with .org files on the Desktop
I have the following alias in my .bashrc on 16.04 LTS:
alias emacs-org='emacs -q --load ~/.emacs.d/init.org.el'
I would like to associate emacs-org with the .org files that I put on the desktop. I ...
3
votes
2
answers
4k
views
Emacs C IDE / Gnu Global helm-gtags
Hello Ubuntu Community,
so first of all I'd like to say that I am quite new to ubuntu (16.10) and linux. I decided to use Windows as little as possible and also wanted to start learning the ...
0
votes
1
answer
375
views
Trying to install Emacs in one directory in Ubuntu
I am absolutely new to Linux ans Ubuntu. I am switching to Linux because I really want to use all the features in Emacs, Win version has many non-working features. However, I cannot figure out how to ...
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 ...
6
votes
2
answers
3k
views
Emacs toolbar icons missing in Ubuntu-16.10, struggle to compile emacs24 and 25
I'm writing to see if you have tried to compile Emacs lately. I want to compile emacs-25.1 but hit a segmentation fault. If you wonder why I want to compile, or why I'm asking here, read on...
I ...
0
votes
1
answer
26
views
Whenever I open a .md in emacs, it immediately thinks it's been edited, why?
EDIT: I solved this by deleting the markdown folder in elpa, and reinstalling it. But I'm still not sure why this happened...
If I open and immediately close any .md or .markdown files, emacs ...
1
vote
0
answers
350
views
Sign in to gmail and yahoo mail by emacs-w3m
I use Ubuntu 14.04. When I tried to sign in to gmail I get This message in w3m:
The number of redirections has exceeded a limit. This may have
happened due to the server side miss-configuration. ...
0
votes
1
answer
182
views
What does enabling sources in ubuntu's software & updates utility do?
I'm attempting to install emacs 25.1 on my ubuntu 16.04 system from a PPA. When attempting to install the build dependencies I got the error
>sudo apt-get build-dep emacs24
Reading package lists......
-1
votes
2
answers
750
views
Building a Debian binary for Emacs 25.1: dpkg-source: control doesn't list any binary package
I have been trying to build a package for GNU Emacs 25.1 using the control file:
Package: emacs
Priority: extra
Section: checkinstall
Installed-Size: 129184
Maintainer: Brenton Horne <example@...
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, ...
1
vote
0
answers
171
views
Emacs refusing to save changes
I just did a fresh install of Ubuntu 16.04 on my laptop and I was trying get started using emacs. However, I cannot get any settings saved because it claims that it was launched with a -q flag. This ...
0
votes
2
answers
2k
views
Syntax highlighting changed in Ubuntu 16.04
I recently switched from Ubuntu 15.10 to 16.04. When using Emacs to edit Python code in the Terminal, my syntax highlighting looks very different in 16.04 compared to 15.10 (more shades of purple). ...
0
votes
1
answer
385
views
numeric keypad in vi and emacs terminal
I use an external keypad with a lapton, mainly with the numlock off for the arrow keys, as I'm a lefty. Ever since updating from Ubuntu 14.04 lts to 16.04 lts, the behavior has been somewhat different....
3
votes
1
answer
1k
views
How to enable ALT Gr key as ALT R for Emacs on Ubuntu 16.04?
Emacs is famous for causing tendinitis, but one must remember that Ctrl and Alt come in pairs, at left and right of the keyboard :-)
However, in Ubuntu 16.04, Alt R behavior is Alt Gr, messing with ...
2
votes
0
answers
78
views
Ubuntu Mate global shortcut for hiding/showing application
I am an Emacs user, and would love to be able to hide and show emacs from whatever I am doing, just as seen in Guake/Tilda.
I am running Ubuntu Mate 16.04, and using compizconfig-settings-manager I ...
2
votes
1
answer
303
views
How to use CTRL+HOME in the terminal?
When I use emacs in graphic mode, I can go to the beginning of the buffer with Ctrl+Home.
When in bash, emacs won't recognize the combination and only sees the Home.
I checked like here and, in ...
1
vote
3
answers
2k
views
Gedit error for non sudo - undefined symbol: cairo_surface_set_device_scale (undefined symbol: cairo_surface_set_device_scale)
for some reason I am unable to run gedit as a normal user. I get the following error:
heberto@heberto-XPS-13:~$ gedit
gedit: symbol lookup error: /usr/lib/x86_64-linux-gnu/libgdk-3.so.0: undefined ...
4
votes
3
answers
3k
views
How do I launch zathura from bash/emacs maximized / fullscreen?
I use recently discovered zathura and I like it a lot. I use it now to check the documents from emacs/AUCTeX like:
(setq TeX-view-program-list '(("zathura" "zathura --page=%(outpage) %o")))
Which is ...
3
votes
1
answer
390
views
Map the Right Alt to Right Control in Xubuntu
I am using Xubuntu 16.04 and I want to try out Emacs. I think binding the Right Alt key to Right Control key would help. I already tried using setxkbmap but it did not work.
I did this :
setxkbmap -...
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, ...
-1
votes
1
answer
2k
views
Opening emacs in terminal results in Gtk-WARNING
This warning is shown when I try to open emacs in terminal:
(emacs:5854): Gtk-WARNING **: Theme parsing error: gtk.css:2603:31: Missing name of pseudo-class
Why is this happening, and how can I fix ...