Stack Exchange Network

Stack Exchange network consists of 175 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 [linux]

for Emacs and GNU/Linux operating system-specific issues about compiling, installing, configuring, running, editing, and debugging.

17
votes
3answers
4k views

Magit, how to use system's ssh agent and don't ask for password

I've googled and read the FAQ and Wiki for Magit, but still unable to figure this out, all I find are answers about Windows... How can I configure Magit to use my running ssh-agent session and don't ...
7
votes
3answers
375 views

Emacs can't save history of recent visited files opened in current session before shutdown

I have a problem with emacs started as daemon using Systemd. Every shutdown/reboot if I don't stop emacs daemon service manually, the history of recent opened files in current session is lost. I ...
1
vote
1answer
344 views

UNIX config files, load conf-unix-mode

I work a lot with unix config files (i.e the files in /etc in the various linux system) that have no extension. How can I set-up my .emacs file to load conf-unix-mode on those files?
2
votes
1answer
137 views

How to make the init file compatible with X and console at the same time?

I have customized the .emacs file a little to suit my taste, and it works fine when run in its own window. But when I try to run it in my terminal using the command emacs -nw, it throws up the ...
4
votes
0answers
490 views

Emacs frame disappearing

I have an odd intermittent problem with Emacs disappearing from view. I haven't quite figured out the trigger for this. It doesn't happen often and I can't reproduce it on purpose. Sometimes it ...
19
votes
4answers
1k views

How to set emacs as the default file manager?

Some programs like firefox have buttons that when clicked open a file manager for browsing files. How do I make it to open in emacs with dired mode on Debian Linux?
2
votes
0answers
38 views

Pasting unicode from external applications with mouse wheel on Unix

On upgrade from Emacs 24.3.1 to Emacs 25.0.50 pasting unicode from external applications with mouse wheel appears broken. I start emacs -Q and select e.g. title of https://en.wikipedia.org/wiki/...
6
votes
4answers
1k views

Emacs cursor color is different in daemon and non-daemon modes

There's some weird stuff I encounter when running Emacs under KDE. Here's how it looks when I run it normally, via the emacs command: If I run it as a daemon, here's what I see: And if I run ...
26
votes
4answers
16k views

Prebuilt Ubuntu Emacs “25.1”

Where can I find pre-built Emacs for what Ubuntu calls emacs 25.1?
2
votes
1answer
202 views

Weird message when trying to upgrade all packages

From a previous question of mine, I've included the following function in my .emacs to quickly update all installed packages: (defun endless/upgrade () "Upgrade all packages, no questions asked." ...
2
votes
2answers
232 views

Does your project use Elisp for build automation?

I'm building a new appliance, linking BusyBox with Tor on top of a minimal GNU/Linux operating system. I'd like to try something different for the automated build infrastructure with this one and ...
7
votes
1answer
5k views

installing emacs: which x-toolkit?

I am installing Emacs 24.5.0, and I want to install it with X. I am on Fedora. the configuration script cannot find any x-toolkit. How do I find out which one is good for me, and in which folder do I ...
3
votes
2answers
160 views

Frame position change using elisp not sticking

Issue I am able to change the frame position using set-frame-position. But the moment I use a function which uses read-from-minibuffer, the frame restores its position to where it was set using the ...
0
votes
2answers
2k views

Configuring yasnippet and autocomplete to work with C/C++ headers

My computer system and set up are OS: Arch Linux 64bit emacs version: 24.4 alias emacs='emacsclient -t -s server --alternate-editor=' Update: auto complete is working with yasnippet occasionally ...
1
vote
0answers
841 views

Wrong letter spacing when using certain fonts

I'm using Classic Console font in buffers. Unfortunately for some reason letter spacing is terrible in Emacs while being correct in Konsole and other programs. Text in Emacs: Text in Konsole (using ...
2
votes
0answers
133 views

Appt desktop notification system for org-mode? [duplicate]

