Questions tagged [linux]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
44 views

mode-line-inactive after system window loses focus

When a system/X11 window (frame) with Emacs loses focus, how can I make its mode line become mode-line-inactive? It stays active, keeping the standard mode-line look/face… Shouldn’t it be the default?...
5
votes
0answers
848 views

Selecting correct font weight variant (Linux)

Here's a minimal example that does something on Linux (Ubuntu 16.04) that doesn't seem right to me: M-: (set-frame-font "Ubuntu") M-x describe-font <RET> The first couple of lines that Emacs ...
19
votes
3answers
5k 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 ...
1
vote
1answer
433 views

How to toggle input methods with just ctrl-shift?

I would like to toggle input method in emacs with OS key binding, i.e. ctrl-shift, so it behaves like a normal desktop application. In other words I want to rebind C-\ to just C-S without any extra ...
1
vote
1answer
167 views

redraw-display when focused

I am using Emacs 25 in SUSE linux and when I switch to a workspace where Emacs is the front window almost none of the text is visible. I have to call redraw-display in order to get it refresh the ...
0
votes
2answers
118 views

What's the lighest version of emacs for Ostro x86_64-unknown-linux-gnu?

Using Ostro on #IntelMaker #Joule, I've downloaded the earliest version of emacs available from https://ftp.gnu.org/pub/gnu/emacs/, and tried running configure, but it failed with a message that emacs ...
3
votes
2answers
315 views

How to generate list of hex numbers?

I am using emacs with org mode. Question 1: I want to number a column in a table in hex. E.g. | 0x00 | xyz | .. | | 0x01 | abc | .. | I want to auto generate first column. Any ideas how to do this ...
3
votes
0answers
281 views

Misc-Fixed fonts and font height

I use the Misc-Fixed fonts because I enjoy non-antialiased fonts. They are designed per height, and tolerate shrinking badly. For instance, in the following example, the default font is set to 9x15 ...
10
votes
2answers
728 views

Possible to “detach” a child process?

I use browse-url/browse-url-firefox to open links in Firefox from within Emacs 24.5.1 under Linux (Fedora 23) which in essence executes the firefox executable with the URL by start-process. If there ...
1
vote
1answer
268 views

How to use the same pdf-tools install on OSX and Linux simultaneously?

Q: how can I get pdf-tools to work simultaneously on OSX and Linux? I keep my .emacs.d directory synced over Dropbox, and share it between machines running OSX and Linux (Fedora and Ubuntu). I got ...
0
votes
1answer
127 views

emacs interface to ubuntu package management (apt, dpkg)

Is there an emacs library for managing packages on Ubuntu, ie an emacs based alternative to synaptic and aptitude? Presumably this would be an elisp wrapper around apt, dpkg and friends and look ...
0
votes
1answer
384 views

How can I run GUI emacs (using a shortcut) in a very light xmonad installation?

I am trying to launch Emacs through a keyboard shortcut on my Debian/xmonad system. Relevant lines from my xmonad.hs: ~$ cat .xmonad/xmonad.hs import XMonad ... main = xmonad =<< xmobar (...
2
votes
1answer
121 views

Make emacs aware of updates to files and directories?

In Ubuntu, when I make change to directories or files outside emacs, it seems that emacs doesn't get the update. For example, C-x C-f can't track the current directory which was just moved elsewhere ...
4
votes
1answer
382 views

how to tell graphical Emacs to shutdown cleanly from tty1?

problem Lately I run GNU Emacs mostly as GUI on X/tty7 (which I'll call "the desktop" as opposed to emacs-desktop) on one of my Debian laptops. Occasionally the desktop hangs, in which case I usually ...
4
votes
0answers
519 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 ...
11
votes
4answers
2k 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 ...
3
votes
2answers
165 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 ...
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 ...
1
vote
1answer
368 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
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/...
7
votes
1answer
6k 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 ...
2
votes
1answer
207 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
235 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 ...
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 ...
2
votes
2answers
113 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 ...
2
votes
0answers
182 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 (...
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 ...
1
vote
1answer
123 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?
1
vote
0answers
157 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 ...
6
votes
1answer
322 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 ...
3
votes
3answers
809 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 ...
4
votes
1answer
465 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
175 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 " ...