Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.

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
2answers
1k views

Emacs doesn't open a new frame

Emacs does not start in a new frame. If I'm in a terminal running Bash and enter $>emacs the editor is opened inside this terminal, and produces exactly the same behavior as $>emacs -nw. I have ...
1
vote
1answer
273 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 ...
1
vote
1answer
124 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
1answer
36 views

xclip-mode returns “Unknown upattern” and does not work

The command M-x xclip-mode returns the following info in *Messages*: Eager macro-expansion failure: (error "Unknown upattern `(quote pbpaste)'") [2 times] Xclip mode enabled I cannot yank text from ...
1
vote
1answer
66 views

Problem with file-exists-p function on Linux running as VirtualBox guest

Until this morning, my emacs setup (running on Arch Linux as a VirtualBox guest) was working absolutely fine. Then for no obvious reason I started experiencing the following issue: If I opened an ...
1
vote
1answer
85 views

Dired: File open using external viewers, based on filetype, and without prompting

When I hit RETURN on a filename in Dired, I'd like Emacs to automatically do one of several things, depending on the file's type: 1 - If it's a text file, I'd like to open the file in a new buffer in ...
1
vote
1answer
101 views

What does emacs want for non-ASCII keys

Under Debian-Jessie, Emacs recognizes qualified special keys, e.g. C-<home>, in an X terminal (e.g. mate-terminal) but in TTY it does not. I have corrected this by making a replacement keymap, ...
1
vote
1answer
478 views

Second meta key

On my keyboard layout, pressing some key combinations (like M-c as C is where R is on the American keyboard layout) can be quite tricky. This is why I want Alt Gr or the context menu key to be a meta ...
1
vote
1answer
171 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 ...
1
vote
1answer
453 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
0answers
30 views

emacs: Work out which monitor is the primary one

Is there a way to programatically work out which display is considered the "primary" display for X within emacs? I've managed to get a function working that determines if the machine has more than ...
1
vote
1answer
81 views

Does Emacs 26.3 require older version of ImageMagick?

I've just upograded Ubuntu 19.04, which installs imagemagick 7. When trying to start my Emacs install, I see the following error: emacs: error while loading shared libraries: libMagickWand-6.Q16.so.3:...
1
vote
1answer
104 views

Labelling LaTeX sub-equations in org-mode

How to achieve subequation numbering a,b,etc like https://en.wikibooks.org/wiki/LaTeX/Advanced_Mathematics#Subordinate_equation_numbering in org-mode. I tried using the LaTeX snippet as it is and ...
1
vote
0answers
71 views

Problem saving (C-x C-s) files on a NFS drive with emacs 24/25

Starting with Emacs 24 (using various different versions of Ubuntu and Linux Mint), if I open a file on an NFS drive, modify it and attempt to save it C-x C-s, I get the message of: Saving <...
1
vote
0answers
65 views

Adjusting to screen resolution changes on GNU/Linux/ubuntu/gnome

I'm running emacs 26.1 on ubuntu 18.04 on a Dell laptop with a high-resolution display. It works very well in that configuration. It also works very well when the laptop is plugged into a lower-...
1
vote
0answers
255 views

emacs 25.3 not rendering correctly, especially after resize

The problem is when emacs starts, the right 1/4 of the window doesn't repaint and shows whatever window was behind it. Also on resize, sometimes the font and the cursor get way too big and the ...
1
vote
0answers
386 views

From Org code block on *nix run (Power-)Shell (scripts) on MS Windows via SSH

To better integrate my Windows DevOps into Emacs Org-mode, I'd like to use my local emacs as an IDE for a remote Powershell. SSH was easily setup, from Linux shell ssh I can successfully login to a ...
1
vote
0answers
44 views

(To file an emacs bug report) are there services out there that let's me ssh to a clean GNU Linux machine

I want to file a bug report about emacs. From what I learnt, bug reports relating to GNU/Linux are given precedence over more exotic OS's like MacOS. I can spin up an ubuntu instance in 10 seconds ...
1
vote
0answers
35 views

How to set eshell's ls command to different program in different OS?

Since result of /usr/bin/ls is more neat compares with eshell/ls when filenames contain non-lattin Unicodes. I add an alias in ~/.emacs.d/eshell/alias, which makes eshell use /usr/bin/ls as default: ...
1
vote
0answers
105 views

small font for programming wanted [closed]

I have a low-res screen (1366x768) and therefore are searching for a small font which is clearly readable. Till now I used this font: -misc-fixed-medium-r-normal--8-80-75-75-c-50-iso10646-1 I had ...
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?...
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 ...
0
votes
1answer
395 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 (...
0
votes
1answer
31 views

Newbie to emacs. need help

Are there any good resources that anyone can suggest. I rate myself 3 out of 10 when it comes to using editors like vim
0
votes
1answer
27 views

macro execution with i-search fails under Linux and succeeds under windows?

Imagine you've got file with FirstName|LastName| like this : John|toto| Hanz|titi| and want to put the first names at the end of the lines (just an stupid exemple). You may use Macro Recordind for ...
0
votes
2answers
121 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 ...
0
votes
1answer
131 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
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 ...
0
votes
0answers
28 views

best way to access running org-mode clock from command line / python

I use py3status to output data from org-mode to the Sway status bar on my Debian laptop. I had a rather hacky script running fine on a previous version of emacs, parsing the output of something like ...
0
votes
0answers
33 views

Can emacs on Mac using native window system connect to an emacs server on a Linux system

At this point I believe I am using the emacs version on my Mac that is built by Homebrew and the "stock" emacs on Ubuntu 18.04. I set up emacs server on the Ubuntu host as it is described in Starting ...
0
votes
0answers
39 views

Emacs stops displaying typing until focus moved out of and then back into editor window

I'm currently running RHEL 7.6 and whatever version of emacs comes with it (I don't have access to my system at the moment so can't provide the version number). Sometime in the last 2 weeks my sys ...
0
votes
1answer
202 views

Setting up Emacs/AUCTeX viewer

I have installed AUCTeX, it compiled a test file OK, but I can't view the output. I get " Cannot get Evince viewer ...". Xviewer, should be the analogue in my distro, I think (I have not way to check ...
0
votes
0answers
60 views

how to debug who move cursor

I have very annoying problem, after I run M-x compile time to time cursor jump from middle of buffer to the first line. I want to find out culprit (I found mode who responsible for this, but I want ...
0
votes
0answers
1k views

How I can download the latest version of Emacs on Linux Mint 18.1?

Linux Mint 18.1 (64 bit). I install Emacs by Software Manager. It download Emacs version 24.5. But the latest version is 25.1. How I can download the latest version?
0
votes
0answers
139 views

flyspell & hunspell: 'flyspell-buffer' is not marking words … sometimes

I try to get flyspell working with hunspell on Linux with German de_DE_frami dictionary from LibreOffice Extensions. The setup works ... more or less. (English dictionarys work perfectly fine.) But ...
0
votes
1answer
177 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 " ...