I'm on Linux and I've been trying to set up a reliable notification system. E.g I have a task like this: * TODO submit weekly report SCHEDULED: <2014-03-04 WED 16:30> I would like a ...
2
votes
2answers
2k views

Why does Emacs swap Backspace and Delete on this one machine?

One of my key bindings is not working on one particular machine and I don't understand why. On Ubuntu 14.04, with the emacs24 package version 24.3+1-2ubuntu1, I start emacs -Q (under X) and run (...
1
vote
1answer
121 views

How to fix browse-url-firefox for firefox 36.0 in linux?

Firefox 36.0 doesn't have -remote option, which is used in the function browse-url-firefox for system-type gnu/linux by default. How to conveniently bypass this issue?
2
votes
2answers
110 views

crypto-newbie: how to securely sign outgoing email with `smtpmail` (or simplest alternative)?

I'm running $ cat /etc/debian_version jessie/sid $ uname -rv 3.11-2-amd64 #1 SMP Debian 3.11.8-1 (2013-11-13) $ gcc --version | head -n 1 gcc (Debian 4.8.2-1) 4.8.2 $ emacs --version | head -n 1 GNU ...
1
vote
0answers
152 views

ESS major modes keybindings do not work

I am connecting from a Windows machine to a Linux server via Putty (http://blog.harang.org/?tag=putty). There I start Emacs and open a script written in the statistical language R. When I open the ...
5
votes
2answers
2k views

how to set environment variables={EDITOR, VISUAL} to prefer running emacs?

my usecase I'm currently running GNU Emacs version=24.3.1 graphically (i.e., under GNOME/X though started from a script invoked from a gnome-terminal running bash) on a Debian Linux. Just now I was ...
2
votes
1answer
223 views

Map a key to act like a combination of modifiers

I've got a keyboard, where pressing M-C-S is uncomfortable (Meta and control are under the thumbs and Shift is on the far end of the keyboard). However, PageUp, PageDown, Home and End are in a very ...
3
votes
3answers
753 views

Open buffer in a specified frame

Do frames in emacs have a handle the way buffers do? In particular, can I specify that a particular file should be opened in a specified frame? I would like to have two frames where I use one for ...
14
votes
4answers
2k views

Use Super in emacs -nw in linux

I have been struggling to find a simple and direct question to the answer and therefore I have decided to ask here. Q: Is there a way to use Super in Emacs launched in a Terminal in Linux? P.S: I ...
6
votes
1answer
305 views

Has anyone else encountered gui-get-selection: (error “Timed out…”) bug?

When trying to paste into Emacs from my Linux system GUI, I'm getting a 10-15 second Emacs freeze and: gui-get-selection: (error "Timed out waiting for reply from selection owner") I would post a ...
4
votes
1answer
451 views

Terminal warning when starting emacs

If I start emacs from the terminal, emacs will start up with a warning on the terminal: Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct I tried ...
0
votes
1answer
173 views

Pulseaudio and `shell-command` calls in Emacs

I'm trying to execute shell-commands in emacs which play sounds or otherwise involve audio output, but I'm not having much luck. When I execute: (shell-command (concat "espeak -v mb-en1 -k5 -s150 " ...
11
votes
4answers
1k views

Problem “<dead-acute> is undefined” appearing when typing Greek stress ( ' )

I started using Emacs and I wrote a text in Greek. The problem is that the stress that is used upon some letters (ό, ύ, ί, ύ) doesn't work! It is usually inserted by pressing the ; (I mean by ...
25
votes
5answers
34k views

How can I set default font in Emacs?

I can't set Inconsolata as default font in Emacs 24.4 Linux. I changed the font in the menu -> Save options. The font changed but after a restart the font is the same as it was by default. Added ...
14
votes
2answers
11k views

How to toggle fullscreen in Emacs GUI mode (`Full Screen` option is greyed out in Kubuntu)?

This is such a basic question but I am really at a loss (a google search only revealed solutions for OS X). Until recently, I primarily used terminal mode (which I can make full-screen using my ...