Skip to main content

Questions tagged [gui-emacs]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
122 views

Admonitions blocks in org mode

I would like to have admonition blocks in my org-mod document which have aesthetic styling and folding similar to Logseq (Screenshot below). I would like to have these visible right within emacs not ...
Gangula's user avatar
  • 343
1 vote
1 answer
228 views

Icons not being rendered properly in Windows Emacs installation

I have installed GNU Emacs 29.3 recently and I'm trying to setup a custom config. But I have been noticing that some of the icons are not being rendered properly in the Emacs UI. Below is a screenshot ...
Gangula's user avatar
  • 343
1 vote
1 answer
357 views

How do I start non-GUI Emacs on the commandline?

How do I start non-GUI Emacs on the commandline? emacs-no-x11 doesn't seem to be in recent Emacs versions.
Geremia's user avatar
  • 171
0 votes
1 answer
31 views

How can I prevent graphical dialog that says the file has changed since visited or saved?

I don't want the graphical popup, but I'm ok with a mode-line question. Is there any way to disable these graphical popups forever?;)
Jason Hunter's user avatar
0 votes
1 answer
157 views

Where is pixel-scroll-precision-use-momentum described in more detail?

Precision scrolling in Emacs 29 introduces several variables to control the momentum effect while scrolling. Are these terms defined anywhere in more detail, possibly by using a formula or two to ...
StackExchanger's user avatar
0 votes
0 answers
201 views

Erratic font behavior after upgrading from 27.1 to 29.1 related to --no-x-resources

After upgrading Emacs from 27.1 to 29.1 yesterday (both compiled from source without configure settings except for --prefix) I am seeing erratic behavior of the fonts. The issue vanishes, when I start ...
kdb's user avatar
  • 1,591
4 votes
2 answers
1k views

pixel-scroll-precision-mode has no effect

I've just updated to Emacs 29, but running (pixel-scroll-precision-mode 1), even with emacs -Q, doesn't have any visible effect for me. (default-value 'pixel-scroll-precision-mode) evaluates to t but ...
wohanley's user avatar
  • 153
2 votes
1 answer
309 views

How can I detect whether I'm running on a graphical system within early-init.el?

I use GNU Emacs (28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13) on Windows mostly, so I have set some modes in my early-init.el to prevent annoying flickering: (tool-bar-mode -1) ; Setting these ...
Zeta's user avatar
  • 1,113
0 votes
1 answer
134 views

How can I remove extra gray line at left and right margin in Emacs GUI app? [duplicate]

In macOS Monterey I am using Emacs inside iTerm2 and also Emacs.app (as gui). In the Emacs.app itself there is extra space before each line. That is actually caused by a gray line in the margin. => ...
alper's user avatar
  • 1,460
0 votes
2 answers
68 views

Emacs vocabulary: Is there a name describing what is shown when I choose an Emacs-frame-tab?

After executing the Emacs binary I see on a screen (what in common sense is called a window) an Emacs-frame. An Emacs-frame has the [-] [+] [x] icons in the title bar, a menu, a toolbar, a status-bar ...
oOosys's user avatar
  • 505
0 votes
1 answer
260 views

Using the push function to append a list to the default-frame-alist variable

I've noticed some people use this to disable the menu bar in the GUI: (push '(menu-bar-lines . 0) default-frame-alist) and some people use this: (menu-bar-mode -1) Both achieve the same. The first ...
Zoli's user avatar
  • 491
0 votes
0 answers
101 views

`C-x C-;` freezes emacs

This hasn't been happening every time, though once it starts it's consistent while emacs is running at least. It claims to be bound to comment-line as usual, but I can't actually run it through C-h k ...
Lēctia Landau's user avatar
0 votes
1 answer
241 views

How to control inter-paragraph spacing in org-mode?

After reading Org Mode Syntax, my understanding is that blank lines in the content section under a heading are used syntactically to separate paragraphs and that each blank line "belongs" to ...
StackExchanger's user avatar
1 vote
1 answer
103 views

how to copy top header line (`header-line-format`) under X

