Questions tagged [gui]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
4 votes
1 answer
354 views

Why I can't fold (org-cycle) in non-GUI?

It seems using non-GUI is much much faster when working with very long org-files. However I can't org-cycle with TAB key. (See image below). What is happening? My best guess is: when TAB pressed ...
  • 287
1 vote
1 answer
71 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 ...
0 votes
1 answer
94 views

"inspect element" for GUI elements?

Is there a way to "inspect elements" for Emacs? e.g. In Firefox, I would open the developer tools, select this icon: Then pick an element on the page to get information on it. For an ...
  • 103
3 votes
1 answer
133 views

Change prompt style to minibuffer from GUI dialogs

Emacs by default does not ask if you are sure you want to exit Emacs, so I added this to my configuration to prompt me to answer yes or no before quitting Emacs. (setq confirm-kill-emacs 'y-or-n-p) ...
1 vote
0 answers
20 views

Mac OS and possibly other GUIs: Why is default "s-g" behaving differently from "C-s" in isearch-mode

I don't really want s-g to exit the Isearch minor mode but it does. The reason this is happening to me is unclear, because investigation of the binding of s-g reveals it is supposed to be a standard ...
  • 63
0 votes
0 answers
23 views

Keybinding causes only a cursor blink ('\C-t') and no command is executed

This article is about the keyboard key combination 'Control + t' (smallcase 't') This problem is exclusive to the GUI version and does not come up while using the terminal. I am using Wayland Control+...
0 votes
0 answers
78 views

Is there a library which can show a popup menu like company's menu?

So I give it a list of items and it shows the menu at point, handles up/down keys automatically, so it works like the company menu. I looked into company's code, but apparently it implements the menu ...
  • 1,088
0 votes
0 answers
62 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,710
1 vote
0 answers
433 views

Emacs slow when launching GUI

I have a weird problem. When I launch emacs GUI by double clicking the icon, or using open -a emacs in the terminal, or calling the application from alfred/spotlight it takes 4-8 seconds to launch. ...
  • 1,465
0 votes
1 answer
397 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
2 answers
840 views

Command to invoke menu-bar's open-file?

The traditional way of opening a file is via C-x C-f (find-file). I don't know since when this has been the case, but in Emacs 27.0.50 (Linux), using the menu bar's File -> Open File invokes the GTK ...
  • 111
14 votes
2 answers
30k views

How to start Emacs from the Terminal window as a GUI application (macOS)

I've installed Emacs via Homebrew. The version that got installed is 25.3.1. It was installed as the file whose full path is /usr/local/bin/emacs. When I execute emacs at a Terminal window, Emacs ...
  • 1,431
2 votes
1 answer
615 views

Use pkexec to run emacs in GUI mode with root privileges or any other way to do that

I've recently started learning to use Emacs. I do not want to run emacs using sudo emacs (lets not ask why), so I tried using pkexec to start emacs with root privileges. However, pkexec emacs starts ...
8 votes
1 answer
983 views

something changes the default face in my .emacs

Debian Sid, emacs25, cinnamon 3.2.7 In my ~/.emacs I have (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init ...
  • 564
6 votes
3 answers
3k views

resize Emacs (GUI) window to exactly half the screen?

When I maximize the Emacs frame, it uses the full width of the screen, no background showing. But if I e.g. snap-to-edge (in XFCE), it shows a little "margin" of background outside the frame. And if I ...
  • 1,085
10 votes
3 answers
5k views

Emacsclient: One single emacs process all the time from start up & never close & better hide GUI

Since emacsclient can handle long package loading time proerly, I really want to keep at least one emacs process, and most of the time only one emacs process, open as a background process and better ...
2 votes
0 answers
611 views

Native mac scrollbar in emacs?

Emacs comes with it's own solution for scrollbars(rather than using native macOS scrollbar) and honestly, I find them kinda intrusive and ugly. Can I somehow configure scrollbars to use native mac ...
1 vote
2 answers
1k views

Can Emacs 25 use the new macOS Sierra tab features?

Can Emacs 25 on macOS leverage the new tab features introduced in macOS Sierra (10.12)? If not, what is required for it to start supporting tabs?