Questions tagged [gui-emacs]

For questions about the GUI version of emacs, as opposed to the terminal version.

Filter by
Sorted by
Tagged with
2
votes
1answer
35 views

preview and edit side-by-side, maybe by syncronizing buffers?

Many major modes provide a function to switch between editing and preview rendering a file. I am specifically looking at ps-mode but an answer that applies to others would be nice. I can open the same ...
0
votes
1answer
32 views

How to avoid paste to system clipboard when use Emacs For Mac OS X?

When use Emacs For Mac OS X, copy a string from browser(E.g. B) then paste into it, it works. But if use ciw(vim mode) on a string(it's the same as copy a string inside the tool, E.g. A), then Ctrl + ...
0
votes
0answers
32 views

How to create shell aliases in Emacs [GUI] in Windows?

In Linux this can be done by something like: alias cdwww="cd /srv/www" In Windows there is an equivalent command called DOSKEY, used for example like this: doskey ls=dir $* The above works ...
0
votes
1answer
110 views

Emacs not being scaled properly?

I had to reinstall my OS but I made a backup of my .emacs.d. Then, once the new OS was installed, I copied it back and installed all the fonts. This time however, the scaling is really small! With the ...
2
votes
1answer
34 views

Disable 'beautification' of text when point is on same line in org

When writing org documents, some parts of the text (like links and figures) automatically get 'beautified' (I'm unsure what the technically correct term is), meaning that some surrounding text ...
0
votes
1answer
31 views

Restore privileged folder access for previously working Emacs.app on Catalina (NOT system upgrade)

This is similar to How to Restore File System Access in macOS Catalina but the problem is different. I did not upgrade my operating system, only the app, and none of the solutions there are valid ...
0
votes
0answers
290 views

WSL: emacs gui won't start

I'm on Windows 10 Pro 10.0.21337 (windows insider program) and installed WSL with Ubuntu 20.04. From within ubuntu I said apt-get update apt-get upgrade apt-get install emacs dpkg -l emacs -> ||/ ...
-1
votes
1answer
369 views

How to change the language of the menu on GUI version

how to change language of the menu? I go to Options > multilingual envi... > set language ...; but nothing happends.
1
vote
1answer
87 views

Ignore spurious focus events for after-focus-change-function

I'm on Emacs 27.1, Fedora 33, GNOME 3.38.2. In the latest NEWS it is reported that The hooks focus-in-hook and focus-out-hook are now obsolete. Instead, attach to after-focus-change-function using ...
0
votes
1answer
22 views

mouse click in margins to move point (gui macos) rather than error?

Currently, I have text modes configured with wide margins for readability with (defun text-margins () (setq left-margin-width 16) (setq right-margin-width 16)) (add-hook 'text-mode-hook 'text-...
0
votes
1answer
64 views

Blank menus with Athena / Lucid

I compiled Emacs 27.1 with --with-x-toolkit=lucid, now the menus are blank. I tried setting the colors in ~/.Xresources: Emacs.pane.menubar.background: black Emacs.pane.menubar.foreground: white Emacs....
14
votes
4answers
12k views

On Linux why should one choose Lucid over Gtk gui for emacs?

I run Ubuntu 16.04. On searching Ubuntu Software app for Emacs I am presented with two guis, Lucid and Gtk. Which one should I choose and why?
2
votes
0answers
228 views

emasc daemon does not load my init.el completely but emacs do

When I run emacs, everything is Ok, my init.el is read. However, after starting a daemon (emacs --daemon), an emacsclient GUI frame (emacsclient -c) is not configured for the following setting: font ...
0
votes
1answer
136 views

Why unicode 🂩 (poker card) can't be properly displayed in GUI but fine in TUI?

I'm having a hard time getting unicode to properly displayed in GUI. I'm trying to type poker cards unicode inside emacs GUI, 🂩 for instance. I would like to use font "Ubuntu Mono", NOT ...
0
votes
0answers
86 views

I need help for the Emacs in GUI in Macos catalina since it is opening only in terminal

I have macOS Catalina. I just installed emacs 27. version but it's only in the terminal not in a different display of its own (i think that is called GUI). Please suggest for GUI.
2
votes
0answers
88 views

Process sentinels don't run during init in GUI Emacs

Ok, this issue I'm running into seems pretty weird. I'm running an async process during init and I have set a process sentinel to tell me when it exits. This works fine in terminal Emacs but in GUI ...
0
votes
1answer
235 views

Long message showing up while opening emacs from command line in ubuntu 20.04

A long message appears every time I open emacs from the command line. I am currently using ubuntu 20.04. The message that appears every time, is shown at the end. It would be very helpful if someone ...
0
votes
1answer
98 views

Building Emacs from source doesn't generate a native application on macOS Catalina

I've been trying to build Emacs 28 from source on my MacBook Pro running macOS 10.15.5. I managed to get the feature/native-comp branch working, but I found it to be too unstable, so I deleted Emacs ...
0
votes
0answers
51 views

Emacs font has extra spaces between letters

I haven't used my emacs setup for a while and now when I open emacs it looks like this: The extra spacing between the letters does not disappear when I use emacs -q to load emacs without the config. ...
1
vote
1answer
509 views

Run Emacs in GUI mode without X over SSH

With Emacs 26.1 installed on a Linux RedHat flavour without X, I want to run Emacs GUI over an SSH connection with X11 forwarding and Xming server on client. Since there is no X on the machine, Emacs ...
0
votes
1answer
552 views

Retain system color scheme when running without GUI

I'm typically running emacs -nw: problem is that Emacs overrides terminal (bash) color scheme and uses it's own default one which is in some cases unreadable. I would like emacs to use default ...
1
vote
0answers
331 views

Activate doom mode line theme on non doom theme

I would like to use a non doom theme on Emacs but I like the doom mode line. The problem is if I use a non doom dark theme, say Charcoal-Black, and activate doom mode line, then doom mode line is ...
2
votes
0answers
215 views

Is it possible to override the column width in Emacs?

I'm using graphical GNU Emacs 26.3 on Windows. At least on Windows, Emacs determines column width by looking at the AveCharWidth field in the font's OS/2 table. As the name suggests, this field ...
5
votes
1answer
4k views

GUI Emacs sets the exec-path only from Windows environment variable but not from .emacs file

I use Emacs 25.1 on my Windows XP laptop both as a command-line app (on ConEmu terminal emulator with MSYS bash as the shell) and as the GUI Emacs. I mainly use Emacs to test and compile programs, so ...
0
votes
0answers
42 views

Show a prompt dialog with a timeout

As expected, the following dialog box expires after five seconds under Linux: (progn (setq last-nonmenu-event nil) (y-or-n-p-with-timeout "Proceed? " 5 nil)) However, it lasts forever under ...
1
vote
0answers
83 views

How can I stop Emacs from grabbing focus at startup?

I typically start GUI Emacs on macOS, https://bitbucket.org/mituharu/emacs-mac/overview, installed via Nix package manager, as part of a larger startup script on the terminal (iterm). While Emacs is ...
1
vote
0answers
50 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 ...
0
votes
0answers
161 views

Segmentation fault when creating new frames

I am reproducibly experiencing segmentation faults on Emacs 26.3 under Debian Buster when creating a new frame, which seems to be related to setting fonts for new frames. In order to illustrate I ...
3
votes
2answers
227 views

How to scroll immediately by a pixel offset?

I was looking for a replacement to scroll-up / scroll-down that operates in pixel units. pixel-scroll-mode animates the scroll, I didn't see any functions that apply an offset directly. set-window-...
6
votes
1answer
2k views

How to customize emacs toolbar?

Let say I want to add a Toolbar icon to emacs which when clicked should "Select all" text in the current window. We know for selecting text we can use M-x mark-whole-buffer. How can I use this ...
1
vote
2answers
388 views

Stop GNU Emacs (GUI) on macOS from quitting

Is it possible to stop Emacs on macOS from quitting? This may sound like a weird request, but numerous times I may accidentally quit Emacs and the whole GUI app exits -- which means I then have to ...
0
votes
1answer
314 views

Weird behavior: GUI won't start, but terminal emacs will

As I said in the title, I'm having a problem with starting Emacs, whenever I try to start it with rofi, nothing happens, and when I try and start with terminal (using emacs), it returns "Args out of ...
1
vote
1answer
326 views

Emacs crashes on resize every time starting under X11/GTK3

I just built emacs with X11 support on Debian, but every time I start it, the window pops up and works just fine until I resize the window, at which point it crashes. user@host:~/emacs-26.1$ ./src/...
0
votes
1answer
743 views

How can I tell if emacs was built with X support?

Is there a variable like system-configuration-options that will provide the computed features of the running emacs? Specifically, I'm looking for X support (--with-x=yes|no). Ultimately I'm trying ...
3
votes
1answer
995 views

How to make everything except the text transparent?

How to make everything except the text transparent?
1
vote
0answers
357 views

How to use multiple frame (C-x 5 2) within only one (system's) window in GUI Emacs?

In console version of Emacs (emacs -nw), I can create frame with C-x 5 2 and use C-x 5 o to switch between them. This concept is just like "workspace" in Linux desktop, or "Mission Constrol" in macOS. ...
4
votes
1answer
1k views

Disable all GUI popups and tooltips

Can I disable this kind of a popup? I couldn't find anything besides (setq x-gtk-use-system-tooltips nil), but it didin't help me unfortunately.
1
vote
2answers
638 views

How can I view accent characters natively?

In GUI emacs 25.3.1, I have a text file with octal character codes for accents. For example I have many \212 characters which are really Š characters. If I replace-string the occurrences, it shows ...
2
votes
0answers
81 views

Launching GUI emacslient destroys terminal frame resizing capabilities

Whenever I launch a GUI session as $ emacsclient -c all the emacsclient sessions I've created with $ emacsclient -nw -c lose several settings. The problem only occurs right after launching a GUI ...
0
votes
0answers
84 views

What is this mini pop-up box and how do I get rid of it?

I don't know what combination of keys I pressed to bring up this mini-box, but it's annoying me. What is it and how do I get rid of it? EDIT: It pops up when I press C-S-u
0
votes
0answers
39 views

Dired dead long - GUI Emacs Windows

As suggested in the title, I use a GUI version of Emacs (25.3) on Windows. To be precise : Emacs 25.3.1 X86_64-w64-mingw32 Things were working perfectly but for a few days, some actions related to ...
0
votes
2answers
1k views

How to check if my emacsclient is running in a GUI window?

Emacs version: 25.3.50.2 I'm using Fira Code font whose ligatures are now supported by Emacs. To solve this, I used this solution (I think it's not important, just to inform you), say, replacing the ...
2
votes
2answers
2k views

Fish shell looks weird in spacemacs

Any other shell besides eshell and shell in Spacemacs with Emacs v25.1.1 (GUI version) looks like this: To compare, the terminal in iTerm looks like this: The font that I use in my terminal is ...
2
votes
0answers
100 views

Resize windows line by line, not pixel by pixel

Is it possible enforce that Emacs changes the window size line by line, not by some count of pixels, to eliminate the situation when I see a half-line on the screen? I mean window in Emacs sense (...
4
votes
1answer
797 views

How to make GUI Emacs use all available space when running maximized on linux?

GUI Emacs running maximized on my Linux (centos7+kde) is not using all the available space leaving some space around the borders, specially at the top and the bottom. Sample of GUI emacs running "...
2
votes
0answers
233 views

How does one set input-decode-map on GUI frames in emacsclient?

I'm trying to adjust bindings in input-decode-map (to distinguish C-m and RET in GUI mode). None of the advice given on Stack Overflow, gnu.emacs.help, Reddit, or Super User seems to work. I ended ...
1
vote
0answers
525 views

"<t> is undefined" error on first keypress

So here's a pretty weird issue. Sometimes, when I start my emacs and press a key combination, the message <t> is undefined` gets printed in the echo area, and I need to press the key combo again....
1
vote
0answers
242 views

Monospaced font not lining up

On the 2016 MacBook Pro, monospaced fonts are not lining up. It happens to just some buffers and can only be fixed by changing the default font size then changing it back. My font setting is: '(...
1
vote
1answer
46 views

Key strokes doesn't work for frames created from terminal on Mac OS

Compiled emacs25.1 from source on MacOS. Emacs works fine when opened by click the icon. But when open it from terminal by emacs or emacsclient -a. All the key stokes is responded in terminal ...
0
votes
2answers
1k views

How to use OSX command line GUI emacs as git $EDITOR

I have a script to launch OSX GUI emacs from command line at: /usr/local/bin/emacs The script looks like: #!/bin/sh $(/Applications/Emacs.app/Contents/MacOS/Emacs --chdir $PWD "$@") & I have ...