I have a header-line that displays currently opened file name on top of the buffer window. I can't find a way to copy the text/file name from that header-line if emacs runs under X/gui (selecting with ...
pawciobiel's user avatar
1 vote
0 answers
83 views

How to start tide server in Emacs For Mac OS X?

In the .spacemacs file, typescript configuration layer is dotspacemacs-configuration-layers '( ┆(typescript :variables ┆ ┆ ┆ ┆javascript-backend 'tide ┆ ┆ ┆ ┆typescript-fmt-tool '...
Alpin Cleopatra's user avatar
0 votes
0 answers
46 views

macOS 11.6.3: Emacs acts like control, meta keys are sticking; how to diagnose?

I'm a longtime GNU Emacs and macOS (and GNU Emacs on macOS) user, on a US Gov't owned MacBook Pro (16-inch, 2019) running macOS 11.6.3. For the last few weeks, GUI versions of Emacs are acting as if ...
Chuck Fry's user avatar
  • 101
1 vote
2 answers
363 views

Can the menubar and scrollbar be customized?

In GTK versions of Emacs (or more generally any GUI version of Emacs), can the scrollbar and menubar colors be customized? I can probably change the look of ALL my GTK applications, but when running ...
Arne's user avatar
  • 419
2 votes
1 answer
197 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 ...
memtha's user avatar
  • 137
0 votes
1 answer
131 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 + ...
Miantian's user avatar
  • 105
0 votes
0 answers
181 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 ...
W.M.'s user avatar
  • 113
3 votes
1 answer
200 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 ...
n0542344's user avatar
  • 185
0 votes
1 answer
116 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 ...
nate's user avatar
  • 73
0 votes
1 answer
530 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 ...
scribe's user avatar
  • 1,090
1 vote
1 answer
2k 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 -> ||/ ...
user829755's user avatar
1 vote
1 answer
245 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 ...
Arch Stanton's user avatar
  • 1,777
0 votes
1 answer
40 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-...
Paul Gowder's user avatar
0 votes
1 answer
141 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....
tastytea's user avatar
  • 105
4 votes
0 answers
2k views

Emacs daemon does not load my init.el completely but plain emacs does

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 ...
ali b's user avatar
  • 203
0 votes
1 answer
358 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 ...
TerryTsao's user avatar
  • 1,236
0 votes
0 answers
205 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.
Rakesh Kumar's user avatar
2 votes
0 answers
142 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 ...
PythonNut's user avatar
  • 10.5k
0 votes
1 answer
290 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 ...
Arnab Majumdar's user avatar
0 votes
1 answer
226 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 ...
Ashton Wiersdorf's user avatar
0 votes
0 answers
136 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. ...
Hantabaru's user avatar
1 vote
1 answer
2k 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 ...
user2965433's user avatar
1 vote
0 answers
634 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 ...
mle0312's user avatar
  • 295
2 votes
0 answers
568 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 ...
niconii's user avatar
  • 29
0 votes
0 answers
73 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 ...
antonio's user avatar
  • 1,832
1 vote
0 answers
201 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 ...
Joe's user avatar
  • 571
1 vote
0 answers
75 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 ...
NOP's user avatar
  • 111
0 votes
0 answers
206 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 ...
andreas-h's user avatar
  • 1,569
4 votes
2 answers
394 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-...
ideasman42's user avatar
  • 9,157
0 votes
1 answer
549 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 ...
Lucas Liseth's user avatar
0 votes
2 answers
1k 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.
user avatar
1 vote
1 answer
495 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/...
Sean Allred's user avatar
  • 7,051
1 vote
1 answer
2k 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 ...
Sean Allred's user avatar
  • 7,051
4 votes
1 answer
2k views

How to make everything except the text transparent?

How to make everything except the text transparent?
HappyFace's user avatar
  • 920
0 votes
1 answer
747 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 ...
miro2's user avatar
  • 1
5 votes
1 answer
2k 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.
valignatev's user avatar
1 vote
2 answers
1k 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 ...
WilliamKF's user avatar
  • 393